OLD | NEW |
1 //------------------------------------------------------------------------------
--------- | 1 //------------------------------------------------------------------------------
--------- |
2 // $Id: OCPartialMockObject.h 74 2011-02-15 12:59:47Z 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 "OCClassMockObject.h" | 6 #import "OCClassMockObject.h" |
7 | 7 |
8 @interface OCPartialMockObject : OCClassMockObject | 8 @interface OCPartialMockObject : OCClassMockObject |
9 { | 9 { |
10 NSObject *realObject; | 10 NSObject *realObject; |
11 } | 11 } |
12 | 12 |
13 - (id)initWithObject:(NSObject *)anObject; | 13 - (id)initWithObject:(NSObject *)anObject; |
14 | 14 |
15 - (NSObject *)realObject; | 15 - (NSObject *)realObject; |
16 | 16 |
17 - (void)stop; | 17 - (void)stop; |
18 | 18 |
19 - (void)setupSubclassForObject:(id)anObject; | 19 - (void)setupSubclassForObject:(id)anObject; |
20 - (void)setupForwarderForSelector:(SEL)selector; | 20 - (void)setupForwarderForSelector:(SEL)selector; |
21 | 21 |
22 @end | 22 @end |
23 | 23 |
24 | 24 |
25 extern NSString *OCMRealMethodAliasPrefix; | 25 extern NSString *OCMRealMethodAliasPrefix; |
OLD | NEW |