Home
last modified time | relevance | path

Searched refs:LeakageDetectorRule (Results 1 – 8 of 8) sorted by relevance

/libcore/test-rules/src/main/java/libcore/junit/util/
DResourceLeakageDetector.java50 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 ResourceLeakageDetector
130 private LeakageDetectorRule(TestRule leakageDetectorRule) { in LeakageDetectorRule() method in ResourceLeakageDetector.LeakageDetectorRule
/libcore/luni/src/test/java/libcore/java/io/
DRandomAccessFileTest.java26 import libcore.junit.util.ResourceLeakageDetector.LeakageDetectorRule;
32 public LeakageDetectorRule resourceLeakageDetectorRule = ResourceLeakageDetector.getRule();
/libcore/luni/src/test/java/libcore/java/nio/channels/
DAsynchronousServerSocketChannelTest.java45 import libcore.junit.util.ResourceLeakageDetector.LeakageDetectorRule;
50 public LeakageDetectorRule leakageDetectorRule = ResourceLeakageDetector.getRule();
DFileChannelTest.java42 import libcore.junit.util.ResourceLeakageDetector.LeakageDetectorRule;
48 public LeakageDetectorRule guardRule = ResourceLeakageDetector.getRule();
DSocketChannelTest.java43 import libcore.junit.util.ResourceLeakageDetector.LeakageDetectorRule;
48 public LeakageDetectorRule guardRule = ResourceLeakageDetector.getRule();
DDatagramChannelTest.java44 public ResourceLeakageDetector.LeakageDetectorRule guardRule =
DAsynchronousSocketChannelTest.java45 import libcore.junit.util.ResourceLeakageDetector.LeakageDetectorRule;
50 public LeakageDetectorRule leakageDetectorRule = ResourceLeakageDetector.getRule();
/libcore/luni/src/test/java/libcore/java/nio/file/
DDefaultSecureDirectoryStreamTest.java47 import libcore.junit.util.ResourceLeakageDetector.LeakageDetectorRule;
70 public LeakageDetectorRule resourceLeakageDetectorRule = ResourceLeakageDetector.getRule();