Roll engine to version dd6f46c485192f4506035088c9065b9f5dbba9ab (#15885)

Roll engine to version dd6f46c485192f4506035088c9065b9f5dbba9ab
This commit is contained in:
Siva
2018-03-26 22:16:48 -07:00
committed by GitHub
parent d15cc57b7f
commit 067be92ae8
4 changed files with 8 additions and 6 deletions

View File

@@ -29,7 +29,7 @@ void main() {
void expectLogContains(String message) {
expect(log.map((LogRecord r) => '$r'), anyElement(contains(message)));
}
setUp(() {
log = <LogRecord>[];
logSub = flutterDriverLog.listen(log.add);
@@ -37,9 +37,9 @@ void main() {
mockVM = new MockVM();
mockIsolate = new MockIsolate();
mockPeer = new MockPeer();
when(mockClient.getVM()).thenReturn(mockVM);
when(mockClient.getVM()).thenReturn(new Future<MockVM>.value(mockVM));
when(mockVM.isolates).thenReturn(<VMRunnableIsolate>[mockIsolate]);
when(mockIsolate.loadRunnable()).thenReturn(mockIsolate);
when(mockIsolate.loadRunnable()).thenReturn(new Future<MockIsolate>.value(mockIsolate));
when(mockIsolate.invokeExtension(typed(any), typed(any))).thenAnswer(
(Invocation invocation) => makeMockResponse(<String, dynamic>{'status': 'ok'}));
vmServiceConnectFunction = (String url) {