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

Side by Side Diff: base/ios/crb_protocol_observers_unittest.mm

Issue 1466413002: Update gtest to 786564fa4a3c, switch to googlemock in gtest Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « base/id_map_unittest.cc ('k') | base/ios/device_util_unittest.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #import "base/ios/crb_protocol_observers.h" 5 #import "base/ios/crb_protocol_observers.h"
6 #include "base/ios/weak_nsobject.h" 6 #include "base/ios/weak_nsobject.h"
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/mac/scoped_nsautorelease_pool.h" 8 #include "base/mac/scoped_nsautorelease_pool.h"
9 #include "base/mac/scoped_nsobject.h" 9 #include "base/mac/scoped_nsobject.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/googletest/include/gtest/gtest.h"
11 #include "testing/gtest_mac.h" 11 #include "testing/gtest_mac.h"
12 #include "testing/platform_test.h" 12 #include "testing/platform_test.h"
13 13
14 @protocol TestObserver 14 @protocol TestObserver
15 15
16 @required 16 @required
17 - (void)requiredMethod; 17 - (void)requiredMethod;
18 - (void)reset; 18 - (void)reset;
19 19
20 @optional 20 @optional
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 281
282 - (void)nestedMutateByAddingObserver:(id<TestObserver>)observer { 282 - (void)nestedMutateByAddingObserver:(id<TestObserver>)observer {
283 [_observers mutateByAddingObserver:observer]; 283 [_observers mutateByAddingObserver:observer];
284 } 284 }
285 285
286 - (void)nestedMutateByRemovingObserver:(id<TestObserver>)observer { 286 - (void)nestedMutateByRemovingObserver:(id<TestObserver>)observer {
287 [_observers mutateByRemovingObserver:observer]; 287 [_observers mutateByRemovingObserver:observer];
288 } 288 }
289 289
290 @end 290 @end
OLDNEW
« no previous file with comments | « base/id_map_unittest.cc ('k') | base/ios/device_util_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698