public class UncaughtExceptionsRule extends Object implements org.junit.rules.TestRule
Thread.setDefaultUncaughtExceptionHandler(java.lang.Thread.UncaughtExceptionHandler)
and causes test/ suite failures if uncaught exceptions are detected.| Modifier and Type | Class and Description |
|---|---|
static class |
UncaughtExceptionsRule.UncaughtExceptionEntry |
| Constructor and Description |
|---|
UncaughtExceptionsRule(LuceneTestCase ltc) |
| Modifier and Type | Method and Description |
|---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement s,
org.junit.runner.Description d) |
boolean |
hasUncaughtExceptions()
Just a check if anything's been caught.
|
public UncaughtExceptionsRule(LuceneTestCase ltc)