MCPcopy Create free account
hub / github.com/apache/trafficserver / enforceNotReservedTag

Function enforceNotReservedTag

lib/catch2/catch.hpp:14044–14049  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

makeTestCaseFunction · 0.85

Calls 1

isReservedTagFunction · 0.85

Tested by

no test coverage detected