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

Side by Side Diff: third_party/ocmock/OCMock/NSNotificationCenter+OCMAdditions.m

Issue 9240023: Roll OCMock r77:7f521db0628086185123666b0979e48d6ecaeac1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
OLDNEW
1 //------------------------------------------------------------------------------ --------- 1 //------------------------------------------------------------------------------ ---------
2 // $Id: NSNotificationCenter+OCMAdditions.m 57 2010-07-19 06:14:27Z erik $ 2 // $Id$
3 // Copyright (c) 2009 by Mulle Kybernetik. See License file for details. 3 // Copyright (c) 2009 by Mulle Kybernetik. See License file for details.
4 //------------------------------------------------------------------------------ --------- 4 //------------------------------------------------------------------------------ ---------
5 5
6 #import "NSNotificationCenter+OCMAdditions.h" 6 #import "NSNotificationCenter+OCMAdditions.h"
7 #import "OCObserverMockObject.h" 7 #import "OCObserverMockObject.h"
8 8
9 9
10 @implementation NSNotificationCenter(OCMAdditions) 10 @implementation NSNotificationCenter(OCMAdditions)
11 11
12 - (void)addMockObserver:(OCMockObserver *)notificationObserver name:(NSString *) notificationName object:(id)notificationSender 12 - (void)addMockObserver:(OCMockObserver *)notificationObserver name:(NSString *) notificationName object:(id)notificationSender
13 { 13 {
14 [self addObserver:notificationObserver selector:@selector(handleNotifica tion:) name:notificationName object:notificationSender]; 14 [self addObserver:notificationObserver selector:@selector(handleNotifica tion:) name:notificationName object:notificationSender];
15 } 15 }
16 16
17 @end 17 @end
OLDNEW
« no previous file with comments | « third_party/ocmock/OCMock/NSNotificationCenter+OCMAdditions.h ('k') | third_party/ocmock/OCMock/OCClassMockObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698