public class FailureMarker extends RunListener
RunListener that detects suite/ test failures. We need it because failures
due to thread leaks happen outside of any rule contexts.RunListener.ThreadSafe| Constructor and Description |
|---|
FailureMarker() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
hadFailures() |
static void |
resetFailures() |
void |
testFailure(Failure failure) |
testAssumptionFailure, testFinished, testIgnored, testRunFinished, testRunStarted, testStarted, testSuiteFinished, testSuiteStartedpublic void testFailure(Failure failure) throws Exception
testFailure in class RunListenerExceptionpublic static boolean hadFailures()
public static void resetFailures()
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.