Searched defs:expected_state (Results 1 - 14 of 14) sorted by relevance

/external/chromium_org/content/browser/service_worker/
H A Dservice_worker_handle_unittest.cc29 blink::WebServiceWorkerState expected_state,
36 EXPECT_EQ(expected_state, param.c);
28 VerifyStateChangedMessage(int expected_handle_id, blink::WebServiceWorkerState expected_state, const IPC::Message* message) argument
/external/chromium_org/chrome/browser/search_engines/
H A Dsearch_provider_install_data_unittest.cc49 void VerifyInstallState(SearchProviderInstallData::State expected_state,
103 SearchProviderInstallData::State expected_state,
108 EXPECT_EQ(expected_state, actual_state)
110 << expected_state << ". Actual " << actual_state << ".";
102 VerifyInstallState( SearchProviderInstallData::State expected_state, const std::string& url) argument
/external/chromium_org/chromeos/network/
H A Dnetwork_change_notifier_chromeos_unittest.cc49 NotifierState expected_state; member in struct:chromeos::__anon6174::NotifierUpdateTestCase
228 VerifyNotifierState(test_cases[i].expected_state);
/external/chromium_org/content/browser/accessibility/
H A Daccessibility_win_browsertest.cc198 void SetExpectedState(LONG expected_state);
283 void AccessibleChecker::SetExpectedState(LONG expected_state) { argument
284 state_ = expected_state;
/external/chromium_org/content/browser/download/
H A Ddownload_item_impl_unittest.cc296 DownloadItem::DownloadState expected_state) {
297 EXPECT_EQ(expected_state, item->GetState());
299 if (expected_state == DownloadItem::IN_PROGRESS) {
294 CleanupItem(DownloadItemImpl* item, MockDownloadFile* download_file, DownloadItem::DownloadState expected_state) argument
/external/chromium_org/chrome/browser/chromeos/login/
H A Dwizard_controller_browsertest.cc175 policy::AutoEnrollmentState expected_state,
178 if (expected_state == actual_state)
174 QuitLoopOnAutoEnrollmentProgress( policy::AutoEnrollmentState expected_state, base::RunLoop* loop, policy::AutoEnrollmentState actual_state) argument
/external/chromium_org/chrome/browser/download/
H A Dsave_page_browsertest.cc145 DownloadItem::DownloadState expected_state,
171 if (info.state != expected_state) {
173 << " != " << expected_state;
141 DownloadStoredProperly( const GURL& expected_url, const base::FilePath& expected_path, int64 num_files, DownloadItem::DownloadState expected_state, DownloadItem* item, const history::DownloadRow& info) argument
/external/chromium_org/chrome/browser/metrics/
H A Dthread_watcher_unittest.cc42 STARTED_WAITING, // Start waiting for state_ to change to expected_state.
165 void WaitForWaitStateChange(TimeDelta wait_time, WaitState expected_state) { argument
170 while (wait_state_ != expected_state && TimeTicks::Now() < end_time)
181 State WaitForStateChange(const TimeDelta& wait_time, State expected_state) { argument
187 // object's state changes to the expected_state or until wait_time elapses.
192 while (thread_watcher_state_ != expected_state &&
200 if (exit_state == expected_state)
209 CheckResponseState expected_state) {
215 // object's check_response_state_ changes to the expected_state or until
221 while (check_response_state_ != expected_state
208 WaitForCheckResponse(const TimeDelta& wait_time, CheckResponseState expected_state) argument
[all...]
/external/chromium_org/chrome/browser/ui/panels/
H A Dbase_panel_browser_test.cc281 Panel* panel, ActiveState expected_state) {
282 DCHECK(expected_state == SHOW_AS_ACTIVE ||
283 expected_state == SHOW_AS_INACTIVE);
292 PanelActiveStateObserver signal(panel, expected_state == SHOW_AS_ACTIVE);
280 WaitForPanelActiveState( Panel* panel, ActiveState expected_state) argument
/external/chromium_org/net/ftp/
H A Dftp_network_transaction_unittest.cc639 State expected_state)
642 expected_state_(expected_state) {}
646 State expected_state)
649 expected_state_(expected_state) {}
674 FtpSocketDataProviderEvilPasv(const char* pasv_response, State expected_state) argument
676 expected_state_(expected_state) {
699 FtpSocketDataProviderEvilSize(const char* size_response, State expected_state) argument
701 expected_state_(expected_state) {
638 FtpSocketDataProviderEvilEpsv(const char* epsv_response, State expected_state) argument
644 FtpSocketDataProviderEvilEpsv(const char* epsv_response, size_t epsv_response_length, State expected_state) argument
/external/chromium_org/ui/base/ime/
H A Dinput_method_chromeos_unittest.cc114 uint32 expected_state,
118 expected_state_(expected_state),
146 uint32 expected_state)
149 expected_state_(expected_state) {}
112 SynchronousKeyEventHandler(uint32 expected_keyval, uint32 expected_keycode, uint32 expected_state, KeyEventHandlerBehavior behavior) argument
144 AsynchronousKeyEventHandler(uint32 expected_keyval, uint32 expected_keycode, uint32 expected_state) argument
/external/chromium_org/content/common/gpu/media/
H A Dvideo_decode_accelerator_unittest.cc1032 // Wait for |note| to report a state and if it's not |expected_state| then
1037 ClientState expected_state) {
1039 if (state == expected_state) return;
1042 << ", instead of " << expected_state; local
1034 AssertWaitForStateOrDeleted( ClientStateNotification<ClientState>* note, GLRenderingVDAClient* client, ClientState expected_state) argument
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
H A Dwebrtcsession_unittest.cc661 BaseSession::State expected_state) {
663 EXPECT_EQ(expected_state, session_->state());
689 BaseSession::State expected_state) {
691 EXPECT_EQ(expected_state, session_->state());
1074 WebRtcSessionCreateSDPObserverForTest::State expected_state = local
1079 EXPECT_EQ_WAIT(expected_state, observers[i]->state(), 1000);
660 SetLocalDescriptionExpectState(SessionDescriptionInterface* desc, BaseSession::State expected_state) argument
688 SetRemoteDescriptionExpectState(SessionDescriptionInterface* desc, BaseSession::State expected_state) argument
/external/chromium_org/chrome/browser/extensions/
H A Dextension_service_unittest.cc785 UpdateState expected_state) {
791 UpdateExtension(id, crx_path, expected_state);
796 UpdateState expected_state) {
828 int expected_error_count = (expected_state == FAILED) ? 1 : 0;
831 if (expected_state <= FAILED) {
838 (expected_state >= INSTALLED) ? 1 : 0;
840 (expected_state >= ENABLED) ? 1 : 0;
782 PackCRXAndUpdateExtension(const std::string& id, const base::FilePath& dir_path, const base::FilePath& pem_path, UpdateState expected_state) argument
794 UpdateExtension(const std::string& id, const base::FilePath& in_path, UpdateState expected_state) argument

Completed in 452 milliseconds