Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ - (void)testWaitForFirstFrameTimeout {
[timeoutFirstFrame fulfill];
}
}];
[self waitForExpectationsWithTimeout:5 handler:nil];
[self waitForExpectations:@[ timeoutFirstFrame ]];
}

- (void)testSpawn {
Expand All @@ -275,7 +275,7 @@ - (void)testDeallocNotification {
[deallocNotification fulfill];
}];
}
[self waitForExpectationsWithTimeout:1 handler:nil];
[self waitForExpectations:@[ deallocNotification ]];
[center removeObserver:observer];
}

Expand All @@ -299,7 +299,7 @@ - (void)testSetHandlerAfterRun {
[gotMessage fulfill];
}];
});
[self waitForExpectationsWithTimeout:1 handler:nil];
[self waitForExpectations:@[ gotMessage ]];
}

- (void)testThreadPrioritySetCorrectly {
Expand All @@ -325,7 +325,7 @@ - (void)testThreadPrioritySetCorrectly {

FlutterEngine* engine = [[FlutterEngine alloc] init];
[engine run];
[self waitForExpectationsWithTimeout:1 handler:nil];
[self waitForExpectations:@[ prioritiesSet ]];

method_setImplementation(method, originalSetThreadPriority);
}
Expand Down