diff options
author | maruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-21 19:22:24 +0000 |
---|---|---|
committer | maruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-21 19:22:24 +0000 |
commit | 9638a0712a9a1f7fe7404f0f6b1bb6d6c0cfa13a (patch) | |
tree | ba67c39fe45268cbc2761c1ea8fd63a3644e5fe5 /chrome/test/ui/ui_test.h | |
parent | e01f942655774bae103f142542ab678eec5bfeb5 (diff) | |
download | chromium_src-9638a0712a9a1f7fe7404f0f6b1bb6d6c0cfa13a.zip chromium_src-9638a0712a9a1f7fe7404f0f6b1bb6d6c0cfa13a.tar.gz chromium_src-9638a0712a9a1f7fe7404f0f6b1bb6d6c0cfa13a.tar.bz2 |
Add the ability to disable breakpad while running the ui tests.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1169 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/ui/ui_test.h')
-rw-r--r-- | chrome/test/ui/ui_test.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/test/ui/ui_test.h b/chrome/test/ui/ui_test.h index cd9ede9..5e54c28 100644 --- a/chrome/test/ui/ui_test.h +++ b/chrome/test/ui/ui_test.h @@ -216,6 +216,12 @@ class UITest : public testing::Test { silent_dump_on_dcheck_ = value; } + // Get/Set a flag to disable breakpad handling. + static bool disable_breakpad() { return disable_breakpad_; } + static void set_disable_breakpad(bool value) { + disable_breakpad_ = value; + } + // Get/Set a flag to run the plugin processes inside the sandbox when running // the tests static bool safe_plugins() { return safe_plugins_; } @@ -345,6 +351,7 @@ class UITest : public testing::Test { static bool enable_dcheck_; // Enable dchecks in release mode. static bool silent_dump_on_dcheck_; // Dump process memory on dcheck without // crashing. + static bool disable_breakpad_; // Disable breakpad on the browser. static int timeout_ms_; // Timeout in milliseconds to wait // for an test to finish. ::scoped_ptr<AutomationProxy> server_; |