MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / getAnnotation

Function getAnnotation

deps/Catch/catch.hpp:4898–4908  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4896 namespace Detail{
4897
4898 inline std::string getAnnotation( Class cls,
4899 std::string const& annotationName,
4900 std::string const& testCaseName ) {
4901 NSString* selStr = [[NSString alloc] initWithFormat:@"Catch_%s_%s", annotationName.c_str(), testCaseName.c_str()];
4902 SEL sel = NSSelectorFromString( selStr );
4903 arcSafeRelease( selStr );
4904 id value = performOptionalSelector( cls, sel );
4905 if( value )
4906 return [(NSString*)value UTF8String];
4907 return "";
4908 }
4909 }
4910
4911 inline std::size_t registerTestMethods() {

Callers 1

registerTestMethodsFunction · 0.85

Calls 2

arcSafeReleaseFunction · 0.85
performOptionalSelectorFunction · 0.85

Tested by

no test coverage detected