MCPcopy Create free account
hub / github.com/apache/trafficserver / getAnnotation

Function getAnnotation

lib/catch2/catch.hpp:4896–4906  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

registerTestMethodsFunction · 0.85

Calls 2

arcSafeReleaseFunction · 0.85
performOptionalSelectorFunction · 0.85

Tested by

no test coverage detected