MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / isReservedTag

Function isReservedTag

tests/catch.hpp:11386–11388  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11384 return TestCaseInfo::None;
11385 }
11386 bool isReservedTag( std::string const& tag ) {
11387 return parseSpecialTag( tag ) == TestCaseInfo::None && tag.size() > 0 && !std::isalnum( static_cast<unsigned char>(tag[0]) );
11388 }
11389 void enforceNotReservedTag( std::string const& tag, SourceLineInfo const& _lineInfo ) {
11390 CATCH_ENFORCE( !isReservedTag(tag),
11391 "Tag name: [" << tag << "] is not allowed.\n"

Callers 1

enforceNotReservedTagFunction · 0.85

Calls 2

parseSpecialTagFunction · 0.85
sizeMethod · 0.80

Tested by

no test coverage detected