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

Function enforceNotReservedTag

Source/ThirdParty/catch2/catch.hpp:14037–14042  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

makeTestCaseFunction · 0.85

Calls 1

isReservedTagFunction · 0.85

Tested by

no test coverage detected