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