summaryrefslogtreecommitdiffstats
path: root/chrome/test/ui/ui_test.h
diff options
context:
space:
mode:
authorpatrick@chromium.org <patrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-27 17:54:30 +0000
committerpatrick@chromium.org <patrick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-27 17:54:30 +0000
commit991f8cb1f9e13f7de29ba9fa0733d8d1b377c4d5 (patch)
treea526dcb5cd1ee2d6cecf6ab05e10b3e6b2950c42 /chrome/test/ui/ui_test.h
parent287978ecd4a288874454b38b7d4b1207b8aea339 (diff)
downloadchromium_src-991f8cb1f9e13f7de29ba9fa0733d8d1b377c4d5.zip
chromium_src-991f8cb1f9e13f7de29ba9fa0733d8d1b377c4d5.tar.gz
chromium_src-991f8cb1f9e13f7de29ba9fa0733d8d1b377c4d5.tar.bz2
Add --log-level to the list of flags accepted by UI tests.
Review URL: http://codereview.chromium.org/27264 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10614 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/ui/ui_test.h')
-rw-r--r--chrome/test/ui/ui_test.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/test/ui/ui_test.h b/chrome/test/ui/ui_test.h
index a0436f9..1bec6cf 100644
--- a/chrome/test/ui/ui_test.h
+++ b/chrome/test/ui/ui_test.h
@@ -292,6 +292,11 @@ class UITest : public testing::Test {
js_flags_ = value;
}
+ static std::wstring log_level() { return log_level_; }
+ static void set_log_level(const std::wstring& value) {
+ log_level_ = value;
+ }
+
// Called by some tests that wish to have a base profile to start from. This
// "user data directory" (containing one or more profiles) will be recursively
// copied into the user data directory for the test and the files will be
@@ -440,6 +445,7 @@ class UITest : public testing::Test {
static int timeout_ms_; // Timeout in milliseconds to wait
// for an test to finish.
static std::wstring js_flags_; // Flags passed to the JS engine.
+ static std::wstring log_level_; // Logging level.
#if defined(OS_WIN)
// TODO(port): restore me after AutomationProxy works.
scoped_ptr<AutomationProxy> server_;