Searched refs:assertUnreleasedResourceCount (Results 1 – 7 of 7) sorted by relevance
/libcore/test-rules/src/main/java/libcore/junit/util/ |
D | ResourceLeakageDetector.java | 200 public void assertUnreleasedResourceCount(Object owner, int expectedCount) { in assertUnreleasedResourceCount() method in ResourceLeakageDetector.LeakageDetectorRule
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | RandomAccessFileTest.java | 68 resourceLeakageDetectorRule.assertUnreleasedResourceCount(accessFile, 1); in testRandomAccessFileHasCleanupFinalizer()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | FileChannelTest.java | 267 guardRule.assertUnreleasedResourceCount(fc, 1); in test_closeGuardSupport_open_without_append() 276 guardRule.assertUnreleasedResourceCount(fc, 1); in test_closeGuardSupport_open_with_append()
|
D | AsynchronousServerSocketChannelTest.java | 358 leakageDetectorRule.assertUnreleasedResourceCount(asc, 1); in test_closeGuardSupport() 369 leakageDetectorRule.assertUnreleasedResourceCount(assc, 1); in test_closeGuardSupport_group()
|
D | DatagramChannelTest.java | 270 guardRule.assertUnreleasedResourceCount(dc, 1); in test_closeGuardSupport()
|
D | AsynchronousSocketChannelTest.java | 911 leakageDetectorRule.assertUnreleasedResourceCount(asc, 1); in test_closeGuardSupport() 922 leakageDetectorRule.assertUnreleasedResourceCount(asc, 1); in test_closeGuardSupport_group()
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | DefaultSecureDirectoryStreamTest.java | 510 resourceLeakageDetectorRule.assertUnreleasedResourceCount(ds_path_root, 1); in testUnixSecureDirectoryStreamHasFinalizer()
|