Class RequireAssertionsRule
java.lang.Object
com.carrotsearch.randomizedtesting.rules.TestRuleAdapter
com.carrotsearch.randomizedtesting.rules.RequireAssertionsRule
- All Implemented Interfaces:
org.junit.rules.TestRule
Require assertions
TestRule
.- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
before()
Always called before the delegateStatement
.Methods inherited from class com.carrotsearch.randomizedtesting.rules.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:TestRuleAdapter
Always called before the delegateStatement
.- Overrides:
before
in classTestRuleAdapter
- Throws:
Throwable
-