diff options
author | kuan@chromium.org <kuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-16 00:23:05 +0000 |
---|---|---|
committer | kuan@chromium.org <kuan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-16 00:23:05 +0000 |
commit | 7e6460b4881bcfb7ff202d212d5932fd8b7216ba (patch) | |
tree | d47c6a493091c402fec33af2f073fc77ab0f6193 /chrome | |
parent | d05301aa43b2f9358e69262151fc521fca6db57a (diff) | |
download | chromium_src-7e6460b4881bcfb7ff202d212d5932fd8b7216ba.zip chromium_src-7e6460b4881bcfb7ff202d212d5932fd8b7216ba.tar.gz chromium_src-7e6460b4881bcfb7ff202d212d5932fd8b7216ba.tar.bz2 |
block sad tab controller unittest that have leakages for now.
BUG=27212
Review URL: http://codereview.chromium.org/500035
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34628 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/cocoa/sad_tab_controller_unittest.mm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/sad_tab_controller_unittest.mm b/chrome/browser/cocoa/sad_tab_controller_unittest.mm index 9395cbb..6a00e97 100644 --- a/chrome/browser/cocoa/sad_tab_controller_unittest.mm +++ b/chrome/browser/cocoa/sad_tab_controller_unittest.mm @@ -59,6 +59,7 @@ class SadTabControllerTest : public CocoaTest { static bool link_clicked_; }; +/* TODO(kuan): (BUG:30522) enable this test when leak is fixed TEST_F(SadTabControllerTest, TestWithTabContents) { scoped_ptr<TabContents> tab_contents(CreateTabContents()); scoped_nsobject<SadTabController> @@ -67,6 +68,7 @@ TEST_F(SadTabControllerTest, TestWithTabContents) { NSButton* link = GetLinkButton(controller); EXPECT_TRUE(link); } +*/ TEST_F(SadTabControllerTest, TestWithoutTabContents) { scoped_nsobject<SadTabController> controller(CreateController(NULL)); @@ -75,6 +77,7 @@ TEST_F(SadTabControllerTest, TestWithoutTabContents) { EXPECT_FALSE(link); } +/* TODO(kuan): (BUG:30522) enable this when leak is fixed TEST_F(SadTabControllerTest, TestClickOnLink) { scoped_ptr<TabContents> tab_contents(CreateTabContents()); scoped_nsobject<SadTabController> @@ -85,6 +88,7 @@ TEST_F(SadTabControllerTest, TestClickOnLink) { [link performClick:link]; EXPECT_TRUE(link_clicked_); } +*/ } // namespace |