Junit reporter uses filename for suite name if no explicit groups

This commit is contained in:
Phil Nash
2012-11-19 19:59:10 +00:00
parent d0cc33f284
commit a90a88adcd
8 changed files with 31 additions and 26 deletions

View File

@@ -170,7 +170,7 @@ namespace Catch {
}
break;
case Expected::ToFail:
if( totals.assertions.passed > 0 ) {
if( totals.assertions.failed == 0 ) {
INFO( runner.getOutput() );
FAIL( "Expected test case '"
<< testCase.getName()