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

Side by Side Diff: ios/chrome/test/base/scoped_block_swizzler_unittest.mm

Issue 2608733002: Fix include/import in ios/testing and ios/chrome/test (Closed)
Patch Set: Created 3 years, 11 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 unified diff | Download patch
« no previous file with comments | « ios/chrome/test/base/scoped_block_swizzler.mm ('k') | ios/chrome/test/block_cleanup_test.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/mac/foundation_util.h" 5 #include "base/mac/foundation_util.h"
6 #import "base/mac/scoped_nsobject.h" 6 #import "base/mac/scoped_nsobject.h"
7 #import "ios/chrome/test/base/scoped_block_swizzler.h" 7 #include "ios/chrome/test/base/scoped_block_swizzler.h"
8 #include "testing/gtest/include/gtest/gtest.h" 8 #include "testing/gtest/include/gtest/gtest.h"
9 #include "testing/gtest_mac.h" 9 #import "testing/gtest_mac.h"
10 #include "testing/platform_test.h" 10 #include "testing/platform_test.h"
11 11
12 // Class containing two methods that will be swizzled by the unittests. 12 // Class containing two methods that will be swizzled by the unittests.
13 @interface ScopedBlockSwizzlerTestClass : NSObject 13 @interface ScopedBlockSwizzlerTestClass : NSObject
14 14
15 // An NSString property that will be accessed by one of the swizzled methods. 15 // An NSString property that will be accessed by one of the swizzled methods.
16 @property(nonatomic, copy) NSString* value; 16 @property(nonatomic, copy) NSString* value;
17 17
18 + (NSString*)classMethodToSwizzle; 18 + (NSString*)classMethodToSwizzle;
19 - (NSString*)instanceMethodToSwizzle; 19 - (NSString*)instanceMethodToSwizzle;
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 94
95 + (NSString*)classMethodToSwizzle { 95 + (NSString*)classMethodToSwizzle {
96 return kOriginalClassValue; 96 return kOriginalClassValue;
97 } 97 }
98 98
99 - (NSString*)instanceMethodToSwizzle { 99 - (NSString*)instanceMethodToSwizzle {
100 return kOriginalInstanceValue; 100 return kOriginalInstanceValue;
101 } 101 }
102 102
103 @end 103 @end
OLDNEW
« no previous file with comments | « ios/chrome/test/base/scoped_block_swizzler.mm ('k') | ios/chrome/test/block_cleanup_test.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698