Searched refs:LeakageDetectorRule (Results 1 – 8 of 8) sorted by relevance
50 private static final LeakageDetectorRule LEAKAGE_DETECTOR_RULE;54 LeakageDetectorRule leakageDetectorRule;66 leakageDetectorRule = new LeakageDetectorRule((TestRule) method.invoke(null));78 leakageDetectorRule = new LeakageDetectorRule(RuleChain.emptyRuleChain());101 public static LeakageDetectorRule getRule() { in getRule()125 public static class LeakageDetectorRule implements TestRule { class in ResourceLeakageDetector130 private LeakageDetectorRule(TestRule leakageDetectorRule) { in LeakageDetectorRule() method in ResourceLeakageDetector.LeakageDetectorRule
26 import libcore.junit.util.ResourceLeakageDetector.LeakageDetectorRule;32 public LeakageDetectorRule resourceLeakageDetectorRule = ResourceLeakageDetector.getRule();
45 import libcore.junit.util.ResourceLeakageDetector.LeakageDetectorRule;50 public LeakageDetectorRule leakageDetectorRule = ResourceLeakageDetector.getRule();
42 import libcore.junit.util.ResourceLeakageDetector.LeakageDetectorRule;48 public LeakageDetectorRule guardRule = ResourceLeakageDetector.getRule();
43 import libcore.junit.util.ResourceLeakageDetector.LeakageDetectorRule;48 public LeakageDetectorRule guardRule = ResourceLeakageDetector.getRule();
44 public ResourceLeakageDetector.LeakageDetectorRule guardRule =
47 import libcore.junit.util.ResourceLeakageDetector.LeakageDetectorRule;70 public LeakageDetectorRule resourceLeakageDetectorRule = ResourceLeakageDetector.getRule();