/external/chromium/chrome/browser/search_engines/ |
template_url_fetcher_unittest.cc | 51 test_util_.SetUp(); 52 test_util_.StartIOThread(); 53 ASSERT_TRUE(test_util_.profile()); 54 test_util_.profile()->CreateTemplateURLFetcher(); 55 ASSERT_TRUE(test_util_.profile()->GetTemplateURLFetcher()); 57 test_util_.profile()->CreateRequestContext(); 58 ASSERT_TRUE(test_util_.profile()->GetRequestContext()); 63 test_util_.TearDown(); 88 TemplateURLModelTestUtil test_util_; member in class:TemplateURLFetcherTest 174 test_util_.profile()->GetTemplateURLFetcher()->ScheduleDownload [all...] |
template_url_model_unittest.cc | 112 test_util_.SetUp(); 116 test_util_.TearDown(); 260 EXPECT_EQ(expected_changed_count, test_util_.GetObserverCount()); 261 test_util_.ResetObserverCount(); 264 EXPECT_LE(1, test_util_.GetObserverCount()); 265 test_util_.ResetObserverCount(); 270 void VerifyLoad() { test_util_.VerifyLoad(); } 271 void ChangeModelToLoadState() { test_util_.ChangeModelToLoadState(); } 272 void ResetModel(bool verify_load) { test_util_.ResetModel(verify_load); } 274 return test_util_.GetAndClearSearchTerm() 284 TemplateURLModelTestUtil test_util_; member in class:TemplateURLModelTest [all...] |
/external/chromium_org/chrome/browser/search_engines/ |
template_url_service_unittest.cc | 205 TemplateURLService* model() { return test_util_.model(); } 208 TemplateURLServiceTestUtil test_util_; member in class:TemplateURLServiceTest 247 test_util_.SetUp(); 251 test_util_.TearDown(); 303 return new TemplateURL(test_util_.profile(), data); 313 test_util_.profile(), &default_search_provider_index); 335 test_util_.ChangeModelToLoadState(); 346 test_util_.ResetModel(true); 356 test_util_.ResetModel(true); 364 EXPECT_EQ(expected_changed_count, test_util_.GetObserverCount()) [all...] |
template_url_fetcher_unittest.cc | 49 test_util_.SetUp(); 50 TestingProfile* profile = test_util_.profile(); 60 test_util_.TearDown(); 80 TemplateURLServiceTestUtil test_util_; member in class:TemplateURLFetcherTest 152 test_util_.profile())->ScheduleDownload( 167 test_util_.ChangeModelToLoadState(); 168 ASSERT_FALSE(test_util_.model()->GetTemplateURLForKeyword(keyword)); 180 const TemplateURL* t_url = test_util_.model()->GetTemplateURLForKeyword( 191 test_util_.ChangeModelToLoadState(); 192 ASSERT_FALSE(test_util_.model()->GetTemplateURLForKeyword(keyword)) [all...] |
/external/chromium_org/chrome/browser/autocomplete/ |
autocomplete_result_unittest.cc | 72 test_util_.SetUp(); 73 test_util_.VerifyLoad(); 77 test_util_.TearDown(); 101 TemplateURLServiceTestUtil test_util_; member in class:AutocompleteResultTest 162 last_result.SortAndCull(input, test_util_.profile()); 168 current_result.SortAndCull(input, test_util_.profile()); 169 current_result.CopyOldMatches(input, last_result, test_util_.profile()); 195 r1.SortAndCull(input, test_util_.profile()); 276 result.SortAndCull(input, test_util_.profile()); 298 test_util_.model()->Add(new TemplateURL(test_util_.profile(), url_data)) [all...] |
/external/chromium_org/chrome/browser/sync/glue/ |
search_engine_data_type_controller_unittest.cc | 46 test_util_.SetUp(); 47 service_.reset(new ProfileSyncServiceMock(test_util_.profile())); 49 // Feed the DTC test_util_'s profile so it is reused later. 53 test_util_.profile(), 62 test_util_.TearDown(); 68 test_util_.VerifyLoad(); 106 TemplateURLServiceTestUtil test_util_; member in class:browser_sync::__anon8412::SyncSearchEngineDataTypeControllerTest
|