diff options
author | mrossetti@chromium.org <mrossetti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-23 18:29:58 +0000 |
---|---|---|
committer | mrossetti@chromium.org <mrossetti@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-23 18:29:58 +0000 |
commit | a1dc714c599af4971dfe74a71c73a2be0ff3033b (patch) | |
tree | 9b852ede890cf1bce5ad91bca3022b45954e1d89 /chrome/browser | |
parent | 25067e0761fd5545b4eafaa8880cfc5d81b5e211 (diff) | |
download | chromium_src-a1dc714c599af4971dfe74a71c73a2be0ff3033b.zip chromium_src-a1dc714c599af4971dfe74a71c73a2be0ff3033b.tar.gz chromium_src-a1dc714c599af4971dfe74a71c73a2be0ff3033b.tar.bz2 |
Improve unit test robustness.
BUG=28405
TEST=none
Review URL: http://codereview.chromium.org/425007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32814 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/cocoa/bookmark_bubble_controller_unittest.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/bookmark_bubble_controller_unittest.mm b/chrome/browser/cocoa/bookmark_bubble_controller_unittest.mm index 9f037da..a053140 100644 --- a/chrome/browser/cocoa/bookmark_bubble_controller_unittest.mm +++ b/chrome/browser/cocoa/bookmark_bubble_controller_unittest.mm @@ -151,7 +151,7 @@ TEST_F(BookmarkBubbleControllerTest, TestFolderWithBlankName) { // One of the items should be blank and its node should be node2. NSArray* items = [[controller folderPopUpButton] itemArray]; - EXPECT_EQ(6U, [items count]); + EXPECT_GT([items count], 4U); BOOL blankFolderFound = NO; for (NSMenuItem* item in [[controller folderPopUpButton] itemArray]) { if ([[item title] length] == 0 && |