MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / getAnnotation

Function getAnnotation

extlibs/catch/include/catch/catch.hpp:4704–4714  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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() {

Callers 1

registerTestMethodsFunction · 0.85

Calls 2

arcSafeReleaseFunction · 0.85
performOptionalSelectorFunction · 0.85

Tested by

no test coverage detected