Add an exponential backoff to rechecking the app list doodle.
[chromium-blink-merge.git] / third_party / ocmock / OCMock / NSNotificationCenter+OCMAdditions.m
blob286cb685b14a6081d0617cd85fc8828f612ebf2b
1 //---------------------------------------------------------------------------------------
2 //  $Id$
3 //  Copyright (c) 2009 by Mulle Kybernetik. See License file for details.
4 //---------------------------------------------------------------------------------------
6 #import "NSNotificationCenter+OCMAdditions.h"
7 #import "OCObserverMockObject.h"
10 @implementation NSNotificationCenter(OCMAdditions)
12 - (void)addMockObserver:(OCMockObserver *)notificationObserver name:(NSString *)notificationName object:(id)notificationSender
14         [self addObserver:notificationObserver selector:@selector(handleNotification:) name:notificationName object:notificationSender];
17 @end