Skip to content

Commit 759cb71

Browse files
author
Mike Ferris
authored
Merge pull request #129 from mike-ferris-apple/26611147_Swift3NamingForExpectationStuff
Update expectation based API names for API guidelines
2 parents a21a854 + f85884a commit 759cb71

File tree

9 files changed

+44
-44
lines changed

9 files changed

+44
-44
lines changed

Sources/XCTest/Public/XCTestCase+Asynchronous.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public extension XCTestCase {
3939
/// between these environments. To ensure compatibility of tests between
4040
/// swift-corelibs-xctest and Apple XCTest, it is not recommended to pass
4141
/// explicit values for `file` and `line`.
42-
func expectation(withDescription description: String, file: StaticString = #file, line: UInt = #line) -> XCTestExpectation {
42+
func expectation(description: String, file: StaticString = #file, line: UInt = #line) -> XCTestExpectation {
4343
let expectation = XCTestExpectation(
4444
description: description,
4545
file: file,
@@ -74,7 +74,7 @@ public extension XCTestCase {
7474
/// these environments. To ensure compatibility of tests between
7575
/// swift-corelibs-xctest and Apple XCTest, it is not recommended to pass
7676
/// explicit values for `file` and `line`.
77-
func waitForExpectations(withTimeout timeout: TimeInterval, file: StaticString = #file, line: UInt = #line, handler: XCWaitCompletionHandler? = nil) {
77+
func waitForExpectations(timeout: TimeInterval, file: StaticString = #file, line: UInt = #line, handler: XCWaitCompletionHandler? = nil) {
7878
// Mirror Objective-C XCTest behavior; display an unexpected test
7979
// failure when users wait without having first set expectations.
8080
// FIXME: Objective-C XCTest raises an exception for most "API
@@ -166,7 +166,7 @@ public extension XCTestCase {
166166
/// expectation.
167167
func expectation(forNotification notificationName: String, object objectToObserve: AnyObject?, handler: XCNotificationExpectationHandler? = nil) -> XCTestExpectation {
168168
let objectDescription = objectToObserve == nil ? "any object" : "\(objectToObserve!)"
169-
let expectation = self.expectation(withDescription: "Expect notification '\(notificationName)' from " + objectDescription)
169+
let expectation = self.expectation(description: "Expect notification '\(notificationName)' from " + objectDescription)
170170
// Start observing the notification with specified name and object.
171171
var observer: NSObjectProtocol? = nil
172172
func removeObserver() {

Sources/XCTest/Public/XCTestErrors.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ public let XCTestErrorDomain = "org.swift.XCTestErrorDomain"
1717
/// Error codes for errors in the XCTestErrorDomain.
1818
public enum XCTestErrorCode : Int {
1919
/// Indicates that one or more expectations failed to be fulfilled in time
20-
/// during a call to `waitForExpectations(withTimeout:handler:)`
20+
/// during a call to `waitForExpectations(timeout:handler:)`
2121
case timeoutWhileWaiting
2222

2323
/// Indicates that a test assertion failed while waiting for expectations
24-
/// during a call to `waitForExpectations(withTimeout:handler:)`
24+
/// during a call to `waitForExpectations(timeout:handler:)`
2525
/// FIXME: swift-corelibs-xctest does not currently produce this error code.
2626
case failureWhileWaiting
2727
}

Tests/Functional/Asynchronous/Expectations/main.swift

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,64 +19,64 @@ class ExpectationsTestCase: XCTestCase {
1919
// CHECK: .*/Tests/Functional/Asynchronous/Expectations/main.swift:[[@LINE+4]]: error: ExpectationsTestCase.test_waitingForAnUnfulfilledExpectation_fails : Asynchronous wait failed - Exceeded timeout of 0.2 seconds, with unfulfilled expectations: foo
2020
// CHECK: Test Case 'ExpectationsTestCase.test_waitingForAnUnfulfilledExpectation_fails' failed \(\d+\.\d+ seconds\).
2121
func test_waitingForAnUnfulfilledExpectation_fails() {
22-
expectation(withDescription: "foo")
23-
waitForExpectations(withTimeout: 0.2)
22+
expectation(description: "foo")
23+
waitForExpectations(timeout: 0.2)
2424
}
2525

2626
// CHECK: Test Case 'ExpectationsTestCase.test_waitingForUnfulfilledExpectations_outputsAllExpectations_andFails' started at \d+:\d+:\d+\.\d+
2727
// CHECK: .*/Tests/Functional/Asynchronous/Expectations/main.swift:[[@LINE+5]]: error: ExpectationsTestCase.test_waitingForUnfulfilledExpectations_outputsAllExpectations_andFails : Asynchronous wait failed - Exceeded timeout of 0.2 seconds, with unfulfilled expectations: bar, baz
2828
// CHECK: Test Case 'ExpectationsTestCase.test_waitingForUnfulfilledExpectations_outputsAllExpectations_andFails' failed \(\d+\.\d+ seconds\).
2929
func test_waitingForUnfulfilledExpectations_outputsAllExpectations_andFails() {
30-
expectation(withDescription: "bar")
31-
expectation(withDescription: "baz")
32-
waitForExpectations(withTimeout: 0.2)
30+
expectation(description: "bar")
31+
expectation(description: "baz")
32+
waitForExpectations(timeout: 0.2)
3333
}
3434

3535
// CHECK: Test Case 'ExpectationsTestCase.test_waitingForAnImmediatelyFulfilledExpectation_passes' started at \d+:\d+:\d+\.\d+
3636
// CHECK: Test Case 'ExpectationsTestCase.test_waitingForAnImmediatelyFulfilledExpectation_passes' passed \(\d+\.\d+ seconds\).
3737
func test_waitingForAnImmediatelyFulfilledExpectation_passes() {
38-
let expectation = self.expectation(withDescription: "flim")
38+
let expectation = self.expectation(description: "flim")
3939
expectation.fulfill()
40-
waitForExpectations(withTimeout: 0.2)
40+
waitForExpectations(timeout: 0.2)
4141
}
4242

4343
// CHECK: Test Case 'ExpectationsTestCase.test_waitingForAnEventuallyFulfilledExpectation_passes' started at \d+:\d+:\d+\.\d+
4444
// CHECK: Test Case 'ExpectationsTestCase.test_waitingForAnEventuallyFulfilledExpectation_passes' passed \(\d+\.\d+ seconds\).
4545
func test_waitingForAnEventuallyFulfilledExpectation_passes() {
46-
let expectation = self.expectation(withDescription: "flam")
46+
let expectation = self.expectation(description: "flam")
4747
let timer = Timer.scheduledTimer(withTimeInterval: 0.1, repeats: false) { _ in
4848
expectation.fulfill()
4949
}
5050
RunLoop.current().add(timer, forMode: .defaultRunLoopMode)
51-
waitForExpectations(withTimeout: 1.0)
51+
waitForExpectations(timeout: 1.0)
5252
}
5353

5454
// CHECK: Test Case 'ExpectationsTestCase.test_waitingForAnExpectationFulfilledAfterTheTimeout_fails' started at \d+:\d+:\d+\.\d+
5555
// CHECK: .*/Tests/Functional/Asynchronous/Expectations/main.swift:[[@LINE+8]]: error: ExpectationsTestCase.test_waitingForAnExpectationFulfilledAfterTheTimeout_fails : Asynchronous wait failed - Exceeded timeout of 0.1 seconds, with unfulfilled expectations: hog
5656
// CHECK: Test Case 'ExpectationsTestCase.test_waitingForAnExpectationFulfilledAfterTheTimeout_fails' failed \(\d+\.\d+ seconds\).
5757
func test_waitingForAnExpectationFulfilledAfterTheTimeout_fails() {
58-
let expectation = self.expectation(withDescription: "hog")
58+
let expectation = self.expectation(description: "hog")
5959
let timer = Timer.scheduledTimer(withTimeInterval: 1.0, repeats: false) { _ in
6060
expectation.fulfill()
6161
}
6262
RunLoop.current().add(timer, forMode: .defaultRunLoopMode)
63-
waitForExpectations(withTimeout: 0.1)
63+
waitForExpectations(timeout: 0.1)
6464
}
6565

6666
// CHECK: Test Case 'ExpectationsTestCase.test_whenTimeoutIsImmediate_andAllExpectationsAreFulfilled_passes' started at \d+:\d+:\d+\.\d+
6767
// CHECK: Test Case 'ExpectationsTestCase.test_whenTimeoutIsImmediate_andAllExpectationsAreFulfilled_passes' passed \(\d+\.\d+ seconds\).
6868
func test_whenTimeoutIsImmediate_andAllExpectationsAreFulfilled_passes() {
69-
let expectation = self.expectation(withDescription: "smog")
69+
let expectation = self.expectation(description: "smog")
7070
expectation.fulfill()
71-
waitForExpectations(withTimeout: 0.0)
71+
waitForExpectations(timeout: 0.0)
7272
}
7373

7474
// CHECK: Test Case 'ExpectationsTestCase.test_whenTimeoutIsImmediate_butNotAllExpectationsAreFulfilled_fails' started at \d+:\d+:\d+\.\d+
7575
// CHECK: .*/Tests/Functional/Asynchronous/Expectations/main.swift:[[@LINE+4]]: error: ExpectationsTestCase.test_whenTimeoutIsImmediate_butNotAllExpectationsAreFulfilled_fails : Asynchronous wait failed - Exceeded timeout of -1.0 seconds, with unfulfilled expectations: dog
7676
// CHECK: Test Case 'ExpectationsTestCase.test_whenTimeoutIsImmediate_butNotAllExpectationsAreFulfilled_fails' failed \(\d+\.\d+ seconds\).
7777
func test_whenTimeoutIsImmediate_butNotAllExpectationsAreFulfilled_fails() {
78-
expectation(withDescription: "dog")
79-
waitForExpectations(withTimeout: -1.0)
78+
expectation(description: "dog")
79+
waitForExpectations(timeout: -1.0)
8080
}
8181

8282
static var allTests = {

Tests/Functional/Asynchronous/Handler/main.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ class HandlerTestCase: XCTestCase {
1919
// CHECK: .*/Tests/Functional/Asynchronous/Handler/main.swift:[[@LINE+6]]: error: HandlerTestCase.test_whenExpectationsAreNotFulfilled_handlerCalled_andFails : Asynchronous wait failed - Exceeded timeout of 0.2 seconds, with unfulfilled expectations: fog
2020
// CHECK: Test Case 'HandlerTestCase.test_whenExpectationsAreNotFulfilled_handlerCalled_andFails' failed \(\d+\.\d+ seconds\).
2121
func test_whenExpectationsAreNotFulfilled_handlerCalled_andFails() {
22-
self.expectation(withDescription: "fog")
22+
self.expectation(description: "fog")
2323

2424
var handlerWasCalled = false
25-
self.waitForExpectations(withTimeout: 0.2) { error in
25+
self.waitForExpectations(timeout: 0.2) { error in
2626
XCTAssertNotNil(error, "Expectation handlers for unfulfilled expectations should not be nil.")
2727
XCTAssertEqual(error?.domain, XCTestErrorDomain, "The error domain should be XCTest's own error domain")
2828
XCTAssertEqual(error?.code, XCTestErrorCode.timeoutWhileWaiting.rawValue, "The error code should indicate that a timeout occurred")
@@ -34,11 +34,11 @@ class HandlerTestCase: XCTestCase {
3434
// CHECK: Test Case 'HandlerTestCase.test_whenExpectationsAreFulfilled_handlerCalled_andPasses' started at \d+:\d+:\d+\.\d+
3535
// CHECK: Test Case 'HandlerTestCase.test_whenExpectationsAreFulfilled_handlerCalled_andPasses' passed \(\d+\.\d+ seconds\).
3636
func test_whenExpectationsAreFulfilled_handlerCalled_andPasses() {
37-
let expectation = self.expectation(withDescription: "bog")
37+
let expectation = self.expectation(description: "bog")
3838
expectation.fulfill()
3939

4040
var handlerWasCalled = false
41-
self.waitForExpectations(withTimeout: 0.2) { error in
41+
self.waitForExpectations(timeout: 0.2) { error in
4242
XCTAssertNil(error, "Expectation handlers for fulfilled expectations should be nil.")
4343
handlerWasCalled = true
4444
}

Tests/Functional/Asynchronous/Misuse/main.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,23 +17,23 @@ class MisuseTestCase: XCTestCase {
1717
// CHECK: .*/Tests/Functional/Asynchronous/Misuse/main.swift:[[@LINE+4]]: error: MisuseTestCase.test_whenExpectationsAreMade_butNotWaitedFor_fails : Failed due to unwaited expectations.
1818
// CHECK: Test Case 'MisuseTestCase.test_whenExpectationsAreMade_butNotWaitedFor_fails' failed \(\d+\.\d+ seconds\).
1919
func test_whenExpectationsAreMade_butNotWaitedFor_fails() {
20-
self.expectation(withDescription: "the first expectation")
21-
self.expectation(withDescription: "the second expectation (the file and line number for this one are included in the failure message")
20+
self.expectation(description: "the first expectation")
21+
self.expectation(description: "the second expectation (the file and line number for this one are included in the failure message")
2222
}
2323

2424
// CHECK: Test Case 'MisuseTestCase.test_whenNoExpectationsAreMade_butTheyAreWaitedFor_fails' started at \d+:\d+:\d+\.\d+
2525
// CHECK: .*/Tests/Functional/Asynchronous/Misuse/main.swift:[[@LINE+3]]: error: MisuseTestCase.test_whenNoExpectationsAreMade_butTheyAreWaitedFor_fails : API violation - call made to wait without any expectations having been set.
2626
// CHECK: Test Case 'MisuseTestCase.test_whenNoExpectationsAreMade_butTheyAreWaitedFor_fails' failed \(\d+\.\d+ seconds\).
2727
func test_whenNoExpectationsAreMade_butTheyAreWaitedFor_fails() {
28-
self.waitForExpectations(withTimeout: 0.1)
28+
self.waitForExpectations(timeout: 0.1)
2929
}
3030

3131
// CHECK: Test Case 'MisuseTestCase.test_whenExpectationIsFulfilledMultipleTimes_fails' started at \d+:\d+:\d+\.\d+
3232
// CHECK: .*/Tests/Functional/Asynchronous/Misuse/main.swift:[[@LINE+6]]: error: MisuseTestCase.test_whenExpectationIsFulfilledMultipleTimes_fails : API violation - multiple calls made to XCTestExpectation.fulfill\(\) for rob.
3333
// CHECK: .*/Tests/Functional/Asynchronous/Misuse/main.swift:[[@LINE+15]]: error: MisuseTestCase.test_whenExpectationIsFulfilledMultipleTimes_fails : API violation - multiple calls made to XCTestExpectation.fulfill\(\) for rob.
3434
// CHECK: Test Case 'MisuseTestCase.test_whenExpectationIsFulfilledMultipleTimes_fails' failed \(\d+\.\d+ seconds\).
3535
func test_whenExpectationIsFulfilledMultipleTimes_fails() {
36-
let expectation = self.expectation(withDescription: "rob")
36+
let expectation = self.expectation(description: "rob")
3737
expectation.fulfill()
3838
expectation.fulfill()
3939
// FIXME: The behavior here is subtly different from Objective-C XCTest.
@@ -46,7 +46,7 @@ class MisuseTestCase: XCTestCase {
4646
// highlights both the lines above and below as failures.
4747
// This should be fixed such that the behavior is identical.
4848
expectation.fulfill()
49-
self.waitForExpectations(withTimeout: 0.1)
49+
self.waitForExpectations(timeout: 0.1)
5050
}
5151

5252
static var allTests = {

Tests/Functional/Asynchronous/Notifications/Expectations/main.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class NotificationExpectationsTestCase: XCTestCase {
2222
let notificationName = "notificationWithNameTest"
2323
expectation(forNotification: notificationName, object:nil)
2424
NotificationCenter.defaultCenter().postNotificationName(Notification.Name(rawValue: notificationName), object: nil)
25-
waitForExpectations(withTimeout: 0.0)
25+
waitForExpectations(timeout: 0.0)
2626
}
2727

2828
// CHECK: Test Case 'NotificationExpectationsTestCase.test_observeNotificationWithNameAndObject_passes' started at \d+:\d+:\d+\.\d+
@@ -32,7 +32,7 @@ class NotificationExpectationsTestCase: XCTestCase {
3232
let dummyObject = NSObject()
3333
expectation(forNotification: notificationName, object:dummyObject)
3434
NotificationCenter.defaultCenter().postNotificationName(Notification.Name(rawValue: notificationName), object: dummyObject)
35-
waitForExpectations(withTimeout: 0.0)
35+
waitForExpectations(timeout: 0.0)
3636
}
3737

3838
// CHECK: Test Case 'NotificationExpectationsTestCase.test_observeNotificationWithNameAndObject_butExpectingNoObject_passes' started at \d+:\d+:\d+\.\d+
@@ -42,7 +42,7 @@ class NotificationExpectationsTestCase: XCTestCase {
4242
expectation(forNotification: notificationName, object:nil)
4343
let dummyObject = NSObject()
4444
NotificationCenter.defaultCenter().postNotificationName(Notification.Name(rawValue: notificationName), object: dummyObject)
45-
waitForExpectations(withTimeout: 0.0)
45+
waitForExpectations(timeout: 0.0)
4646
}
4747

4848
// CHECK: Test Case 'NotificationExpectationsTestCase.test_observeNotificationWithIncorrectName_fails' started at \d+:\d+:\d+\.\d+
@@ -51,7 +51,7 @@ class NotificationExpectationsTestCase: XCTestCase {
5151
func test_observeNotificationWithIncorrectName_fails() {
5252
expectation(forNotification: "expectedName", object: nil)
5353
NotificationCenter.defaultCenter().postNotificationName(Notification.Name(rawValue: "actualName"), object: nil)
54-
waitForExpectations(withTimeout: 0.1)
54+
waitForExpectations(timeout: 0.1)
5555
}
5656

5757
// CHECK: Test Case 'NotificationExpectationsTestCase.test_observeNotificationWithIncorrectObject_fails' started at \d+:\d+:\d+\.\d+
@@ -63,7 +63,7 @@ class NotificationExpectationsTestCase: XCTestCase {
6363
let anotherDummyObject = NSObject()
6464
expectation(forNotification: notificationName, object: dummyObject)
6565
NotificationCenter.defaultCenter().postNotificationName(Notification.Name(rawValue: notificationName), object:anotherDummyObject)
66-
waitForExpectations(withTimeout: 0.1)
66+
waitForExpectations(timeout: 0.1)
6767
}
6868

6969
static var allTests = {

Tests/Functional/Asynchronous/Notifications/Handler/main.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class NotificationHandlerTestCase: XCTestCase {
2424
return false
2525
})
2626
NotificationCenter.defaultCenter().postNotificationName(Notification.Name(rawValue: "returnFalse"), object: nil)
27-
waitForExpectations(withTimeout: 0.1)
27+
waitForExpectations(timeout: 0.1)
2828
}
2929

3030
// CHECK: Test Case 'NotificationHandlerTestCase.test_notificationNameIsObserved_handlerReturnsTrue_andPasses' started at \d+:\d+:\d+\.\d+
@@ -35,7 +35,7 @@ class NotificationHandlerTestCase: XCTestCase {
3535
return true
3636
})
3737
NotificationCenter.defaultCenter().postNotificationName(Notification.Name(rawValue: "returnTrue"), object: nil)
38-
waitForExpectations(withTimeout: 0.1)
38+
waitForExpectations(timeout: 0.1)
3939
}
4040

4141
// CHECK: Test Case 'NotificationHandlerTestCase.test_notificationNameIsObservedAfterTimeout_handlerIsNotCalled' started at \d+:\d+:\d+\.\d+
@@ -46,7 +46,7 @@ class NotificationHandlerTestCase: XCTestCase {
4646
XCTFail("Should not call the notification expectation handler")
4747
return true
4848
})
49-
waitForExpectations(withTimeout: 0.1, handler: nil)
49+
waitForExpectations(timeout: 0.1, handler: nil)
5050
NotificationCenter.defaultCenter().postNotificationName(Notification.Name(rawValue: "note"), object: nil)
5151
}
5252

Tests/Functional/Asynchronous/Predicates/Expectations/main.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class PredicateExpectationsTestCase: XCTestCase {
2121
let predicate = Predicate(value: true)
2222
let object = NSObject()
2323
expectation(for: predicate, evaluatedWith: object)
24-
waitForExpectations(withTimeout: 0.1)
24+
waitForExpectations(timeout: 0.1)
2525
}
2626

2727
// CHECK: Test Case 'PredicateExpectationsTestCase.test_immediatelyFalsePredicateAndObject_fails' started at \d+:\d+:\d+\.\d+
@@ -31,7 +31,7 @@ class PredicateExpectationsTestCase: XCTestCase {
3131
let predicate = Predicate(value: false)
3232
let object = NSObject()
3333
expectation(for: predicate, evaluatedWith: object)
34-
waitForExpectations(withTimeout: 0.1)
34+
waitForExpectations(timeout: 0.1)
3535
}
3636

3737
// CHECK: Test Case 'PredicateExpectationsTestCase.test_delayedTruePredicateAndObject_passes' started at \d+:\d+:\d+\.\d+
@@ -46,7 +46,7 @@ class PredicateExpectationsTestCase: XCTestCase {
4646
return false
4747
})
4848
expectation(for: predicate, evaluatedWith: halfSecLaterDate)
49-
waitForExpectations(withTimeout: 0.1)
49+
waitForExpectations(timeout: 0.1)
5050
}
5151

5252
// CHECK: Test Case 'PredicateExpectationsTestCase.test_immediatelyTrueDelayedFalsePredicateAndObject_passes' started at \d+:\d+:\d+\.\d+
@@ -60,7 +60,7 @@ class PredicateExpectationsTestCase: XCTestCase {
6060
return false
6161
})
6262
expectation(for: predicate, evaluatedWith: halfSecLaterDate)
63-
waitForExpectations(withTimeout: 0.1)
63+
waitForExpectations(timeout: 0.1)
6464
}
6565

6666
static var allTests = {

Tests/Functional/Asynchronous/Predicates/Handler/main.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class PredicateHandlerTestCase: XCTestCase {
2323
self.expectation(for: predicate, evaluatedWith: object, handler: { _ in
2424
return true
2525
})
26-
waitForExpectations(withTimeout: 0.1)
26+
waitForExpectations(timeout: 0.1)
2727
}
2828
// CHECK: Test Case 'PredicateHandlerTestCase.test_predicateIsTrue_handlerReturnsFalse_fails' started at \d+:\d+:\d+\.\d+
2929
// CHECK: .*/Tests/Functional/Asynchronous/Predicates/Handler/main.swift:[[@LINE+8]]: error: PredicateHandlerTestCase.test_predicateIsTrue_handlerReturnsFalse_fails : Asynchronous wait failed - Exceeded timeout of 0.1 seconds, with unfulfilled expectations: Expect `<Predicate: 0x[0-9a-fA-F]{1,16}>` for object <NSObject: 0x[0-9a-fA-F]{1,16}>
@@ -34,7 +34,7 @@ class PredicateHandlerTestCase: XCTestCase {
3434
self.expectation(for: predicate, evaluatedWith: object, handler: { _ in
3535
return false
3636
})
37-
waitForExpectations(withTimeout: 0.1)
37+
waitForExpectations(timeout: 0.1)
3838
}
3939

4040
// CHECK: Test Case 'PredicateHandlerTestCase.test_predicateIsTrueAfterTimeout_handlerIsNotCalled_fails' started at \d+:\d+:\d+\.\d+
@@ -52,7 +52,7 @@ class PredicateHandlerTestCase: XCTestCase {
5252
XCTFail("Should not call the predicate expectation handler")
5353
return true
5454
})
55-
waitForExpectations(withTimeout: 0.1, handler: nil)
55+
waitForExpectations(timeout: 0.1, handler: nil)
5656
}
5757

5858
static var allTests = {

0 commit comments

Comments
 (0)