Skip to content

Commit 067be92

Browse files
authored
Roll engine to version dd6f46c (flutter#15885)
Roll engine to version dd6f46c
1 parent d15cc57 commit 067be92

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

bin/internal/engine.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6280adbfb1f9f63cdc6179b9b78634add1e4f2e3
1+
dd6f46c485192f4506035088c9065b9f5dbba9ab

packages/flutter_driver/test/flutter_driver_test.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,17 @@ void main() {
2929
void expectLogContains(String message) {
3030
expect(log.map((LogRecord r) => '$r'), anyElement(contains(message)));
3131
}
32-
32+
3333
setUp(() {
3434
log = <LogRecord>[];
3535
logSub = flutterDriverLog.listen(log.add);
3636
mockClient = new MockVMServiceClient();
3737
mockVM = new MockVM();
3838
mockIsolate = new MockIsolate();
3939
mockPeer = new MockPeer();
40-
when(mockClient.getVM()).thenReturn(mockVM);
40+
when(mockClient.getVM()).thenReturn(new Future<MockVM>.value(mockVM));
4141
when(mockVM.isolates).thenReturn(<VMRunnableIsolate>[mockIsolate]);
42-
when(mockIsolate.loadRunnable()).thenReturn(mockIsolate);
42+
when(mockIsolate.loadRunnable()).thenReturn(new Future<MockIsolate>.value(mockIsolate));
4343
when(mockIsolate.invokeExtension(typed(any), typed(any))).thenAnswer(
4444
(Invocation invocation) => makeMockResponse(<String, dynamic>{'status': 'ok'}));
4545
vmServiceConnectFunction = (String url) {

packages/fuchsia_remote_debug_protocol/test/fuchsia_remote_connection_test.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ void main() {
3131
const String interface = 'eno1';
3232
// Adds some extra junk to make sure the strings will be cleaned up.
3333
when(mockRunner.run(typed(any)))
34-
.thenReturn(<String>['123\n\n\n', '456 ', '789']);
34+
.thenReturn(new Future<List<String>>.value(
35+
<String>['123\n\n\n', '456 ', '789']));
3536
when(mockRunner.address).thenReturn(address);
3637
when(mockRunner.interface).thenReturn(interface);
3738
int port = 0;

packages/fuchsia_remote_debug_protocol/test/src/runners/ssh_command_runner_test.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ void main() {
4040
setUp(() {
4141
mockProcessManager = new MockProcessManager();
4242
mockProcessResult = new MockProcessResult();
43-
when(mockProcessManager.run(typed(any))).thenReturn(mockProcessResult);
43+
when(mockProcessManager.run(typed(any))).thenReturn(
44+
new Future<MockProcessResult>.value(mockProcessResult));
4445
});
4546

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

0 commit comments

Comments
 (0)