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