[SR-1124] Drop FileCheck from test/1_stdlib, use StdlibUnittest instead
#43,737 创建于 2016年4月1日
描述
| Previous ID | SR-1124 |
| Radar | None |
| Original Reporter | @modocache |
| Type | Improvement |
| Votes | 0 |
| Component/s | Standard Library |
| Labels | Improvement, StarterBug, Test |
| Assignee | None |
| Priority | Medium |
md5: 5245d992633498d3acacd3655548dd7c
Issue Description:
Swift's test/1_stdlib directory is meant to include tests for the Swift stdlib. Most of these are written using the testing framework designed for this purpose, StdlibUnittest. However, some use an ad-hoc system of printing strings to stdout, then checking the output via FileCheck.
The following tests should be written using StdlibUnittest (and no longer reference FileCheck):
-
test/1_stdlib/ArrayBridge.swift
-
test/1_stdlib/BitwiseOperationsType.swift
-
test/1_stdlib/BridgeNonVerbatim.swift
-
test/1_stdlib/Bridgeable.swift
-
test/1_stdlib/CGGeometry.swift
-
test/1_stdlib/Collection.swift
-
test/1_stdlib/CollectionOfOne.swift
-
test/1_stdlib/Float.swift
-
test/1_stdlib/FloatingPointIR.swift
-
test/1_stdlib/HeapBuffer.swift
-
test/1_stdlib/ImplicitlyUnwrappedOptional.swift
-
test/1_stdlib/KVO.swift
-
test/1_stdlib/LogicValue.swift
-
test/1_stdlib/Map.swift
-
test/1_stdlib/NSObject.swift
-
test/1_stdlib/NSUndoManager.swift
-
test/1_stdlib/NewArray.swift.gyb
-
test/1_stdlib/NewString.swift
-
test/1_stdlib/NewStringAppending.swift
-
test/1_stdlib/Nil.swift
-
test/1_stdlib/Reflection.swift
-
test/1_stdlib/Reflection_jit.swift
-
test/1_stdlib/Reflection_objc.swift
-
test/1_stdlib/SegmentAlignment.c
-
test/1_stdlib/SpriteKit.swift
-
test/1_stdlib/StringReallocation.swift
-
test/1_stdlib/TypeName.swift
-
test/1_stdlib/UIKit.swift
-
test/1_stdlib/UIViewControllerAdditions.swift
-
test/1_stdlib/VarArgs.swift
-
test/1_stdlib/Zip.swift
-
test/1_stdlib/alloc_rounding.swift
-
test/1_stdlib/integer_conversions.swift
-
test/1_stdlib/sort_integers.swift
-
test/1_stdlib/subString.swift