Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(262)

Unified Diff: ios/clean/chrome/browser/ui/tools/tools_mediator_unittest.mm

Issue 2906133002: [ios clean] Fixes ToolsMediator unit test (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/clean/chrome/browser/ui/tools/tools_mediator_unittest.mm
diff --git a/ios/clean/chrome/browser/ui/tools/tools_mediator_unittest.mm b/ios/clean/chrome/browser/ui/tools/tools_mediator_unittest.mm
index 7928f4aeb0ee466751a642daed1b61fbeaf0bc33..0d94cd5dc768fef62c39b811dcd1ec4ae6766b3b 100644
--- a/ios/clean/chrome/browser/ui/tools/tools_mediator_unittest.mm
+++ b/ios/clean/chrome/browser/ui/tools/tools_mediator_unittest.mm
@@ -8,6 +8,7 @@
#import "ios/clean/chrome/browser/ui/tools/tools_mediator_private.h"
#import "ios/clean/chrome/browser/ui/tools/tools_menu_item.h"
#import "ios/shared/chrome/browser/ui/tools_menu/tools_menu_configuration.h"
+#include "testing/gtest_mac.h"
#include "testing/platform_test.h"
#import "third_party/ocmock/OCMock/OCMock.h"
#include "third_party/ocmock/gtest_support.h"
@@ -81,7 +82,7 @@ TEST_F(ToolsMediatorTest, TestMenuItemsForTabSwitcherNonIncognito) {
andConfiguration:configuration];
ToolsMenuItem* closeAllTabsItem = mediator_.menuItemsArray[2];
- EXPECT_EQ(@"Close All Incognito Tabs", closeAllTabsItem.title);
+ EXPECT_NSEQ(@"Close All Incognito Tabs", closeAllTabsItem.title);
EXPECT_EQ(5ul, [mediator_.menuItemsArray count]);
}
@@ -95,7 +96,7 @@ TEST_F(ToolsMediatorTest, TestMenuItemsForTabSwitcherIncognito) {
andConfiguration:configuration];
ToolsMenuItem* closeAllTabsItem = mediator_.menuItemsArray[2];
- EXPECT_EQ(@"Close All Tabs", closeAllTabsItem.title);
+ EXPECT_NSEQ(@"Close All Tabs", closeAllTabsItem.title);
EXPECT_EQ(5ul, [mediator_.menuItemsArray count]);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698