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

Function isReservedTag

extlibs/catch/include/catch/catch.hpp:13465–13467  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13463 return TestCaseInfo::None;
13464 }
13465 bool isReservedTag( std::string const& tag ) {
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"

Callers 1

enforceNotReservedTagFunction · 0.85

Calls 2

parseSpecialTagFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected