Home
last modified time | relevance | path

Searched refs:MockCallback (Results 1 – 11 of 11) sorted by relevance

/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DServiceTest.java78 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 ServiceTest
299 private MockCallback<?> callback;
301 public WrapsCallback(MockCallback<?> callback) { in WrapsCallback()
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DServiceTest.java82 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 ServiceTest
299 private MockCallback<?> callback;
301 public WrapsCallback(MockCallback<?> callback) { in WrapsCallback()
/third_party/skia/third_party/externals/dawn/src/tests/
DMockCallback.h25 class MockCallback; variable
38 class MockCallback<R (*)(Args...)> : public ::testing::MockFunction<R(Args...)> {
63 MockCallback* mock;
81 MockCallback* mock = mockAndUserdata->mock; in CallUnboundCallback()
DBUILD.gn189 "MockCallback.h",
334 "MockCallback.h",
/third_party/skia/third_party/externals/dawn/src/tests/unittests/wire/
DWireDisconnectTests.cpp67 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()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DMultipleDeviceTests.cpp51 StrictMock<MockCallback<WGPUCreateComputePipelineAsyncCallback>> creationCallback; in TEST_F()
71 StrictMock<MockCallback<WGPUCreateComputePipelineAsyncCallback>> creationCallback; in TEST_F()
DErrorScopeValidationTests.cpp169 MockCallback<WGPUErrorCallback> errorScopeCallback2; in TEST_F()
174 MockCallback<WGPUErrorCallback> errorScopeCallback1; in TEST_F()
/third_party/python/Lib/test/test_asyncio/
Dutils.py290 dct[name] = MockCallback(return_value=None)
479 def MockCallback(**kwargs): function
Dtest_tasks.py3291 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()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DDeviceLostTests.cpp449 MockCallback<WGPUErrorCallback> mockErrorCallback; in TEST_P()
/third_party/chromium/patch/
D0004-3.2-Beta5.patch28538 + base::MockCallback<UsbChooserDialogAndroid::CreateJavaDialogCallback>
30456 + base::MockCallback<BluetoothChooserAndroid::CreateJavaDialogCallback>
30665 + base::MockCallback<BluetoothScanningPromptAndroid::CreateJavaDialogCallback>