Searched refs:Invocation (Results 1 – 25 of 189) sorted by relevance
12345678
/third_party/flutter/flutter/packages/flutter/test/widgets/ |
D | banner_test.dart | 13 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/ |
D | flutter_driver_test.dart | 46 (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/ |
D | resident_runner_test.dart | 56 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 …]
|
D | compile_incremental_test.dart | 40 .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);
|
D | resident_web_runner_test.dart | 61 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 …]
|
D | compile_batch_test.dart | 34 .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(
|
D | compile_expression_test.dart | 39 .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) =>
|
D | cold_test.dart | 36 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');
|
D | hot_test.dart | 119 )).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/ |
D | decoration_test.dart | 21 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 …]
|
D | paint_image_test.dart | 32 final List<Invocation> invocations = <Invocation>[]; 35 void noSuchMethod(Invocation invocation) { 52 final Invocation command = canvas.invocations.firstWhere((Invocation invocation) {
|
D | shader_warm_up_test.dart | 11 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/ |
D | code_signing_test.dart | 132 )).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 …]
|
D | simulators_test.dart | 197 ).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/ |
D | macos_device_test.dart | 33 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/ |
D | recording_canvas.dart | 9 /// 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/ |
D | pub_get_test.dart | 174 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/ |
D | run_test.dart | 49 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) {
|
D | build_linux_test.dart | 39 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 {
|
D | build_macos_test.dart | 41 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 {
|
D | assemble_test.dart | 34 .thenAnswer((Invocation invocation) async { 46 .thenAnswer((Invocation invocation) async { 72 .thenAnswer((Invocation invocation) async {
|
/third_party/flutter/flutter/dev/bots/test/ |
D | fake_process_manager.dart | 43 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/ |
D | scrollbar_test.dart | 14 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/ |
D | web_fs_test.dart | 38 .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/ |
D | dart_test.dart | 119 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