Skip to content

Commit

Permalink
Roll engine to version dd6f46c (flutter#15885)
Browse files Browse the repository at this point in the history
Roll engine to version dd6f46c
  • Loading branch information
a-siva authored Mar 27, 2018
1 parent d15cc57 commit 067be92
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bin/internal/engine.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6280adbfb1f9f63cdc6179b9b78634add1e4f2e3
dd6f46c485192f4506035088c9065b9f5dbba9ab
6 changes: 3 additions & 3 deletions packages/flutter_driver/test/flutter_driver_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@ void main() {
void expectLogContains(String message) {
expect(log.map((LogRecord r) => '$r'), anyElement(contains(message)));
}

setUp(() {
log = <LogRecord>[];
logSub = flutterDriverLog.listen(log.add);
mockClient = new MockVMServiceClient();
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) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ void main() {
const String interface = 'eno1';
// Adds some extra junk to make sure the strings will be cleaned up.
when(mockRunner.run(typed(any)))
.thenReturn(<String>['123\n\n\n', '456 ', '789']);
.thenReturn(new Future<List<String>>.value(
<String>['123\n\n\n', '456 ', '789']));
when(mockRunner.address).thenReturn(address);
when(mockRunner.interface).thenReturn(interface);
int port = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ void main() {
setUp(() {
mockProcessManager = new MockProcessManager();
mockProcessResult = new MockProcessResult();
when(mockProcessManager.run(typed(any))).thenReturn(mockProcessResult);
when(mockProcessManager.run(typed(any))).thenReturn(
new Future<MockProcessResult>.value(mockProcessResult));
});

test('verify interface is appended to ipv6 address', () async {
Expand Down

0 comments on commit 067be92

Please sign in to comment.