123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- ({ \
- _OCMSilenceWarnings( \
- [OCMMacroState beginStubMacro]; \
- OCMStubRecorder *recorder = nil; \
- @try{ \
- invocation; \
- }@finally{ \
- recorder = [OCMMacroState endStubMacro]; \
- } \
- recorder; \
- ); \
- })
-
-
- ({ \
- _OCMSilenceWarnings( \
- [OCMMacroState beginExpectMacro]; \
- OCMStubRecorder *recorder = nil; \
- @try{ \
- invocation; \
- }@finally{ \
- recorder = [OCMMacroState endExpectMacro]; \
- } \
- recorder; \
- ); \
- })
-
-
- ({ \
- _OCMSilenceWarnings( \
- [OCMMacroState beginRejectMacro]; \
- OCMStubRecorder *recorder = nil; \
- @try{ \
- invocation; \
- }@finally{ \
- recorder = [OCMMacroState endRejectMacro]; \
- } \
- recorder; \
- ); \
- })
-
-
- _OCMSilenceWarnings( \
- [[OCMMacroState globalState] switchToClassMethod]; \
- invocation; \
- );
-
-
-
-
-
-
-
- ({ \
- _OCMSilenceWarnings( \
- [OCMMacroState beginVerifyMacroAtLocation:OCMMakeLocation(self, __FILE__, __LINE__)]; \
- @try{ \
- invocation; \
- }@finally{ \
- [OCMMacroState endVerifyMacro]; \
- } \
- ); \
- })
-
-
- ({ \
- _Pragma("clang diagnostic push") \
- _Pragma("clang diagnostic ignored \"-Wunused-value\"") \
- _Pragma("clang diagnostic ignored \"-Wunused-getter-return-value\"") \
- macro \
- _Pragma("clang diagnostic pop") \
- })
|