MCPcopy Create free account
hub / github.com/RenderKit/embree / getAnnotation

Function getAnnotation

tutorials/external/catch.hpp:4311–4321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4309 namespace Detail{
4310
4311 inline std::string getAnnotation( Class cls,
4312 std::string const& annotationName,
4313 std::string const& testCaseName ) {
4314 NSString* selStr = [[NSString alloc] initWithFormat:@"Catch_%s_%s", annotationName.c_str(), testCaseName.c_str()];
4315 SEL sel = NSSelectorFromString( selStr );
4316 arcSafeRelease( selStr );
4317 id value = performOptionalSelector( cls, sel );
4318 if( value )
4319 return [(NSString*)value UTF8String];
4320 return "";
4321 }
4322 }
4323
4324 inline std::size_t registerTestMethods() {

Callers 1

registerTestMethodsFunction · 0.85

Calls 2

arcSafeReleaseFunction · 0.85
performOptionalSelectorFunction · 0.85

Tested by

no test coverage detected