diff options
author | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-01 19:53:59 +0000 |
---|---|---|
committer | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-01 19:53:59 +0000 |
commit | b5f95100c3fb57469f24a2dc7feb62b41c8f5098 (patch) | |
tree | 36e09bf0d2ab8076059dad1db4cb980b442bdf90 /chrome/test/in_process_browser_test.h | |
parent | 38bbf0e97a45e150a147c051de9d4626b7d3e098 (diff) | |
download | chromium_src-b5f95100c3fb57469f24a2dc7feb62b41c8f5098.zip chromium_src-b5f95100c3fb57469f24a2dc7feb62b41c8f5098.tar.gz chromium_src-b5f95100c3fb57469f24a2dc7feb62b41c8f5098.tar.bz2 |
Adds time-out to browser-tests to prevent a hanging test from hanging the entire test suite.
Bug=None
TEST=None
Review URL: http://codereview.chromium.org/151158
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19755 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/in_process_browser_test.h')
-rw-r--r-- | chrome/test/in_process_browser_test.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/test/in_process_browser_test.h b/chrome/test/in_process_browser_test.h index 7795c8a..27f5bff 100644 --- a/chrome/test/in_process_browser_test.h +++ b/chrome/test/in_process_browser_test.h @@ -67,6 +67,9 @@ class InProcessBrowserTest : public testing::Test { // do that during testing. virtual void ConfigureHostMapper(net::RuleBasedHostMapper* host_mapper); + // Invoked when a test is not finishing in a timely manner. + void TimedOut(); + // Starts an HTTP server. HTTPTestServer* StartHTTPServer(); |