added missing mock to MockEngine for iOS unit tests (flutter/engine#17273)

This commit is contained in:
gaaclarke
2020-03-23 11:38:42 -07:00
committed by GitHub
parent 88d480b265
commit 574c0a75ed

View File

@@ -27,6 +27,9 @@ extern NSNotificationName const FlutterViewControllerWillDealloc;
@end
@implementation MockEngine
- (FlutterViewController*)viewController {
return nil;
}
- (void)setViewController:(FlutterViewController*)viewController {
// noop
}