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

Function isReservedTag

lib/catch2/catch.hpp:14041–14043  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

enforceNotReservedTagFunction · 0.85

Calls 2

parseSpecialTagFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected