diff options
author | chase@chromium.org <chase@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-14 20:26:41 +0000 |
---|---|---|
committer | chase@chromium.org <chase@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-14 20:26:41 +0000 |
commit | 6eb717945d816bb5b5e410183c948cdf136c0be1 (patch) | |
tree | ac6e9dd0b44872661f0c5d41f65ad4746d7df984 /chrome/test/startup/feature_startup_test.cc | |
parent | 36779fae2a6b23bf2673021cd12bcf6881c89c98 (diff) | |
download | chromium_src-6eb717945d816bb5b5e410183c948cdf136c0be1.zip chromium_src-6eb717945d816bb5b5e410183c948cdf136c0be1.tar.gz chromium_src-6eb717945d816bb5b5e410183c948cdf136c0be1.tar.bz2 |
Add reference build to tab switching tests.
Moves 'UseReferenceBuild' from NewTabUIStartupTest
into UITest. Run multiple tab switching tests for
the current and reference build. Locate the debug log
based on the current browser directory. Reformat the
output of the test so we print "times" as our test
type instead of "tab_switch" (probably requires a perf
dashboard update).
BUG=25200
TEST=tab switching test also tests reference build
Review URL: http://codereview.chromium.org/491090
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34483 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/startup/feature_startup_test.cc')
-rw-r--r-- | chrome/test/startup/feature_startup_test.cc | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/chrome/test/startup/feature_startup_test.cc b/chrome/test/startup/feature_startup_test.cc index b75c8ea..55b331e 100644 --- a/chrome/test/startup/feature_startup_test.cc +++ b/chrome/test/startup/feature_startup_test.cc @@ -31,20 +31,6 @@ class NewTabUIStartupTest : public UITest { static const int kNumCycles = 5; - void UseReferenceBuild() { - FilePath dir; - PathService::Get(chrome::DIR_TEST_TOOLS, &dir); - dir = dir.AppendASCII("reference_build"); -#if defined(OS_WIN) - dir = dir.AppendASCII("chrome"); -#elif defined(OS_LINUX) - dir = dir.AppendASCII("chrome_linux"); -#elif defined(OS_MACOSX) - dir = dir.AppendASCII("chrome_mac"); -#endif - browser_directory_ = dir; - } - void PrintTimings(const char* label, TimeDelta timings[kNumCycles], bool important) { std::string times; |