diff options
Diffstat (limited to 'testing/gtest_mac_unittest.mm')
-rw-r--r-- | testing/gtest_mac_unittest.mm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/testing/gtest_mac_unittest.mm b/testing/gtest_mac_unittest.mm index 552beee..c5bc47f 100644 --- a/testing/gtest_mac_unittest.mm +++ b/testing/gtest_mac_unittest.mm @@ -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, ExpectNSEQ) { } 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, AssertNSEQ) { } 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"); } |