Package org.eclipse.ui.testing.dumps
Class TimeoutDumpTimer
java.lang.Object
java.util.TimerTask
org.eclipse.ui.testing.dumps.TimeoutDumpTimer
- All Implemented Interfaces:
- Runnable
Starts a task which will dump stack trace information and a screenshot after
 some time.
 Necessary to know whether and where tests are hanging if a timeout occurred
 during tests.
- Since:
- 0.15
- 
Method SummaryModifier and TypeMethodDescriptionvoidrun()static voidstartTimeoutDumpTimer(String timeoutArg) Starts a timer that dumps interesting debugging information shortly before the given timeout expires.static voidstartTimeoutDumpTimer(String timeoutArg, File outputDirectory) Starts a timer that dumps interesting debugging information shortly before the given timeout expires.Methods inherited from class java.util.TimerTaskcancel, scheduledExecutionTime
- 
Method Details- 
startTimeoutDumpTimerStarts a timer that dumps interesting debugging information shortly before the given timeout expires.- Parameters:
- timeoutArg- the value of the -timeout argument from the command line
 
- 
startTimeoutDumpTimerStarts a timer that dumps interesting debugging information shortly before the given timeout expires.- Parameters:
- timeoutArg- the -timeout argument from the command line
- outputDirectory- where the test results end up
 
- 
runpublic void run()
 
-