diff options
author | cmp@chromium.org <cmp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-15 20:15:11 +0000 |
---|---|---|
committer | cmp@chromium.org <cmp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-15 20:15:11 +0000 |
commit | 536c281f8e73869167209a8687aeab388d88ea21 (patch) | |
tree | 313bbe52a973d607a317d2d4768111e5ed3109c6 | |
parent | 380c6e7c5f883a77be1bbd782a467859b8cec8b3 (diff) | |
download | chromium_src-536c281f8e73869167209a8687aeab388d88ea21.zip chromium_src-536c281f8e73869167209a8687aeab388d88ea21.tar.gz chromium_src-536c281f8e73869167209a8687aeab388d88ea21.tar.bz2 |
Print pages in the reference build.
Remove a null SetUp method from PageCyclerExtensionTest
and remove redundant call to parent's SetUp method.
BUG=none
TEST=page cycler tests with a failing current build
should produce regular results for the reference build
since pages will be defined
Review URL: http://codereview.chromium.org/6698010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78270 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/test/page_cycler/page_cycler_test.cc | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/chrome/test/page_cycler/page_cycler_test.cc b/chrome/test/page_cycler/page_cycler_test.cc index cb60b4c..d0f3355 100644 --- a/chrome/test/page_cycler/page_cycler_test.cc +++ b/chrome/test/page_cycler/page_cycler_test.cc @@ -328,29 +328,13 @@ class PageCyclerReferenceTest : public PageCyclerTest { } void RunTest(const char* graph, const char* name, bool use_http) { - std::wstring pages; - std::string timings; - size_t start_size = base::GetSystemCommitCharge(); - RunPageCycler(name, &pages, &timings, use_http); - if (timings.empty()) - return; - size_t stop_size = base::GetSystemCommitCharge(); - - if (!print_times_only_) { - PrintMemoryUsageInfo("_ref"); - PrintIOPerfInfo("_ref"); - PrintSystemCommitCharge("_ref", stop_size - start_size, - false /* not important */); - } - - PrintResultList(graph, "", "t_ref", timings, "ms", - true /* important */); + // Run the test. + PageCyclerTest::RunTestWithSuffix(graph, name, use_http, "_ref"); } }; class PageCyclerExtensionTest : public PageCyclerTest { public: - void SetUp() {} void RunTest(const char* graph, const char* extension_profile, const char* output_suffix, const char* name, bool use_http) { // Set up the extension profile directory. @@ -363,7 +347,6 @@ class PageCyclerExtensionTest : public PageCyclerTest { set_template_user_data(data_dir); // Now run the test. - PageCyclerTest::SetUp(); PageCyclerTest::RunTestWithSuffix(graph, name, use_http, output_suffix); } }; |