This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree 1 file changed +5
-4
lines changed
testing/scenario_app/ios/Scenarios/ScenariosTests
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -51,9 +51,10 @@ - (void)ensureApplicationIsInActiveState {
51
51
[UIApplication sharedApplication ].applicationState );
52
52
// Don't have to inspect the notification since the typed notification itself indicates the
53
53
// desired state.
54
- [self expectationForNotification: UIApplicationDidBecomeActiveNotification
55
- object: self
56
- handler: nil ];
54
+ // [self expectationForNotification:UIApplicationDidBecomeActiveNotification
55
+ // object:self
56
+ // handler:nil];
57
+ [self keyValueObservingExpectationForObject: [UIApplication sharedApplication ] keyPath: @" applicationState" expectedValue: nil ];
57
58
[self waitForExpectationsWithTimeout: 30.0 handler: nil ];
58
59
}
59
60
XCTAssertEqual ([UIApplication sharedApplication ].applicationState , UIApplicationStateActive);
@@ -201,7 +202,7 @@ - (void)testDismissedFlutterViewControllerNotRespondingToApplicationLifecycle {
201
202
[engine destroyContext ];
202
203
}
203
204
204
- - (void )VisibleFlutterViewControllerRespondsToApplicationLifecycle {
205
+ - (void )testVisibleFlutterViewControllerRespondsToApplicationLifecycle {
205
206
XCTestExpectation* engineStartedExpectation = [self expectationWithDescription: @" Engine started" ];
206
207
207
208
// Let the engine finish booting (at the end of which the channels are properly set-up) before
You can’t perform that action at this time.
0 commit comments