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

Function enforceNotReservedTag

tutorials/external/catch.hpp:11657–11662  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11655 return parseSpecialTag( tag ) == TestCaseInfo::None && tag.size() > 0 && !std::isalnum( static_cast<unsigned char>(tag[0]) );
11656 }
11657 void enforceNotReservedTag( std::string const& tag, SourceLineInfo const& _lineInfo ) {
11658 CATCH_ENFORCE( !isReservedTag(tag),
11659 "Tag name: [" << tag << "] is not allowed.\n"
11660 << "Tag names starting with non alphanumeric characters are reserved\n"
11661 << _lineInfo );
11662 }
11663 }
11664
11665 TestCase makeTestCase( ITestInvoker* _testCase,

Callers 1

makeTestCaseFunction · 0.85

Calls 1

isReservedTagFunction · 0.85

Tested by

no test coverage detected