Remove legacy [hide] tag

Also removed even legacier "./" prefix for test case name...
This commit is contained in:
Martin Hořeňovský 2017-08-27 16:45:53 +02:00
parent e8d3be3621
commit 8f6d6a4a2d
2 changed files with 2 additions and 4 deletions

View file

@ -20,7 +20,6 @@ namespace Catch {
TestCaseInfo::SpecialProperties parseSpecialTag( std::string const& tag ) {
if( startsWith( tag, '.' ) ||
tag == "hide" ||
tag == "!hide" )
return TestCaseInfo::IsHidden;
else if( tag == "!throws" )
@ -52,7 +51,7 @@ namespace Catch {
std::string const& _descOrTags,
SourceLineInfo const& _lineInfo )
{
bool isHidden( startsWith( _name, "./" ) ); // Legacy support
bool isHidden = false;
// Parse out tags
std::vector<std::string> tags;
@ -83,7 +82,6 @@ namespace Catch {
}
}
if( isHidden ) {
tags.push_back( "hide" );
tags.push_back( "." );
}