File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 26
26
import SwiftXCTest
27
27
#endif
28
28
29
- class ErrorHandling : XCTestCase {
29
+ class ErrorHandling : XCTestCase , XCTestCaseType {
30
30
var allTests : [ ( String , ( ) throws -> ( ) ) ] {
31
31
return [
32
32
// Tests for XCTAssertThrowsError
Original file line number Diff line number Diff line change 21
21
import SwiftXCTest
22
22
#endif
23
23
24
- class PassingTestCase : XCTestCase {
24
+ class PassingTestCase : XCTestCase , XCTestCaseType {
25
25
var allTests : [ ( String , ( ) throws -> ( ) ) ] {
26
26
return [
27
27
( " test_passes " , test_passes) ,
@@ -33,7 +33,7 @@ class PassingTestCase: XCTestCase {
33
33
}
34
34
}
35
35
36
- class FailingTestCase : XCTestCase {
36
+ class FailingTestCase : XCTestCase , XCTestCaseType {
37
37
var allTests : [ ( String , ( ) throws -> ( ) ) ] {
38
38
return [
39
39
( " test_passes " , test_passes) ,
Original file line number Diff line number Diff line change 21
21
#endif
22
22
23
23
// Regression test for https://github.com/apple/swift-corelibs-xctest/pull/7
24
- class NegativeAccuracyTestCase : XCTestCase {
24
+ class NegativeAccuracyTestCase : XCTestCase , XCTestCaseType {
25
25
var allTests : [ ( String , ( ) throws -> ( ) ) ] {
26
26
return [
27
27
( " test_equalWithAccuracy_passes " , test_equalWithAccuracy_passes) ,
Original file line number Diff line number Diff line change 15
15
import SwiftXCTest
16
16
#endif
17
17
18
- class SetUpTearDownTestCase : XCTestCase {
18
+ class SetUpTearDownTestCase : XCTestCase , XCTestCaseType {
19
19
var allTests : [ ( String , ( ) throws -> Void ) ] {
20
20
return [
21
21
( " test_hasValueFromSetUp " , test_hasValueFromSetUp) ,
Original file line number Diff line number Diff line change 13
13
import SwiftXCTest
14
14
#endif
15
15
16
- class SingleFailingTestCase : XCTestCase {
16
+ class SingleFailingTestCase : XCTestCase , XCTestCaseType {
17
17
var allTests : [ ( String , ( ) throws -> ( ) ) ] {
18
18
return [
19
19
( " test_fails " , test_fails) ,
You can’t perform that action at this time.
0 commit comments