MCPcopy Create free account
hub / github.com/audeering/opensmile / getAnnotation

Function getAnnotation

progsrc/include/tests/catch2/catch.hpp:4888–4898  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

registerTestMethodsFunction · 0.85

Calls 2

arcSafeReleaseFunction · 0.85
performOptionalSelectorFunction · 0.85

Tested by

no test coverage detected