diff options
author | patrick@chromium.org <patrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-30 23:28:32 +0000 |
---|---|---|
committer | patrick@chromium.org <patrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-03-30 23:28:32 +0000 |
commit | 70e0acd2223d7a2f36aa0552112ed7f80ca32b87 (patch) | |
tree | 9cd51e69703410c5ed905fd7af4f825692cde3d3 /chrome/test/ui/ui_test.cc | |
parent | 2da8d317072968241f986ffed0be477900831889 (diff) | |
download | chromium_src-70e0acd2223d7a2f36aa0552112ed7f80ca32b87.zip chromium_src-70e0acd2223d7a2f36aa0552112ed7f80ca32b87.tar.gz chromium_src-70e0acd2223d7a2f36aa0552112ed7f80ca32b87.tar.bz2 |
- Add UI test for the V8 Benchmark Suite.
- Modify the V8 Benchmark Suite to work with the UI test framework.
- Add utils for JavaScript UI tests.
- Move automation.js files for SunSpider and V8 Benchmark to the
src/chrome/test/ui directory.
- Overload UITest::PrintResult for convenience.
BUG=9255
Review URL: http://codereview.chromium.org/42628
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@12823 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/ui/ui_test.cc')
-rw-r--r-- | chrome/test/ui/ui_test.cc | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/chrome/test/ui/ui_test.cc b/chrome/test/ui/ui_test.cc index c4d4cbc..2ae2955 100644 --- a/chrome/test/ui/ui_test.cc +++ b/chrome/test/ui/ui_test.cc @@ -363,7 +363,8 @@ void UITest::LaunchBrowser(const CommandLine& arguments, bool clear_profile) { CommandLine wrapped_command(ASCIIToWide(browser_wrapper)); wrapped_command.AppendArguments(command_line, true); command_line = wrapped_command; - LOG(INFO) << "BROWSER_WRAPPER was set, prefixing command_line with " << browser_wrapper; + LOG(INFO) << "BROWSER_WRAPPER was set, prefixing command_line with " + << browser_wrapper; } bool started = base::LaunchApp(command_line.argv(), @@ -812,6 +813,16 @@ void UITest::PrintResult(const std::string& measurement, "", "", units, important); } +void UITest::PrintResult(const std::string& measurement, + const std::string& modifier, + const std::string& trace, + const std::string& value, + const std::string& units, + bool important) { + PrintResultsImpl(measurement, modifier, trace, value, "", "", units, + important); +} + void UITest::PrintResultMeanAndError(const std::string& measurement, const std::string& modifier, const std::string& trace, |