diff options
author | albertb@google.com <albertb@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-10 21:19:34 +0000 |
---|---|---|
committer | albertb@google.com <albertb@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-10 21:19:34 +0000 |
commit | 2055717d5e473390c7fac2c1871c4fe11c66c19c (patch) | |
tree | d849078c4dc4a462f9ae52a4f7269741882c816c /chrome/browser/dom_ui/dom_ui_unittest.cc | |
parent | 9e43ee4061beb03ab170520b6b511025b8eaf236 (diff) | |
download | chromium_src-2055717d5e473390c7fac2c1871c4fe11c66c19c.zip chromium_src-2055717d5e473390c7fac2c1871c4fe11c66c19c.tar.gz chromium_src-2055717d5e473390c7fac2c1871c4fe11c66c19c.tar.bz2 |
Fix the crashing chromeos sync tests and revert the patch that disabled them.
BUG=29994
Review URL: http://codereview.chromium.org/490007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34283 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/dom_ui/dom_ui_unittest.cc')
-rw-r--r-- | chrome/browser/dom_ui/dom_ui_unittest.cc | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/chrome/browser/dom_ui/dom_ui_unittest.cc b/chrome/browser/dom_ui/dom_ui_unittest.cc index af15610..81df016 100644 --- a/chrome/browser/dom_ui/dom_ui_unittest.cc +++ b/chrome/browser/dom_ui/dom_ui_unittest.cc @@ -7,17 +7,6 @@ #include "chrome/common/url_constants.h" #include "testing/gtest/include/gtest/gtest.h" -// http://crbug.com/29994 -#if defined(OS_CHROMEOS) -#define MAYBE_DOMUIToStandard DISABLED_DOMUIToStandard -#define MAYBE_DOMUIToDOMUI DISABLED_DOMUIToDOMUI -#define MAYBE_StandardToDOMUI DISABLED_StandardToDOMUI -#else -#define MAYBE_DOMUIToStandard DOMUIToStandard -#define MAYBE_DOMUIToDOMUI DOMUIToDOMUI -#define MAYBE_StandardToDOMUI StandardToDOMUI -#endif - class DOMUITest : public RenderViewHostTestHarness { public: DOMUITest() : ui_thread_(ChromeThread::UI, MessageLoop::current()) {} @@ -94,7 +83,7 @@ class DOMUITest : public RenderViewHostTestHarness { // Tests that the New Tab Page flags are correctly set and propogated by // TabContents when we first navigate to a DOM UI page, then to a standard // non-DOM-UI page. -TEST_F(DOMUITest, MAYBE_DOMUIToStandard) { +TEST_F(DOMUITest, DOMUIToStandard) { // The sync service must be created to host the sync NTP advertisement. profile_->CreateProfileSyncService(); @@ -109,7 +98,7 @@ TEST_F(DOMUITest, MAYBE_DOMUIToStandard) { DoNavigationTest(&contents2, 101); } -TEST_F(DOMUITest, MAYBE_DOMUIToDOMUI) { +TEST_F(DOMUITest, DOMUIToDOMUI) { // The sync service must be created to host the sync NTP advertisement. profile_->CreateProfileSyncService(); @@ -129,7 +118,7 @@ TEST_F(DOMUITest, MAYBE_DOMUIToDOMUI) { EXPECT_TRUE(contents()->FocusLocationBarByDefault()); } -TEST_F(DOMUITest, MAYBE_StandardToDOMUI) { +TEST_F(DOMUITest, StandardToDOMUI) { // Start a pending navigation to a regular page. GURL std_url("http://google.com/"); |