From 9638a0712a9a1f7fe7404f0f6b1bb6d6c0cfa13a Mon Sep 17 00:00:00 2001 From: "maruel@google.com" Date: Thu, 21 Aug 2008 19:22:24 +0000 Subject: 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 --- chrome/test/ui/ui_test.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'chrome/test/ui/ui_test.h') 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 server_; -- cgit v1.1