public class FailureMarker
extends org.junit.runner.notification.RunListener
RunListener that detects suite/ test failures. We need it because failures
due to thread leaks happen outside of any rule contexts.| Constructor and Description |
|---|
FailureMarker() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
hadFailures() |
static void |
resetFailures() |
void |
testFailure(org.junit.runner.notification.Failure failure) |
public void testFailure(org.junit.runner.notification.Failure failure)
throws Exception
testFailure in class org.junit.runner.notification.RunListenerExceptionpublic static boolean hadFailures()
public static void resetFailures()
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.