MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / getAnnotation

Function getAnnotation

tests/catch.hpp:3980–3990  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3978 namespace Detail{
3979
3980 inline std::string getAnnotation( Class cls,
3981 std::string const& annotationName,
3982 std::string const& testCaseName ) {
3983 NSString* selStr = [[NSString alloc] initWithFormat:@"Catch_%s_%s", annotationName.c_str(), testCaseName.c_str()];
3984 SEL sel = NSSelectorFromString( selStr );
3985 arcSafeRelease( selStr );
3986 id value = performOptionalSelector( cls, sel );
3987 if( value )
3988 return [(NSString*)value UTF8String];
3989 return "";
3990 }
3991 }
3992
3993 inline std::size_t registerTestMethods() {

Callers 1

registerTestMethodsFunction · 0.85

Calls 2

arcSafeReleaseFunction · 0.85
performOptionalSelectorFunction · 0.85

Tested by

no test coverage detected