Home
last modified time | relevance | path

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/
DCountTest.java52 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/
DCloseGuardSupport.java187 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/
DNetworkEventDispatcherTest.java77 public void assertNetworkConfigurationChangedEvent(int expectedCount) { in assertNetworkConfigurationChangedEvent() argument
78 assertEquals(expectedCount, networkConfigurationChangedCount); in assertNetworkConfigurationChangedEvent()
/libcore/test-rules/src/main/java/libcore/junit/util/
DResourceLeakageDetector.java200 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/
DWatchServiceTest.java59 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/
DCloseGuardTest.java167 private void assertUnreleasedResources(ResourceOwner owner, int expectedCount)
170 CloseGuardSupport.getFinalizerChecker().accept(owner, expectedCount);
/libcore/dom/src/test/java/org/w3c/domts/level1/core/
Dnodelistindexgetlength.java64 int expectedCount = 0; in runTest() local