/external/chromium_org/media/base/ |
D | test_helpers.cc | 25 class MockCallback : public base::RefCountedThreadSafe<MockCallback> { class 27 MockCallback(); 32 friend class base::RefCountedThreadSafe<MockCallback>; 33 virtual ~MockCallback(); 36 DISALLOW_COPY_AND_ASSIGN(MockCallback); 39 MockCallback::MockCallback() {} in MockCallback() function in media::MockCallback 40 MockCallback::~MockCallback() {} in ~MockCallback() 43 StrictMock<MockCallback>* callback = new StrictMock<MockCallback>(); in NewExpectedClosure() 45 return base::Bind(&MockCallback::Run, callback); in NewExpectedClosure() 49 StrictMock<MockCallback>* callback = new StrictMock<MockCallback>(); in NewExpectedStatusCB() [all …]
|
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/ |
D | ServiceTest.java | 81 MockCallback<Message> fooCallback = new MockCallback<Message>(); in testCallMethod() 82 MockCallback<Message> barCallback = new MockCallback<Message>(); in testCallMethod() 116 MockCallback<FooResponse> fooCallback = new MockCallback<FooResponse>(); in testStub() 117 MockCallback<BarResponse> barCallback = new MockCallback<BarResponse>(); in testStub() 280 MockCallback<?> callback) { in wrapsCallback() 286 private static class MockCallback<Type extends Message> class in ServiceTest 298 private MockCallback<?> callback; 300 public WrapsCallback(MockCallback<?> callback) { in WrapsCallback()
|
/external/protobuf/java/src/test/java/com/google/protobuf/ |
D | ServiceTest.java | 81 MockCallback<Message> fooCallback = new MockCallback<Message>(); in testCallMethod() 82 MockCallback<Message> barCallback = new MockCallback<Message>(); in testCallMethod() 116 MockCallback<FooResponse> fooCallback = new MockCallback<FooResponse>(); in testStub() 117 MockCallback<BarResponse> barCallback = new MockCallback<BarResponse>(); in testStub() 278 MockCallback<?> callback) { in wrapsCallback() 284 private static class MockCallback<Type extends Message> class in ServiceTest 296 private MockCallback<?> callback; 298 public WrapsCallback(MockCallback<?> callback) { in WrapsCallback()
|
/external/chromium_org/chrome/browser/local_discovery/ |
D | cloud_print_account_manager_unittest.cc | 29 class MockCallback { class 47 &MockCallback::CloudPrintAccountsResolved, in CloudPrintAccountManagerTest() 58 MockCallback mock_callback_;
|
/external/chromium/chrome/browser/sync/notifier/ |
D | chrome_invalidation_client_unittest.cc | 42 class MockCallback { class 47 return invalidation::NewPermanentCallback(this, &MockCallback::Run); in MakeClosure() 88 MockCallback mock_callback; in FireInvalidate() 94 MockCallback mock_callback; in FireInvalidateAll()
|
/external/chromium_org/remoting/jingle_glue/ |
D | iq_sender_unittest.cc | 37 class MockCallback { class 67 &MockCallback::OnReply, base::Unretained(&callback_))); in SendTestMessage() 84 MockCallback callback_;
|
/external/chromium_org/remoting/host/ |
D | register_support_host_request_unittest.cc | 48 class MockCallback { class 75 MockCallback callback_; 85 base::Bind(&MockCallback::OnResponse, in TEST_F()
|
/external/chromium_org/chrome/browser/ui/cocoa/autofill/ |
D | autofill_dialog_cocoa_browsertest.mm | 26 void MockCallback(const FormStructure*) {} 38 base::Bind(MockCallback)),
|
/external/chromium_org/net/websockets/ |
D | websocket_deflate_stream_test.cc | 31 typedef ::testing::MockFunction<void(int)> MockCallback; // NOLINT typedef 355 MockCallback mock_callback, checkpoint; in TEST_F() 357 base::Bind(&MockCallback::Call, base::Unretained(&mock_callback)); in TEST_F() 386 MockCallback mock_callback, checkpoint; in TEST_F() 388 base::Bind(&MockCallback::Call, base::Unretained(&mock_callback)); in TEST_F() 434 MockCallback mock_callback, checkpoint; in TEST_F() 436 base::Bind(&MockCallback::Call, base::Unretained(&mock_callback)); in TEST_F() 472 MockCallback mock_callback, checkpoint; in TEST_F() 474 base::Bind(&MockCallback::Call, base::Unretained(&mock_callback)); in TEST_F() 937 MockCallback mock_callback, checkpoint; in TEST_F() [all …]
|
/external/chromium/webkit/glue/media/ |
D | buffered_data_source_unittest.cc | 524 media::MockCallback* stop_callback = media::NewExpectedCallback(); in TEST_F()
|
/external/chromium_org/chrome/browser/ui/autofill/ |
D | autofill_dialog_controller_browsertest.cc | 75 void MockCallback(const FormStructure*) {} in MockCallback() function 115 base::Bind(&MockCallback)), in TestAutofillDialogController()
|