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

Function enforceNotReservedTag

external/catch.hpp:14033–14038  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14031 return parseSpecialTag( tag ) == TestCaseInfo::None && tag.size() > 0 && !std::isalnum( static_cast<unsigned char>(tag[0]) );
14032 }
14033 void enforceNotReservedTag( std::string const& tag, SourceLineInfo const& _lineInfo ) {
14034 CATCH_ENFORCE( !isReservedTag(tag),
14035 "Tag name: [" << tag << "] is not allowed.\n"
14036 << "Tag names starting with non alphanumeric characters are reserved\n"
14037 << _lineInfo );
14038 }
14039 }
14040
14041 TestCase makeTestCase( ITestInvoker* _testCase,

Callers 1

makeTestCaseFunction · 0.85

Calls 1

isReservedTagFunction · 0.85

Tested by

no test coverage detected