MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / enforceNotReservedTag

Function enforceNotReservedTag

extlibs/catch/include/catch/catch.hpp:13468–13473  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13466 return parseSpecialTag( tag ) == TestCaseInfo::None && tag.size() > 0 && !std::isalnum( static_cast<unsigned char>(tag[0]) );
13467 }
13468 void enforceNotReservedTag( std::string const& tag, SourceLineInfo const& _lineInfo ) {
13469 CATCH_ENFORCE( !isReservedTag(tag),
13470 "Tag name: [" << tag << "] is not allowed.\n"
13471 << "Tag names starting with non alphanumeric characters are reserved\n"
13472 << _lineInfo );
13473 }
13474 }
13475
13476 TestCase makeTestCase( ITestInvoker* _testCase,

Callers 1

makeTestCaseFunction · 0.85

Calls 1

isReservedTagFunction · 0.85

Tested by

no test coverage detected