mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
updated tests names (flutter/engine#18966)
This commit is contained in:
parent
526a5ac502
commit
6e0de2ce0d
@ -60,7 +60,7 @@ typedef enum UIAccessibilityContrast : NSInteger {
|
||||
|
||||
@implementation FlutterViewControllerTest
|
||||
|
||||
- (void)testViewDidDisappearDoesntPauseEngine {
|
||||
- (void)testViewDidDisappearDoesntPauseEngineWhenNotTheViewController {
|
||||
id engine = OCMClassMock([FlutterEngine class]);
|
||||
id lifecycleChannel = OCMClassMock([FlutterBasicMessageChannel class]);
|
||||
OCMStub([engine lifecycleChannel]).andReturn(lifecycleChannel);
|
||||
@ -78,7 +78,7 @@ typedef enum UIAccessibilityContrast : NSInteger {
|
||||
OCMReject([viewControllerMock surfaceUpdated:[OCMArg any]]);
|
||||
}
|
||||
|
||||
- (void)testViewDidDisappearDoesPauseEngine {
|
||||
- (void)testViewDidDisappearDoesPauseEngineWhenIsTheViewController {
|
||||
id engine = OCMClassMock([FlutterEngine class]);
|
||||
id lifecycleChannel = OCMClassMock([FlutterBasicMessageChannel class]);
|
||||
OCMStub([engine lifecycleChannel]).andReturn(lifecycleChannel);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user