Searched refs:expectedCount (Results 1 – 7 of 7) sorted by relevance
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | CountTest.java | 52 AtomicLong expectedCount = new AtomicLong(); in testOps() local 53 data.stream().forEach(e -> expectedCount.incrementAndGet()); in testOps() 57 expectedResult(expectedCount.get()). in testOps() 63 AtomicLong expectedCount = new AtomicLong(); in testOps() local 64 data.stream().forEach(e -> expectedCount.incrementAndGet()); in testOps() 68 expectedResult(expectedCount.get()). in testOps() 74 AtomicLong expectedCount = new AtomicLong(); in testOps() local 75 data.stream().forEach(e -> expectedCount.incrementAndGet()); in testOps() 79 expectedResult(expectedCount.get()). in testOps() 85 AtomicLong expectedCount = new AtomicLong(); in testOps() local [all …]
|
/libcore/dalvik/test-rules/src/main/java/libcore/dalvik/system/ |
D | CloseGuardSupport.java | 187 public void accept(Object resourceOwner, Integer expectedCount) { 188 finalizerChecker(resourceOwner, expectedCount); 214 private static void finalizerChecker(Object resourceOwner, int expectedCount) { 250 reporter.assertUnreleasedResources(expectedCount); 282 void assertUnreleasedResources(int expectedCount) { 285 if (unreleasedResourceCount == expectedCount) { 290 "Expected " + expectedCount + " unreleased resources, found "
|
/libcore/luni/src/test/java/libcore/libcore/net/event/ |
D | NetworkEventDispatcherTest.java | 77 public void assertNetworkConfigurationChangedEvent(int expectedCount) { in assertNetworkConfigurationChangedEvent() argument 78 assertEquals(expectedCount, networkConfigurationChangedCount); in assertNetworkConfigurationChangedEvent()
|
/libcore/test-rules/src/main/java/libcore/junit/util/ |
D | ResourceLeakageDetector.java | 200 public void assertUnreleasedResourceCount(Object owner, int expectedCount) { in assertUnreleasedResourceCount() argument 202 FINALIZER_CHECKER.accept(owner, expectedCount); in assertUnreleasedResourceCount()
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | WatchServiceTest.java | 59 final int expectedCount; field in WatchServiceTest.WatchEventResult 64 this.expectedCount = 0; in WatchEventResult() 69 int expectedCount) { in WatchEventResult() argument 71 this.expectedCount = expectedCount; in WatchEventResult() 101 assertEquals(expectedEventResult.expectedCount, event.count()); in checkWatchServiceEventMultipleKeys()
|
/libcore/dalvik/src/test/java/libcore/dalvik/system/ |
D | CloseGuardTest.java | 167 private void assertUnreleasedResources(ResourceOwner owner, int expectedCount) 170 CloseGuardSupport.getFinalizerChecker().accept(owner, expectedCount);
|
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
D | nodelistindexgetlength.java | 64 int expectedCount = 0; in runTest() local
|