Home
last modified time | relevance | path

Searched refs:Invocation (Results 1 – 25 of 189) sorted by relevance

12345678

/third_party/flutter/flutter/packages/flutter/test/widgets/
Dbanner_test.dart13 final List<Invocation> invocations = <Invocation>[];
16 void noSuchMethod(Invocation invocation) {
38 final Invocation translateCommand = canvas.invocations.firstWhere((Invocation invocation) {
46 final Invocation rotateCommand = canvas.invocations.firstWhere((Invocation invocation) {
66 final Invocation translateCommand = canvas.invocations.firstWhere((Invocation invocation) {
74 final Invocation rotateCommand = canvas.invocations.firstWhere((Invocation invocation) {
94 final Invocation translateCommand = canvas.invocations.firstWhere((Invocation invocation) {
102 final Invocation rotateCommand = canvas.invocations.firstWhere((Invocation invocation) {
122 final Invocation translateCommand = canvas.invocations.firstWhere((Invocation invocation) {
130 final Invocation rotateCommand = canvas.invocations.firstWhere((Invocation invocation) {
[all …]
/third_party/flutter/flutter/packages/flutter_driver/test/
Dflutter_driver_test.dart46 (Invocation invocation) => makeMockResponse(<String, dynamic>{'status': 'ok'}));
61 when(mockPeer.sendRequest('streamListen', any)).thenAnswer((Invocation invocation) {
66 when(mockIsolate.resume()).thenAnswer((Invocation invocation) {
70 when(mockIsolate.onExtensionAdded).thenAnswer((Invocation invocation) {
83 when(mockIsolate.resume()).thenAnswer((Invocation invocation) => Future<dynamic>.value(null));
96 when(mockIsolate.resume()).thenAnswer((Invocation invocation) {
130 (Invocation invocation) => makeMockResponse(<String, dynamic>{'status': 'ok'}));
136 when(mockClient.close()).thenAnswer((Invocation invocation) => Future<dynamic>.value(null));
147 when(mockIsolate.invokeExtension(any, any)).thenAnswer((Invocation i) {
163 when(mockIsolate.invokeExtension(any, any)).thenAnswer((Invocation i) {
[all …]
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/
Dresident_runner_test.dart56 when(mockDevFS.destroy()).thenAnswer((Invocation invocation) async { });
72 )).thenAnswer((Invocation invocation) async {
85 when(mockFlutterView.runFromSource(any, any, any)).thenAnswer((Invocation invocation) async {});
86 when(mockFlutterDevice.stopEchoingDeviceLog()).thenAnswer((Invocation invocation) async { });
94 )).thenAnswer((Invocation invocation) async { });
96 .thenAnswer((Invocation invocation) async {
102 when(mockFlutterDevice.refreshViews()).thenAnswer((Invocation invocation) async { });
118 when(mockVMService.done).thenAnswer((Invocation invocation) {
122 when(mockIsolate.resume()).thenAnswer((Invocation invocation) {
125 when(mockIsolate.flutterExit()).thenAnswer((Invocation invocation) {
[all …]
Dcompile_incremental_test.dart40 .thenAnswer((Invocation invocation) => mockFrontendServerStdErr);
41 when(mockFrontendServer.exitCode).thenAnswer((Invocation invocation) {
46 .thenAnswer((Invocation invocation) => stdErrStreamController.stream);
50 (Invocation invocation) => Future<Process>.value(mockFrontendServer)
58 .thenAnswer((Invocation invocation) => Stream<List<int>>.fromFuture(
81 .thenAnswer((Invocation invocation) => const Stream<List<int>>.empty()
97 .thenAnswer((Invocation invocation) async => 1);
99 .thenAnswer((Invocation invocation) => const Stream<List<int>>.empty()
117 .thenAnswer((Invocation invocation) => streamController.stream);
159 .thenAnswer((Invocation invocation) => streamController.stream);
Dresident_web_runner_test.dart61 when(mockWebFs.runAndDebug()).thenAnswer((Invocation _) async {
65 when(mockVmService.onStdoutEvent).thenAnswer((Invocation _) {
120 when(mockWebFs.recompile()).thenAnswer((Invocation _) async {
123 when(mockVmService.callServiceExtension('hotRestart')).thenAnswer((Invocation _) async {
138 when(mockWebFs.recompile()).thenAnswer((Invocation _) async {
154 when(mockWebFs.recompile()).thenAnswer((Invocation _) async {
157 when(mockVmService.callServiceExtension('hotRestart')).thenAnswer((Invocation _) async {
241 .thenAnswer((Invocation _) async {
259 .thenAnswer((Invocation _) async {
277 .thenAnswer((Invocation _) async {
[all …]
Dcompile_batch_test.dart34 .thenAnswer((Invocation invocation) => mockFrontendServerStdErr);
40 (Invocation invocation) => Future<Process>.value(mockFrontendServer));
47 .thenAnswer((Invocation invocation) => Stream<List<int>>.fromFuture(
70 .thenAnswer((Invocation invocation) => Stream<List<int>>.fromFuture(
95 .thenAnswer((Invocation invocation) => Stream<List<int>>.fromFuture(
Dcompile_expression_test.dart39 .thenAnswer((Invocation invocation) => mockFrontendServerStdErr);
40 when(mockFrontendServer.exitCode).thenAnswer((Invocation invocation) {
45 .thenAnswer((Invocation invocation) => stdErrStreamController.stream);
49 (Invocation invocation) =>
69 .thenAnswer((Invocation invocation) =>
119 .thenAnswer((Invocation invocation) =>
Dcold_test.dart36 when(mockDevice.targetPlatform).thenAnswer((Invocation _) async => TargetPlatform.tester);
37 when(mockDevice.sdkNameAndVersion).thenAnswer((Invocation _) async => 'Android 10');
64 when(mockDevice.targetPlatform).thenAnswer((Invocation _) async => TargetPlatform.tester);
65 when(mockDevice.sdkNameAndVersion).thenAnswer((Invocation _) async => 'Android 10');
Dhot_test.dart119 )).thenAnswer((Invocation _) => Future<UpdateFSReport>.value(
136 when(mockDevice.targetPlatform).thenAnswer((Invocation _) async => TargetPlatform.tester);
198 when(mockDevice.targetPlatform).thenAnswer((Invocation _) async => TargetPlatform.tester);
215 when(mockDevice.targetPlatform).thenAnswer((Invocation _) async => TargetPlatform.tester);
285 when(mockDevice.targetPlatform).thenAnswer((Invocation _) async => TargetPlatform.tester);
286 when(mockDevice.sdkNameAndVersion).thenAnswer((Invocation _) async => 'Android 10');
315 when(mockDevice.targetPlatform).thenAnswer((Invocation _) async => TargetPlatform.tester);
316 when(mockDevice.sdkNameAndVersion).thenAnswer((Invocation _) async => 'Android 10');
/third_party/flutter/flutter/packages/flutter/test/painting/
Ddecoration_test.dart21 final List<Invocation> invocations;
24 void noSuchMethod(Invocation invocation) {
166 final List<Invocation> invocations = <Invocation>[];
188 final List<Invocation> commands = canvas.invocations.where((Invocation invocation) {
220 final TestCanvas canvas = TestCanvas(<Invocation>[]);
223 …final Invocation call = canvas.invocations.singleWhere((Invocation call) => call.memberName == #dr…
349 final TestCanvas canvas = TestCanvas(<Invocation>[]);
367 …final Invocation call = canvas.invocations.firstWhere((Invocation call) => call.memberName == #dra…
392 final TestCanvas canvas = TestCanvas(<Invocation>[]);
411 …final Invocation call = canvas.invocations.firstWhere((Invocation call) => call.memberName == #dra…
[all …]
Dpaint_image_test.dart32 final List<Invocation> invocations = <Invocation>[];
35 void noSuchMethod(Invocation invocation) {
52 final Invocation command = canvas.invocations.firstWhere((Invocation invocation) {
Dshader_warm_up_test.dart11 final List<Invocation> invocations;
14 void noSuchMethod(Invocation invocation) {
21 final List<Invocation> invocations = <Invocation>[];
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/ios/
Dcode_signing_test.dart132 )).thenAnswer((Invocation invocation) => Future<Process>.value(mockProcess));
136 .thenAnswer((Invocation invocation) => Stream<List<int>>.fromFuture(
141 when(mockProcess.stderr).thenAnswer((Invocation invocation) => mockStdErr);
193 )).thenAnswer((Invocation invocation) => Future<Process>.value(mockProcess));
197 .thenAnswer((Invocation invocation) => Stream<List<int>>.fromFuture(
202 when(mockProcess.stderr).thenAnswer((Invocation invocation) => mockStdErr);
263 )).thenAnswer((Invocation invocation) => Future<Process>.value(mockOpenSslProcess));
267 .thenAnswer((Invocation invocation) => Stream<List<int>>.fromFuture(
272 when(mockOpenSslProcess.stderr).thenAnswer((Invocation invocation) => mockOpenSslStdErr);
338 )).thenAnswer((Invocation invocation) => Future<Process>.value(mockOpenSslProcess));
[all …]
Dsimulators_test.dart197 ).thenAnswer((Invocation invocation) =>
251 .thenAnswer((Invocation invocation) => Future<Process>.value(MockProcess()));
285 .thenAnswer((Invocation invocation) => Future<Process>.value(MockProcess()));
321 .thenAnswer((Invocation invocation) {
324 .thenAnswer((Invocation invocation) {
332 .thenAnswer((Invocation invocation) => const Stream<List<int>>.empty());
335 .thenAnswer((Invocation invocation) => Future<int>.delayed(Duration.zero, () => 0));
393 when(mockProcessManager.run(any)).thenAnswer((Invocation _) async {
433 .thenAnswer((Invocation _) async => ProcessResult(mockPid, 0, 'Install Started', ''));
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/macos/
Dmacos_device_test.dart33 when(mockProcessManager.run(any)).thenAnswer((Invocation invocation) async {
58 when(mockProcessManager.run(<String>['ps', 'aux'])).thenAnswer((Invocation invocation) async {
61 … when(mockProcessManager.run(<String>['kill', '17193'])).thenAnswer((Invocation invocation) async {
78 when(mockProcessManager.start(<String>['test'])).thenAnswer((Invocation invocation) async {
87 when(mockProcessManager.run(any)).thenAnswer((Invocation invocation) async {
107 … when(mockProcessManager.run(<String>['ps', 'aux'])).thenAnswer((Invocation invocation) async {
/third_party/flutter/flutter/packages/flutter/test/rendering/
Drecording_canvas.dart9 /// An [Invocation] and the [stack] trace that led to it.
23 final Invocation invocation;
88 void noSuchMethod(Invocation invocation) {
154 void noSuchMethod(Invocation invocation) { }
157 class _MethodCall implements Invocation {
195 String _describeInvocation(Invocation call) {
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/dart/
Dpub_get_test.dart174 dynamic noSuchMethod(Invocation invocation) => null;
192 dynamic noSuchMethod(Invocation invocation) => null;
208 dynamic noSuchMethod(Invocation invocation) => null;
219 dynamic noSuchMethod(Invocation invocation) => null;
250 dynamic noSuchMethod(Invocation invocation) => null;
265 dynamic noSuchMethod(Invocation invocation) => null;
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/commands/
Drun_test.dart49 when(mockDeviceManager.getDevices()).thenAnswer((Invocation invocation) {
133 when(mockDeviceManager.getDevices()).thenAnswer((Invocation invocation) {
144 when(mockDeviceManager.getDevices()).thenAnswer((Invocation invocation) {
155 when(mockDeviceManager.getDevices()).thenAnswer((Invocation invocation) {
168 when(mockDeviceManager.getDevices()).thenAnswer((Invocation invocation) {
Dbuild_linux_test.dart39 when(mockProcess.exitCode).thenAnswer((Invocation invocation) async {
42 when(mockProcess.stderr).thenAnswer((Invocation invocation) {
45 when(mockProcess.stdout).thenAnswer((Invocation invocation) {
93 ], runInShell: true)).thenAnswer((Invocation invocation) async {
Dbuild_macos_test.dart41 when(mockProcess.exitCode).thenAnswer((Invocation invocation) async {
44 when(mockProcess.stderr).thenAnswer((Invocation invocation) {
47 when(mockProcess.stdout).thenAnswer((Invocation invocation) {
101 ])).thenAnswer((Invocation invocation) async {
Dassemble_test.dart34 .thenAnswer((Invocation invocation) async {
46 .thenAnswer((Invocation invocation) async {
72 .thenAnswer((Invocation invocation) async {
/third_party/flutter/flutter/dev/bots/test/
Dfake_process_manager.dart43 List<Invocation> invocations = <Invocation>[];
67 Future<Process> _nextProcess(Invocation invocation) async {
72 ProcessResult _nextResultSync(Invocation invocation) {
77 Future<ProcessResult> _nextResult(Invocation invocation) async {
/third_party/flutter/flutter/packages/flutter/test/material/
Dscrollbar_test.dart14 final List<Invocation> invocations;
17 void noSuchMethod(Invocation invocation) {
115 final List<Invocation> invocations = <Invocation>[];
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/web/
Dweb_fs_test.dart38 .thenAnswer((Invocation _) async {
41 when(mockOperatingSystemUtils.findFreePort()).thenAnswer((Invocation _) async {
44 when(mockBuildDaemonClient.buildResults).thenAnswer((Invocation _) {
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/build_system/targets/
Ddart_test.dart119 when(kernelCompilerFactory.create(any)).thenAnswer((Invocation _) async {
132 )).thenAnswer((Invocation _) async {
143 when(kernelCompilerFactory.create(any)).thenAnswer((Invocation _) async {
156 )).thenAnswer((Invocation _) async {
216 when(mockProcessManager.run(any)).thenAnswer((Invocation invocation) async {
240 when(mockProcessManager.run(any)).thenAnswer((Invocation invocation) async {
270 when(mockProcessManager.run(any)).thenAnswer((Invocation invocation) async {
293 when(mockProcessManager.run(any)).thenAnswer((Invocation invocation) async {

12345678