summaryrefslogtreecommitdiffstats
path: root/chrome_frame/test/chrome_frame_unittests.h
diff options
context:
space:
mode:
authorrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-07 21:20:19 +0000
committerrobertshield@chromium.org <robertshield@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-07 21:20:19 +0000
commit0b5a2f86ee50eaa88d090c9f0e0a81b30e650b39 (patch)
treec28c9683dcaf72e73b1a0557e2e80851dcc9ccbe /chrome_frame/test/chrome_frame_unittests.h
parentdcf3c878a87776d20f021d9bbd2b4f3b09fbb44e (diff)
downloadchromium_src-0b5a2f86ee50eaa88d090c9f0e0a81b30e650b39.zip
chromium_src-0b5a2f86ee50eaa88d090c9f0e0a81b30e650b39.tar.gz
chromium_src-0b5a2f86ee50eaa88d090c9f0e0a81b30e650b39.tar.bz2
Kill all browser instances at test start up in addition to at tear down which should improve test reliability.
Make running the Chrome Frame integration tests slightly less onerous by not killing non-ChromeFrame instances of Chrome. BUG=All chrome.exe instances would die when running these tests, which made them annoying to run. TEST=Only Chrome Frame instances of Chrome will be killed when running the integration tests. Review URL: http://codereview.chromium.org/467036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33991 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/test/chrome_frame_unittests.h')
-rw-r--r--chrome_frame/test/chrome_frame_unittests.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome_frame/test/chrome_frame_unittests.h b/chrome_frame/test/chrome_frame_unittests.h
index c39058b..b009faf 100644
--- a/chrome_frame/test/chrome_frame_unittests.h
+++ b/chrome_frame/test/chrome_frame_unittests.h
@@ -63,6 +63,9 @@ class ChromeFrameTestWithWebServer: public testing::Test {
void VersionTest(BrowserKind browser, const wchar_t* page,
const wchar_t* result_file_to_check);
+ // Closes all browsers in preparation for a test and during cleanup.
+ void CloseAllBrowsers();
+
void CloseBrowser();
// Ensures (well, at least tries to ensure) that the browser window has focus.