Searched refs:MockCallback (Results 1 – 11 of 11) sorted by relevance
78 MockCallback<Message> fooCallback = new MockCallback<Message>(); in testCallMethod()79 MockCallback<Message> barCallback = new MockCallback<Message>(); in testCallMethod()115 MockCallback<FooResponse> fooCallback = new MockCallback<FooResponse>(); in testStub()116 MockCallback<BarResponse> barCallback = new MockCallback<BarResponse>(); in testStub()274 private <T extends Message> RpcCallback<T> wrapsCallback(MockCallback<?> callback) { in wrapsCallback()280 private static class MockCallback<T extends Message> implements RpcCallback<T> { class in ServiceTest299 private MockCallback<?> callback;301 public WrapsCallback(MockCallback<?> callback) { in WrapsCallback()
82 MockCallback<Message> fooCallback = new MockCallback<Message>(); in testCallMethod()83 MockCallback<Message> barCallback = new MockCallback<Message>(); in testCallMethod()117 MockCallback<FooResponse> fooCallback = new MockCallback<FooResponse>(); in testStub()118 MockCallback<BarResponse> barCallback = new MockCallback<BarResponse>(); in testStub()281 MockCallback<?> callback) { in wrapsCallback()287 private static class MockCallback<Type extends Message> class in ServiceTest299 private MockCallback<?> callback;301 public WrapsCallback(MockCallback<?> callback) { in WrapsCallback()
25 class MockCallback; variable38 class MockCallback<R (*)(Args...)> : public ::testing::MockFunction<R(Args...)> {63 MockCallback* mock;81 MockCallback* mock = mockAndUserdata->mock; in CallUnboundCallback()
189 "MockCallback.h",334 "MockCallback.h",
67 MockCallback<WGPUDeviceLostCallback> mockDeviceLostCallback; in TEST_F()80 MockCallback<WGPUDeviceLostCallback> mockDeviceLostCallback; in TEST_F()101 MockCallback<WGPUDeviceLostCallback> mockDeviceLostCallback; in TEST_F()121 MockCallback<WGPUDeviceLostCallback> mockDeviceLostCallback; in TEST_F()
51 StrictMock<MockCallback<WGPUCreateComputePipelineAsyncCallback>> creationCallback; in TEST_F()71 StrictMock<MockCallback<WGPUCreateComputePipelineAsyncCallback>> creationCallback; in TEST_F()
169 MockCallback<WGPUErrorCallback> errorScopeCallback2; in TEST_F()174 MockCallback<WGPUErrorCallback> errorScopeCallback1; in TEST_F()
290 dct[name] = MockCallback(return_value=None)479 def MockCallback(**kwargs): function
3291 cb = test_utils.MockCallback()3313 cb = test_utils.MockCallback()3332 cb = test_utils.MockCallback()3435 cb = test_utils.MockCallback()3454 cb = test_utils.MockCallback()3672 callback = test_utils.MockCallback()
449 MockCallback<WGPUErrorCallback> mockErrorCallback; in TEST_P()
28538 + base::MockCallback<UsbChooserDialogAndroid::CreateJavaDialogCallback>30456 + base::MockCallback<BluetoothChooserAndroid::CreateJavaDialogCallback>30665 + base::MockCallback<BluetoothScanningPromptAndroid::CreateJavaDialogCallback>