Roll engine to version dd6f46c485192f4506035088c9065b9f5dbba9ab (#15885)
Roll engine to version dd6f46c485192f4506035088c9065b9f5dbba9ab
This commit is contained in:
@@ -1 +1 @@
|
||||
6280adbfb1f9f63cdc6179b9b78634add1e4f2e3
|
||||
dd6f46c485192f4506035088c9065b9f5dbba9ab
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user