Home
last modified time | relevance | path

Searched refs:WithArg (Results 1 – 25 of 30) sorted by relevance

12

/external/chromium_org/chrome/browser/password_manager/
Dpassword_manager_unittest.cc31 using testing::WithArg;
204 .WillOnce(DoAll(WithArg<2>(InvokeConsumer(result)), Return(1))); in TEST_F()
216 .WillOnce(WithArg<0>(SaveToScopedPtr(&form_to_save))); in TEST_F()
236 .WillOnce(DoAll(WithArg<2>(InvokeConsumer(result)), Return(1))); in TEST_F()
270 .WillOnce(DoAll(WithArg<2>(InvokeConsumer(result)), Return(1))); in TEST_F()
282 .WillOnce(WithArg<0>(SaveToScopedPtr(&form_to_save))); in TEST_F()
300 .WillOnce(DoAll(WithArg<2>(InvokeConsumer(result)), Return(1))); in TEST_F()
321 .WillOnce(DoAll(WithArg<2>(InvokeConsumer(result)), Return(1))); in TEST_F()
339 .WillOnce(WithArg<0>(SaveToScopedPtr(&form_to_save))); in TEST_F()
357 .WillRepeatedly(DoAll(WithArg<2>(InvokeConsumer(result)), Return(1))); in TEST_F()
[all …]
Dpassword_store_unittest.cc29 using testing::WithArg;
252 .WillOnce(DoAll(WithArg<0>(STLDeleteElements0()), QuitUIMessageLoop())); in TEST_F()
256 .WillOnce(WithArg<0>(STLDeleteElements0())).RetiresOnSaturation(); in TEST_F()
260 .WillOnce(WithArg<0>(STLDeleteElements0())).RetiresOnSaturation(); in TEST_F()
Dpassword_store_x_unittest.cc42 using testing::WithArg;
413 .WillOnce(WithArg<1>(STLDeleteElements0())); in TEST_P()
422 .WillOnce(WithArg<1>(STLDeleteElements0())); in TEST_P()
439 .WillOnce(WithArg<0>(STLDeleteElements0())); in TEST_P()
456 .WillOnce(WithArg<0>(STLDeleteElements0())); in TEST_P()
Dpassword_store_win_unittest.cc37 using testing::WithArg;
382 .WillOnce(DoAll(WithArg<0>(STLDeleteElements0()), QuitUIMessageLoop())); in TEST_F()
404 .WillOnce(DoAll(WithArg<1>(STLDeleteElements0()), QuitUIMessageLoop())); in TEST_F()
426 .WillOnce(DoAll(WithArg<1>(STLDeleteElements0()), QuitUIMessageLoop())); in TEST_F()
Dpassword_store_default_unittest.cc37 using testing::WithArg;
185 .WillOnce(DoAll(WithArg<1>(STLDeleteElements0()), QuitUIMessageLoop())); in TEST_F()
/external/chromium/chrome/browser/password_manager/
Dpassword_manager_unittest.cc25 using ::testing::WithArg;
142 .WillOnce(DoAll(WithArg<1>(InvokeConsumer(0, result)), Return(0))); in TEST_F()
154 .WillOnce(WithArg<0>(SaveToScopedPtr(&form_to_save))); in TEST_F()
176 .WillOnce(DoAll(WithArg<1>(InvokeConsumer(0, result)), Return(0))); in TEST_F()
188 .WillOnce(WithArg<0>(SaveToScopedPtr(&form_to_save))); in TEST_F()
201 .WillOnce(DoAll(WithArg<1>(InvokeConsumer(0, result)), Return(0))); in TEST_F()
218 .WillRepeatedly(DoAll(WithArg<1>(InvokeConsumer(0, result)), Return(0))); in TEST_F()
241 .WillRepeatedly(DoAll(WithArg<1>(InvokeConsumer(0, result)), Return(0))); in TEST_F()
257 .WillOnce(WithArg<0>(SaveToScopedPtr(&form_to_save))); in TEST_F()
274 .WillRepeatedly(DoAll(WithArg<1>(InvokeConsumer(0, result)), Return(0))); in TEST_F()
Dpassword_store_win_unittest.cc32 using testing::WithArg;
463 .WillOnce(DoAll(WithArg<1>(STLDeleteElements0()), QuitUIMessageLoop())); in TEST_F()
473 .WillOnce(DoAll(WithArg<1>(STLDeleteElements0()), QuitUIMessageLoop())); in TEST_F()
544 .WillOnce(DoAll(WithArg<1>(STLDeleteElements0()), QuitUIMessageLoop())); in TEST_F()
567 .WillOnce(DoAll(WithArg<1>(STLDeleteElements0()), QuitUIMessageLoop())); in TEST_F()
590 .WillOnce(DoAll(WithArg<1>(STLDeleteElements0()), QuitUIMessageLoop())); in TEST_F()
Dpassword_store_x_unittest.cc29 using testing::WithArg;
389 .WillOnce(DoAll(WithArg<1>(STLDeleteElements0()), QuitUIMessageLoop())); in TEST_P()
399 .WillOnce(DoAll(WithArg<1>(STLDeleteElements0()), QuitUIMessageLoop())); in TEST_P()
669 .WillOnce(DoAll(WithArg<1>(STLDeleteElements0()), QuitUIMessageLoop())); in TEST_P()
678 .WillOnce(DoAll(WithArg<1>(STLDeleteElements0()), QuitUIMessageLoop())); in TEST_P()
695 .WillOnce(WithArg<0>(STLDeleteElements0())); in TEST_P()
715 .WillOnce(WithArg<0>(STLDeleteElements0())); in TEST_P()
Dpassword_store_default_unittest.cc34 using testing::WithArg;
202 .WillOnce(DoAll(WithArg<1>(STLDeleteElements0()), QuitUIMessageLoop())); in TEST_F()
317 .WillOnce(DoAll(WithArg<1>(STLDeleteElements0()), QuitUIMessageLoop())); in TEST_F()
327 .WillOnce(DoAll(WithArg<1>(STLDeleteElements0()), QuitUIMessageLoop())); in TEST_F()
/external/chromium/chrome/browser/chromeos/login/
Dsigned_settings_helper_unittest.cc26 using ::testing::WithArg;
130 .WillOnce(WithArg<1>(Invoke(&SignedSettingsHelperTest::OnKeyOpComplete))); in TEST_F()
138 .WillOnce(WithArg<1>(Invoke(&SignedSettingsHelperTest::OnKeyOpComplete))); in TEST_F()
143 .WillOnce(WithArg<1>(Invoke(&SignedSettingsHelperTest::OnKeyOpComplete))); in TEST_F()
181 .WillOnce(WithArg<1>(Invoke(&SignedSettingsHelperTest::OnKeyOpComplete))); in TEST_F()
189 .WillOnce(WithArg<1>(Invoke(&SignedSettingsHelperTest::OnKeyOpComplete))); in TEST_F()
197 .WillOnce(WithArg<1>(Invoke(&SignedSettingsHelperTest::OnKeyOpComplete))); in TEST_F()
/external/chromium/chrome/browser/sync/engine/
Dsyncer_thread2_unittest.cc25 using testing::WithArg;
211 WithArg<0>(RecordSyncShare(&records, 1U, &done)))) in TEST_F()
229 WithArg<0>(RecordSyncShare(&records2, 1U, &done)))); in TEST_F()
251 WithArg<0>(RecordSyncShare(&records, 1U, &done)))); in TEST_F()
278 WithArg<0>(RecordSyncShare(&records, 1U, dummy)))) in TEST_F()
280 WithArg<0>(RecordSyncShare(&records, 1U, &done)))); in TEST_F()
311 WithArg<0>(RecordSyncShare(&records, 1U, dummy)))) in TEST_F()
313 WithArg<0>(RecordSyncShare(&records, 1U, &done1)))) in TEST_F()
315 WithArg<0>(RecordSyncShare(&records, 1U, &done)))); in TEST_F()
349 WithArg<0>(RecordSyncShare(&records, 1U, dummy)))) in TEST_F()
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DCStringSyntaxChecker.cpp46 inline bool isSizeof(const Expr *E, const Expr *WithArg) { in isSizeof() argument
50 return sameDecl(UE->getArgumentExpr(), WithArg); in isSizeof()
55 inline bool isStrlen(const Expr *E, const Expr *WithArg) { in isStrlen() argument
61 sameDecl(CE->getArg(0), WithArg)); in isStrlen()
/external/chromium_org/chrome/browser/download/
Ddownload_target_determiner_unittest.cc53 using ::testing::WithArg;
162 .WillByDefault(WithArg<2>( in SetupDefaults()
165 .WillByDefault(WithArg<2>( in SetupDefaults()
178 .WillByDefault(WithArg<1>( in SetupDefaults()
589 .WillByDefault(WithArg<2>(ScheduleCallback(base::FilePath()))); in TEST_F()
685 .WillByDefault(WithArg<2>(ScheduleCallback( in TEST_F()
739 .WillByDefault(WithArg<2>(ScheduleCallback( in TEST_F()
847 .WillOnce(WithArg<2>(ScheduleCallback( in TEST_F()
876 .WillOnce(WithArg<2>(ScheduleCallback( in TEST_F()
898 .WillOnce(WithArg<2>(ScheduleCallback( in TEST_F()
[all …]
Ddownload_status_updater_unittest.cc22 using testing::WithArg;
98 .WillOnce(WithArg<0>(Invoke( in LinkManager()
Ddownload_history_unittest.cc29 using testing::WithArg;
235 EXPECT_CALL(manager(), AddObserver(_)).WillOnce(WithArg<0>(Invoke( in ExpectWillQueryDownloads()
436 .WillOnce(WithArg<0>( in InitItem()
/external/chromium/base/
Dgmock_unittest.cc17 using testing::WithArg;
129 .WillRepeatedly(WithArg<1>(ReturnVal())); in TEST()
/external/chromium_org/base/
Dgmock_unittest.cc17 using testing::WithArg;
129 .WillRepeatedly(WithArg<1>(ReturnVal())); in TEST()
/external/chromium_org/content/browser/
Dstartup_task_runner_unittest.cc24 using testing::WithArg;
237 .WillRepeatedly(WithArg<1>(Invoke(SaveTaskArg))); in TEST_F()
284 .WillRepeatedly(WithArg<1>(Invoke(SaveTaskArg))); in TEST_F()
/external/chromium_org/chrome/browser/chromeos/login/
Dexisting_user_controller_browsertest.cc58 using ::testing::WithArg;
243 .WillOnce(WithArg<0>(CreateAuthenticator(kUsername, kPassword))); in IN_PROC_BROWSER_TEST_P()
309 .WillOnce(WithArg<0>(CreateAuthenticator(kNewUsername, kPassword))); in IN_PROC_BROWSER_TEST_P()
436 .WillOnce(WithArg<0>(CreateAuthenticator(username, password))); in ExpectSuccessfulLogin()
600 .WillOnce(WithArg<0>(CreateAuthenticator(kUsername, kPassword))); in IN_PROC_BROWSER_TEST_P()
/external/chromium_org/sync/engine/
Dsync_scheduler_unittest.cc35 using testing::WithArg;
597 WithArg<1>( in TEST_F()
647 WithArg<2>(sessions::test_util::SimulateThrottled(throttle)), in TEST_F()
683 WithArg<1>(sessions::test_util::SimulateThrottled(throttle1)), in TEST_F()
709 WithArg<2>(sessions::test_util::SimulateThrottled(throttle1)), in TEST_F()
738 WithArg<2>(sessions::test_util::SimulateThrottled(throttle1)), in TEST_F()
782 WithArg<2>( in TEST_F()
816 WithArg<2>( in TEST_F()
/external/chromium_org/remoting/protocol/
Djingle_session_unittest.cc38 using testing::WithArg;
189 WithArg<0>(Invoke(this, &JingleSessionTest::SetHostSession)), in InitiateConnection()
/external/chromium/testing/gmock/include/gmock/
Dgmock-more-actions.h129 WithArg(const InnerAction& action) { in WithArg() function
/external/chromium/testing/gmock/test/
Dgmock_link_test.h176 using testing::WithArg;
357 .WillOnce(WithArg<0>(Invoke(&InvokeHelper::StaticVoidFromString))); in TEST()
Dgmock-more-actions_test.cc67 using testing::WithArg;
478 Action<bool(double x, int n)> b = WithArg<1>(Invoke(Unary)); // NOLINT in TEST()
/external/chromium_org/android_webview/browser/net/
Dandroid_stream_reader_url_request_job_unittest.cc40 using testing::WithArg;

12