diff options
author | tim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-23 17:11:26 +0000 |
---|---|---|
committer | tim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-23 17:11:26 +0000 |
commit | 5c5de8c2e01750b642250c678d1cea09b057d051 (patch) | |
tree | 167db812b6955c2701a9725257601d97146c1116 /chrome/test/in_process_browser_test.cc | |
parent | e5709adccae0cfa3856d16cb3a5d908e51cbf346 (diff) | |
download | chromium_src-5c5de8c2e01750b642250c678d1cea09b057d051.zip chromium_src-5c5de8c2e01750b642250c678d1cea09b057d051.tar.gz chromium_src-5c5de8c2e01750b642250c678d1cea09b057d051.tar.bz2 |
Add SetUpTestFixtureTest/TearDownTestFixtureTest methods to InProcessBrowserTest that let tests do
what is normally done by overriding SetUp/TearDown methods. This special method is needed because
of the way SetUp winds up at the bottom of the stack that invokes your test fixture methods.
Make the LiveBookmarksSyncTest class allow direct lookup for google.com domain as part of setup,
which these tests need to access GAIA and sync servers.
Review URL: http://codereview.chromium.org/214047
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26938 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/in_process_browser_test.cc')
-rw-r--r-- | chrome/test/in_process_browser_test.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/test/in_process_browser_test.cc b/chrome/test/in_process_browser_test.cc index 74dfe5c..89f128a 100644 --- a/chrome/test/in_process_browser_test.cc +++ b/chrome/test/in_process_browser_test.cc @@ -141,7 +141,10 @@ void InProcessBrowserTest::SetUp() { net::ScopedDefaultHostResolverProc scoped_host_resolver_proc( host_resolver_.get()); + + SetUpInProcessBrowserTestFixture(); BrowserMain(params); + TearDownInProcessBrowserTestFixture(); } void InProcessBrowserTest::TearDown() { |