public class RequireAssertionsRule extends TestRuleAdapter
TestRule.ClassRule| Modifier and Type | Field and Description |
|---|---|
static boolean |
TEST_ASSERTS_ENABLED |
| Constructor and Description |
|---|
RequireAssertionsRule(java.lang.Class<?> targetClass) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
before()
Always called before the delegate
Statement. |
afterAlways, afterIfSuccessful, applypublic RequireAssertionsRule(java.lang.Class<?> targetClass)
protected void before()
throws java.lang.Throwable
TestRuleAdapterStatement.before in class TestRuleAdapterjava.lang.ThrowableCopyright © 2011–2018 Carrot Search s.c.. All rights reserved.