| Class | Description |
|---|---|
| NoClassHooksShadowingRule |
Don't allow
BeforeClass and AfterClass hook shadowing as it is most
likely a user error. |
| NoInstanceHooksOverridesRule |
Don't allow
Before and After hook overrides as it is most
likely a user error and will result in superclass methods not being called
(requires manual chaining). |
| NoShadowingOrOverridesOnMethodsRule |
Discovers shadowing or override relationships among methods annotated with any of the
provided annotations.
|
| RequireAssertionsRule |
Require assertions
TestRule. |
| StatementAdapter |
An abstract
Statement that guarantees the execution of
StatementAdapter.afterAlways(java.util.List<java.lang.Throwable>) even if an exception has been thrown from delegate
Statement. |
| StaticFieldsInvariantRule |
A
TestRule that ensures static, reference fields of the suite class
(and optionally its superclasses) are cleaned up after a suite is completed. |
| SystemPropertiesInvariantRule |
A
TestRule that ensures system properties remain unmodified by the nested
Statement. |
| SystemPropertiesRestoreRule |
A
TestRule which restores system properties from before the nested
Statement. |
| TestRuleAdapter |
An abstract
TestRule that guarantees the execution of
TestRuleAdapter.afterAlways(java.util.List<java.lang.Throwable>) even if an exception has been thrown from delegate
Statement. |
Copyright © 2011–2018 Carrot Search s.c.. All rights reserved.