MCPcopy Create free account
hub / github.com/FidoProject/Fido / getAnnotation

Function getAnnotation

tests/catch.h:2927–2937  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2925 namespace Detail{
2926
2927 inline std::string getAnnotation( Class cls,
2928 std::string const& annotationName,
2929 std::string const& testCaseName ) {
2930 NSString* selStr = [[NSString alloc] initWithFormat:@"Catch_%s_%s", annotationName.c_str(), testCaseName.c_str()];
2931 SEL sel = NSSelectorFromString( selStr );
2932 arcSafeRelease( selStr );
2933 id value = performOptionalSelector( cls, sel );
2934 if( value )
2935 return [(NSString*)value UTF8String];
2936 return "";
2937 }
2938 }
2939
2940 inline size_t registerTestMethods() {

Callers 1

registerTestMethodsFunction · 0.85

Calls 2

arcSafeReleaseFunction · 0.85
performOptionalSelectorFunction · 0.85

Tested by

no test coverage detected