Package org.robolectric.junit.rules
Class CloseGuardRule
java.lang.Object
org.junit.rules.Verifier
org.robolectric.junit.rules.CloseGuardRule
- All Implemented Interfaces:
org.junit.rules.TestRule
public final class CloseGuardRule
extends org.junit.rules.Verifier
Rule for failing tests that leave any CloseGuards open.
-
Constructor Summary
-
Method Summary
Methods inherited from class org.junit.rules.Verifier
apply
-
Constructor Details
-
CloseGuardRule
public CloseGuardRule()
-
-
Method Details
-
verify
- Overrides:
verify
in classorg.junit.rules.Verifier
- Throws:
Throwable
-