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

Unified Diff: testing/gtest_mac_unittest.mm

Issue 3828009: Move scoped_nsdisable_screen_update from base to app/mac... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 2 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 | « remoting/host/simple_host_process.cc ('k') | webkit/tools/test_shell/run_all_tests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/gtest_mac_unittest.mm
===================================================================
--- testing/gtest_mac_unittest.mm (revision 62899)
+++ testing/gtest_mac_unittest.mm (working copy)
@@ -10,12 +10,12 @@
#import <Foundation/Foundation.h>
-#include "base/scoped_nsautorelease_pool.h"
+#include "base/mac/scoped_nsautorelease_pool.h"
#include "testing/gtest/include/gtest/internal/gtest-port.h"
#include "testing/gtest/include/gtest/gtest.h"
TEST(GTestMac, ExpectNSEQ) {
- base::ScopedNSAutoreleasePool pool;
+ base::mac::ScopedNSAutoreleasePool pool;
EXPECT_NSEQ(@"a", @"a");
@@ -26,7 +26,7 @@
}
TEST(GTestMac, AssertNSEQ) {
- base::ScopedNSAutoreleasePool pool;
+ base::mac::ScopedNSAutoreleasePool pool;
NSNumber* n1 = [NSNumber numberWithInt:42];
NSNumber* n2 = [NSNumber numberWithInt:42];
@@ -35,13 +35,13 @@
}
TEST(GTestMac, ExpectNSNE) {
- base::ScopedNSAutoreleasePool pool;
+ base::mac::ScopedNSAutoreleasePool pool;
EXPECT_NSNE([NSNumber numberWithInt:2], [NSNumber numberWithInt:42]);
}
TEST(GTestMac, AssertNSNE) {
- base::ScopedNSAutoreleasePool pool;
+ base::mac::ScopedNSAutoreleasePool pool;
ASSERT_NSNE(@"a", @"b");
}
« no previous file with comments | « remoting/host/simple_host_process.cc ('k') | webkit/tools/test_shell/run_all_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698