public class TimedOutTestsListener extends org.junit.runner.notification.RunListener
| Modifier and Type | Field and Description | 
|---|---|
private static String | 
INDENT  | 
private PrintWriter | 
output  | 
(package private) static String | 
TEST_TIMED_OUT_PREFIX  | 
| Constructor and Description | 
|---|
TimedOutTestsListener()  | 
TimedOutTestsListener(PrintWriter output)  | 
| Modifier and Type | Method and Description | 
|---|---|
(package private) static String | 
buildDeadlockInfo()  | 
static String | 
buildThreadDiagnosticString()  | 
(package private) static String | 
buildThreadDump()  | 
private static void | 
printLockInfo(LockInfo[] locks,
             PrintWriter out)  | 
private static void | 
printThread(ThreadInfo ti,
           PrintWriter out)  | 
private static void | 
printThreadInfo(ThreadInfo ti,
               PrintWriter out)  | 
void | 
testFailure(org.junit.runner.notification.Failure failure)  | 
static final String TEST_TIMED_OUT_PREFIX
private final PrintWriter output
public TimedOutTestsListener()
public TimedOutTestsListener(PrintWriter output)
public void testFailure(org.junit.runner.notification.Failure failure) throws Exception
testFailure in class org.junit.runner.notification.RunListenerExceptionpublic static String buildThreadDiagnosticString()
static String buildThreadDump()
static String buildDeadlockInfo()
private static void printThreadInfo(ThreadInfo ti, PrintWriter out)
private static void printThread(ThreadInfo ti, PrintWriter out)
private static void printLockInfo(LockInfo[] locks, PrintWriter out)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.