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

Unified Diff: chrome/browser/cocoa/bug_report_window_controller_unittest.mm

Issue 3095004: [Mac] Use the new {EXPECT,ASSERT}_NS{EQ,NE} macros where possible. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Fix compile Created 10 years, 4 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
Index: chrome/browser/cocoa/bug_report_window_controller_unittest.mm
diff --git a/chrome/browser/cocoa/bug_report_window_controller_unittest.mm b/chrome/browser/cocoa/bug_report_window_controller_unittest.mm
index 941327f6dbb3f1cc2a43ecdf93cdd3032c6a4ad7..cf8d3ac5d52ae007671fa6d10c9b7722d9a6cb44 100644
--- a/chrome/browser/cocoa/bug_report_window_controller_unittest.mm
+++ b/chrome/browser/cocoa/bug_report_window_controller_unittest.mm
@@ -10,6 +10,7 @@
#include "chrome/browser/renderer_host/test/test_render_view_host.h"
#include "chrome/browser/tab_contents/test_tab_contents.h"
#include "chrome/browser/profile.h"
+#import "testing/gtest_mac.h"
namespace {
@@ -39,8 +40,8 @@ TEST_F(BugReportWindowControllerUnittest, DISABLED_ReportBugWithNewTabPageOpen)
EXPECT_FALSE([controller isPhishingReport]);
// Make sure that the tab was correctly recorded.
- EXPECT_TRUE([[controller pageURL] isEqualToString:@"chrome://newtab/"]);
- EXPECT_TRUE([[controller pageTitle] isEqualToString:@"New Tab"]);
+ EXPECT_NSEQ(@"chrome://newtab/", [controller pageURL]);
+ EXPECT_NSEQ(@"New Tab", [controller pageTitle]);
// When we call "report bug" with non-empty tab contents, all menu options
// should be available, and we should send screenshot by default.

Powered by Google App Engine
This is Rietveld 408576698