Class RequireAssertionsRule
java.lang.Object
com.carrotsearch.randomizedtesting.rules.TestRuleAdapter
com.carrotsearch.randomizedtesting.rules.RequireAssertionsRule
- All Implemented Interfaces:
org.junit.rules.TestRule
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidbefore()Always called before the delegateStatement.Methods inherited from class TestRuleAdapter
afterAlways, afterIfSuccessful, apply
-
Field Details
-
TEST_ASSERTS_ENABLED
public static final boolean TEST_ASSERTS_ENABLED -
targetClass
-
-
Constructor Details
-
RequireAssertionsRule
-
-
Method Details
-
before
Description copied from class:TestRuleAdapterAlways called before the delegateStatement.- Overrides:
beforein classTestRuleAdapter- Throws:
Throwable
-