MCPcopy Create free account
hub / github.com/Predelnik/DSpellCheck / enforceNotReservedTag

Function enforceNotReservedTag

deps/Catch/catch.hpp:13945–13950  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13943 return parseSpecialTag( tag ) == TestCaseInfo::None && tag.size() > 0 && !std::isalnum( static_cast<unsigned char>(tag[0]) );
13944 }
13945 void enforceNotReservedTag( std::string const& tag, SourceLineInfo const& _lineInfo ) {
13946 CATCH_ENFORCE( !isReservedTag(tag),
13947 "Tag name: [" << tag << "] is not allowed.\n"
13948 << "Tag names starting with non alphanumeric characters are reserved\n"
13949 << _lineInfo );
13950 }
13951 }
13952
13953 TestCase makeTestCase( ITestInvoker* _testCase,

Callers 1

makeTestCaseFunction · 0.85

Calls 1

isReservedTagFunction · 0.85

Tested by

no test coverage detected