[TEST] fix CurrentTestFailedMarker to reset its state after each test

The currently used method `testRunStarted` is only called before any tests have been run, we need to reset that state before each test, that's why we need to use `testStarted`.
This commit is contained in:
javanna 2014-10-07 12:17:01 +02:00 committed by Luca Cavanna
parent 0408f90c08
commit 6cc7431bd3
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ public class CurrentTestFailedMarker extends RunListener {
}
@Override
public void testRunStarted(Description description) throws Exception {
public void testStarted(Description description) throws Exception {
failed.set(false);
}