MCPcopy Create free account
hub / github.com/Profactor/cv-plot / getAnnotation

Function getAnnotation

CvPlot/ext/catch2/inc/catch.hpp:4837–4847  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4835 namespace Detail{
4836
4837 inline std::string getAnnotation( Class cls,
4838 std::string const& annotationName,
4839 std::string const& testCaseName ) {
4840 NSString* selStr = [[NSString alloc] initWithFormat:@"Catch_%s_%s", annotationName.c_str(), testCaseName.c_str()];
4841 SEL sel = NSSelectorFromString( selStr );
4842 arcSafeRelease( selStr );
4843 id value = performOptionalSelector( cls, sel );
4844 if( value )
4845 return [(NSString*)value UTF8String];
4846 return "";
4847 }
4848 }
4849
4850 inline std::size_t registerTestMethods() {

Callers 1

registerTestMethodsFunction · 0.85

Calls 2

arcSafeReleaseFunction · 0.85
performOptionalSelectorFunction · 0.85

Tested by

no test coverage detected