| 4702 | namespace Detail{ |
| 4703 | |
| 4704 | inline std::string getAnnotation( Class cls, |
| 4705 | std::string const& annotationName, |
| 4706 | std::string const& testCaseName ) { |
| 4707 | NSString* selStr = [[NSString alloc] initWithFormat:@"Catch_%s_%s", annotationName.c_str(), testCaseName.c_str()]; |
| 4708 | SEL sel = NSSelectorFromString( selStr ); |
| 4709 | arcSafeRelease( selStr ); |
| 4710 | id value = performOptionalSelector( cls, sel ); |
| 4711 | if( value ) |
| 4712 | return [(NSString*)value UTF8String]; |
| 4713 | return ""; |
| 4714 | } |
| 4715 | } |
| 4716 | |
| 4717 | inline std::size_t registerTestMethods() { |
no test coverage detected