Normalised “hidden” tags

This commit is contained in:
Phil Nash 2013-12-04 07:58:39 +00:00
parent 3524321295
commit 47a5ad3038
1 changed files with 4 additions and 0 deletions

View File

@ -28,6 +28,10 @@ namespace Catch {
if( tags.find( "hide" ) != tags.end() || tags.find( "." ) != tags.end() )
isHidden = true;
if( isHidden ) {
tags.insert( "hide" );
tags.insert( "." );
}
TestCaseInfo info( _name, _className, desc, tags, isHidden, _lineInfo );
return TestCase( _testCase, info );
}