Skip to content

Commit

Permalink
Merge branch 'master' of http://github.com/johlrogge/junit-interface
Browse files Browse the repository at this point in the history
…into johlrogge-master
  • Loading branch information
szeiger committed Mar 20, 2011
2 parents 7039437 + af90ff9 commit 953c6cb
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -10,13 +10,13 @@ final class TestAssumptionFailedEvent extends AbstractEvent

TestAssumptionFailedEvent(Failure failure)
{
super(buildName(failure.getDescription()), failure.getMessage(), Result.Failure, failure.getException());
super(buildName(failure.getDescription()), failure.getMessage(), Result.Skipped, failure.getException());
this.failure = failure;
}

@Override
public void logTo(RichLogger logger)
{
logger.error("Test assumption in test "+AbstractEvent.buildName(failure.getDescription())+" failed: "+failure.getMessage(), error);
logger.warn("Test assumption in test "+AbstractEvent.buildName(failure.getDescription())+" failed: "+failure.getMessage());
}
}

0 comments on commit 953c6cb

Please sign in to comment.