Class TestTimeoutWatcher
- java.lang.Object
-
- org.junit.rules.TestWatcher
-
- com.hybris.cockpitng.testing.util.TestTimeoutWatcher
-
- All Implemented Interfaces:
org.junit.rules.TestRule
public class TestTimeoutWatcher extends org.junit.rules.TestWatcherA test watcher that assumes possibility of threads being locked in process. A thread dump will be generated in case of test timeout.Standard usage:
{@code public class SomeTest {
-
-
Constructor Summary
Constructors Constructor Description TestTimeoutWatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfailed(java.lang.Throwable e, org.junit.runner.Description description)
-