Home
last modified time | relevance | path

Searched refs:mockProcess (Results 1 – 10 of 10) sorted by relevance

/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/commands/
Dbuild_linux_test.dart26 MockProcess mockProcess;
36 mockProcess = MockProcess();
39 when(mockProcess.exitCode).thenAnswer((Invocation invocation) async {
42 when(mockProcess.stderr).thenAnswer((Invocation invocation) {
45 when(mockProcess.stdout).thenAnswer((Invocation invocation) {
94 return mockProcess;
Dbuild_macos_test.dart27 MockProcess mockProcess;
38 mockProcess = MockProcess();
41 when(mockProcess.exitCode).thenAnswer((Invocation invocation) async {
44 when(mockProcess.stderr).thenAnswer((Invocation invocation) {
47 when(mockProcess.stdout).thenAnswer((Invocation invocation) {
105 return mockProcess;
Dbuild_windows_test.dart26 MockProcess mockProcess;
41 mockProcess = MockProcess();
46 when(mockProcess.exitCode).thenAnswer((Invocation invocation) async {
49 when(mockProcess.stderr).thenAnswer((Invocation invocation) {
52 when(mockProcess.stdout).thenAnswer((Invocation invocation) {
121 return mockProcess;
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/ios/
Dcode_signing_test.dart124 final MockProcess mockProcess = MockProcess();
132 )).thenAnswer((Invocation invocation) => Future<Process>.value(mockProcess));
134 when(mockProcess.stdin).thenReturn(mockStdIn);
135 when(mockProcess.stdout)
141 when(mockProcess.stderr).thenAnswer((Invocation invocation) => mockStdErr);
142 when(mockProcess.exitCode).thenAnswer((_) async => 0);
185 final MockProcess mockProcess = MockProcess();
193 )).thenAnswer((Invocation invocation) => Future<Process>.value(mockProcess));
195 when(mockProcess.stdin).thenReturn(mockStdIn);
196 when(mockProcess.stdout)
[all …]
Dsimulators_test.dart322 final Process mockProcess = MockProcess();
323 when(mockProcess.stdout)
331 when(mockProcess.stderr)
334 when(mockProcess.exitCode)
336 return Future<Process>.value(mockProcess);
Ddevices_test.dart407 final Process mockProcess = MockProcess(
416 return Future<Process>.value(mockProcess);
432 final Process mockProcess = MockProcess(
441 return Future<Process>.value(mockProcess);
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/tester/
Dflutter_tester_test.dart106 MockProcess mockProcess;
131 (List<String> commands) => mockProcess;
159 mockProcess = MockProcess(
/third_party/jsframework/runtime/main/extend/systemplugin/napi/
Dindex.js63 import { mockProcess } from './ohos_process'
394 return mockProcess();
Dohos_process.js18 export function mockProcess() { function
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/fuchsia/
Dfuchsia_device_test.dart222 MockProcess mockProcess;
231 mockProcess = MockProcess();
236 .thenAnswer((Invocation _) => Future<Process>.value(mockProcess));
237 when(mockProcess.exitCode).thenAnswer((Invocation _) => exitCode.future);
238 when(mockProcess.stdout).thenAnswer((Invocation _) => stdout.stream);
239 when(mockProcess.stderr).thenAnswer((Invocation _) => stderr.stream);