diff options
author | hashimoto <hashimoto@chromium.org> | 2014-08-29 02:19:45 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-08-29 09:21:00 +0000 |
commit | 3113536e4241cd192680f98b2d1be2b2988b35dd (patch) | |
tree | 27b81a16ede2cb8de42e5157ba9c63598f7bc3ec /apps/app_load_service_factory.cc | |
parent | eefc52bd9cb4ceb4d007230a49445e038e118c2f (diff) | |
download | chromium_src-3113536e4241cd192680f98b2d1be2b2988b35dd.zip chromium_src-3113536e4241cd192680f98b2d1be2b2988b35dd.tar.gz chromium_src-3113536e4241cd192680f98b2d1be2b2988b35dd.tar.bz2 |
Move TemplateURLService related tests to components/search_engines
Put tests next to the code being tested.
Move tests to components/ without actually removing dependencies with temporary DEPS rules added.
This results in these tests still built as parts of unit_tests, not components_unittests.
Fix TemplateURLServiceTestUtil to simplify the code and reduce chrome dependencies:
- Create KeywordWebDataService instead of depending on WebDataServiceFactory.
- Remove TemplateURLService::SetKeywordSearchTermsForURL() and TestingTemplateURLService. Instead, TestingTemplateURLServiceClient is responsible to implement SetKeywordSearchTermsForURL().
- Remove content::TestBrowserThreadBundle from test util. Tests are responsible to set up one. This enables TemplateURLServiceTestSyncTest to use multiple test util instances.
BUG=387985
TEST=unit_tests
Review URL: https://codereview.chromium.org/513133002
Cr-Commit-Position: refs/heads/master@{#292597}
Diffstat (limited to 'apps/app_load_service_factory.cc')
0 files changed, 0 insertions, 0 deletions