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

Function enforceNotReservedTag

tests/catch.hpp:11389–11394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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"
11392 << "Tag names starting with non alpha-numeric characters are reserved\n"
11393 << _lineInfo );
11394 }
11395 }
11396
11397 TestCase makeTestCase( ITestInvoker* _testCase,

Callers 1

makeTestCaseFunction · 0.85

Calls 1

isReservedTagFunction · 0.85

Tested by

no test coverage detected