| 4835 | namespace Detail{ |
| 4836 | |
| 4837 | inline std::string getAnnotation( Class cls, |
| 4838 | std::string const& annotationName, |
| 4839 | std::string const& testCaseName ) { |
| 4840 | NSString* selStr = [[NSString alloc] initWithFormat:@"Catch_%s_%s", annotationName.c_str(), testCaseName.c_str()]; |
| 4841 | SEL sel = NSSelectorFromString( selStr ); |
| 4842 | arcSafeRelease( selStr ); |
| 4843 | id value = performOptionalSelector( cls, sel ); |
| 4844 | if( value ) |
| 4845 | return [(NSString*)value UTF8String]; |
| 4846 | return ""; |
| 4847 | } |
| 4848 | } |
| 4849 | |
| 4850 | inline std::size_t registerTestMethods() { |
no test coverage detected