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

Unified Diff: chrome/test/ui/sunspider_uitest.cc

Issue 53080: Minor cleanup:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/ui/sunspider_uitest.cc
===================================================================
--- chrome/test/ui/sunspider_uitest.cc (revision 12479)
+++ chrome/test/ui/sunspider_uitest.cc (working copy)
@@ -21,7 +21,7 @@
static const FilePath::CharType kStartFile[] =
FILE_PATH_LITERAL("sunspider-driver.html");
-const wchar_t kRunSunSpiderTest[] = L"run-sunspider-test";
+const wchar_t kRunSunSpider[] = L"run-sunspider";
class SunSpiderTest : public UITest {
public:
@@ -140,7 +140,7 @@
PrintResultMeanAndError("total", "", trace_name, total, "ms", true);
- ResultsMap::iterator it = results.begin();
+ ResultsMap::const_iterator it = results.begin();
for (; it != results.end(); ++it)
PrintResultList(it->first, "", trace_name, it->second, "ms", false);
}
@@ -169,14 +169,14 @@
} // namespace
TEST_F(SunSpiderTest, Perf) {
- if (!CommandLine::ForCurrentProcess()->HasSwitch(kRunSunSpiderTest))
+ if (!CommandLine::ForCurrentProcess()->HasSwitch(kRunSunSpider))
return;
RunTest();
}
TEST_F(SunSpiderReferenceTest, Perf) {
- if (!CommandLine::ForCurrentProcess()->HasSwitch(kRunSunSpiderTest))
+ if (!CommandLine::ForCurrentProcess()->HasSwitch(kRunSunSpider))
return;
RunTest();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698