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, apply
public RequireAssertionsRule(Class<?> targetClass)
protected void before() throws Throwable
TestRuleAdapter
Statement
.before
in class TestRuleAdapter
Throwable
Copyright © 2011–2020 Carrot Search s.c.. All rights reserved.