Searched refs:leakageDetectorRule (Results 1 – 3 of 3) sorted by relevance
54 LeakageDetectorRule leakageDetectorRule;66 leakageDetectorRule = new LeakageDetectorRule((TestRule) method.invoke(null));78 leakageDetectorRule = new LeakageDetectorRule(RuleChain.emptyRuleChain());87 LEAKAGE_DETECTOR_RULE = leakageDetectorRule;127 private final TestRule leakageDetectorRule; field in ResourceLeakageDetector.LeakageDetectorRule130 private LeakageDetectorRule(TestRule leakageDetectorRule) { in LeakageDetectorRule() argument131 this.leakageDetectorRule = leakageDetectorRule; in LeakageDetectorRule()143 return leakageDetectorRule.apply(base, description); in apply()
50 public LeakageDetectorRule leakageDetectorRule = ResourceLeakageDetector.getRule(); field in AsynchronousServerSocketChannelTest358 leakageDetectorRule.assertUnreleasedResourceCount(asc, 1); in test_closeGuardSupport()369 leakageDetectorRule.assertUnreleasedResourceCount(assc, 1); in test_closeGuardSupport_group()
50 public LeakageDetectorRule leakageDetectorRule = ResourceLeakageDetector.getRule(); field in AsynchronousSocketChannelTest911 leakageDetectorRule.assertUnreleasedResourceCount(asc, 1); in test_closeGuardSupport()922 leakageDetectorRule.assertUnreleasedResourceCount(asc, 1); in test_closeGuardSupport_group()