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

Function getAnnotation

external/catch.hpp:4889–4899  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4887 namespace Detail{
4888
4889 inline std::string getAnnotation( Class cls,
4890 std::string const& annotationName,
4891 std::string const& testCaseName ) {
4892 NSString* selStr = [[NSString alloc] initWithFormat:@"Catch_%s_%s", annotationName.c_str(), testCaseName.c_str()];
4893 SEL sel = NSSelectorFromString( selStr );
4894 arcSafeRelease( selStr );
4895 id value = performOptionalSelector( cls, sel );
4896 if( value )
4897 return [(NSString*)value UTF8String];
4898 return "";
4899 }
4900 }
4901
4902 inline std::size_t registerTestMethods() {

Callers 1

registerTestMethodsFunction · 0.85

Calls 2

arcSafeReleaseFunction · 0.85
performOptionalSelectorFunction · 0.85

Tested by

no test coverage detected