OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * Copyright (c) 2014-2015 Erik Doernenburg and contributors |
| 3 * |
| 4 * Licensed under the Apache License, Version 2.0 (the "License"); you may |
| 5 * not use these files except in compliance with the License. You may obtain |
| 6 * a copy of the License at |
| 7 * |
| 8 * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 * |
| 10 * Unless required by applicable law or agreed to in writing, software |
| 11 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT |
| 12 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the |
| 13 * License for the specific language governing permissions and limitations |
| 14 * under the License. |
| 15 */ |
| 16 |
| 17 #import <Foundation/Foundation.h> |
| 18 |
| 19 @class OCMLocation; |
| 20 @class OCClassMockObject; |
| 21 @class OCPartialMockObject; |
| 22 |
| 23 |
| 24 #if defined(__cplusplus) |
| 25 extern "C" { |
| 26 #endif |
| 27 |
| 28 BOOL OCMIsObjectType(const char *objCType); |
| 29 const char *OCMTypeWithoutQualifiers(const char *objCType); |
| 30 BOOL OCMEqualTypesAllowingOpaqueStructs(const char *type1, const char *type2); |
| 31 |
| 32 Class OCMCreateSubclass(Class kt, void *ref); |
| 33 |
| 34 void OCMSetIsa(id object, Class kt); |
| 35 Class OCMGetIsa(id object); |
| 36 |
| 37 BOOL OCMIsAliasSelector(SEL selector); |
| 38 SEL OCMAliasForOriginalSelector(SEL selector); |
| 39 SEL OCMOriginalSelectorForAlias(SEL selector); |
| 40 |
| 41 void OCMSetAssociatedMockForClass(OCClassMockObject *mock, Class aClass); |
| 42 OCClassMockObject *OCMGetAssociatedMockForClass(Class aClass, BOOL includeSuperc
lasses); |
| 43 |
| 44 void OCMSetAssociatedMockForObject(OCClassMockObject *mock, id anObject); |
| 45 OCPartialMockObject *OCMGetAssociatedMockForObject(id anObject); |
| 46 |
| 47 void OCMReportFailure(OCMLocation *loc, NSString *description); |
| 48 |
| 49 #if defined(__cplusplus) |
| 50 } |
| 51 #endif |
OLD | NEW |