Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5500)

Unified Diff: chrome/test/in_process_browser_test.h

Issue 214047: Allow an entire InProcessBrowserTest subclass to configure the host resolver ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/test/in_process_browser_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/in_process_browser_test.h
===================================================================
--- chrome/test/in_process_browser_test.h (revision 26713)
+++ chrome/test/in_process_browser_test.h (working copy)
@@ -64,6 +64,19 @@
// Override this rather than TestBody.
virtual void RunTestOnMainThread() = 0;
+ // We need these special methods because InProcessBrowserTest::SetUp is the
+ // bottom of the stack that winds up calling your test method, so it is not
+ // always an option to do what you want by overriding it and calling the
+ // superclass version.
+ //
+ // Override this for things you would normally override SetUp for. It will be
+ // called before your individual test fixture method is run, but after most
+ // of the overhead initialization has occured.
+ virtual void SetUpInProcessBrowserTestFixture() {}
+
+ // Override this for things you would normally override TearDown for.
+ virtual void TearDownInProcessBrowserTestFixture() {}
+
// Override this to add command line flags specific to your test.
virtual void SetUpCommandLine(CommandLine* command_line) {}
« no previous file with comments | « no previous file | chrome/test/in_process_browser_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698