Home
last modified time | relevance | path

Searched defs:expectedCount (Results 1 – 25 of 492) sorted by relevance

12345678910>>...20

/aosp_15_r20/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
H A DCountTest.java56 long expectedCount = data.size(); in testOps() local
96 long expectedCount = data.size(); in testOps() local
126 long expectedCount = data.size(); in testOps() local
156 long expectedCount = data.size(); in testOps() local
196 … private void checkStreamDoesNotConsumeElements(Supplier<Stream<?>> supplier, long expectedCount) { in checkStreamDoesNotConsumeElements()
201 … assertEquals(supplier.get().peek(e -> ai.getAndIncrement()).parallel().count(), expectedCount); in checkStreamDoesNotConsumeElements() local
205 …ivate void checkIntStreamDoesNotConsumeElements(Supplier<IntStream> supplier, long expectedCount) { in checkIntStreamDoesNotConsumeElements()
210 … assertEquals(supplier.get().peek(e -> ai.getAndIncrement()).parallel().count(), expectedCount); in checkIntStreamDoesNotConsumeElements() local
214 …ate void checkLongStreamDoesNotConsumeElements(Supplier<LongStream> supplier, long expectedCount) { in checkLongStreamDoesNotConsumeElements()
219 … assertEquals(supplier.get().peek(e -> ai.getAndIncrement()).parallel().count(), expectedCount); in checkLongStreamDoesNotConsumeElements() local
[all …]
/aosp_15_r20/external/javaparser/javaparser-core-testing-bdd/src/test/java/com/github/javaparser/steps/
H A DCommentParsingSteps.java113 public void thenTheTotalNumberOfCommentsIs(int expectedCount) { in thenTheTotalNumberOfCommentsIs()
218 public void thenTheCompilationUnitHasContainedComments(int expectedCount) { in thenTheCompilationUnitHasContainedComments()
223 public void thenTheCompilationUnitHasExpectedCountOrphanComments(int expectedCount) { in thenTheCompilationUnitHasExpectedCountOrphanComments()
264 public void thenClassHasTotalContainedComments(int position, int expectedCount) { in thenClassHasTotalContainedComments()
271 public void thenClassHasOrphanComments(int position, int expectedCount) { in thenClassHasOrphanComments()
292 …nMethodInClassHasTotalContainedComments(int methodPosition, int classPosition, int expectedCount) { in thenMethodInClassHasTotalContainedComments()
309 …void thenMethodInClassHasOrphanComments(int methodPosition, int classPosition, int expectedCount) { in thenMethodInClassHasOrphanComments()
317 …nMethodInClassHasTotalContainedComments(int methodPosition, int classPosition, int expectedCount) { in thenBlockStatementInMethodInClassHasTotalContainedComments()
326 …atementInMethodInClassHasOrphanComments(int methodPosition, int classPosition, int expectedCount) { in thenBlockStatementInMethodInClassHasOrphanComments()
354 …ic void thenFieldInClassContainsComments(int fieldPosition, int classPosition, int expectedCount) { in thenFieldInClassContainsComments()
/aosp_15_r20/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DPersistAtomsStorageTest.java5890 VoiceCallSession[] calls, @Nullable VoiceCallSession expectedCall, int expectedCount) { in assertHasCall()
5914 int expectedCount, long expectedTime) { in assertHasStatsCountTime()
5935 @Nullable RcsClientProvisioningStats expectedStats, int expectedCount) { in assertHasStatsAndCount()
5950 @Nullable ImsDedicatedBearerListenerEvent expectedStats, int expectedCount) { in assertHasStats()
5965 @Nullable ImsDedicatedBearerEvent expectedStats, int expectedCount) { in assertHasStatsAndCount()
5986 @Nullable SatelliteController expectedStats, int expectedCount) { in assertHasStats()
6060 @Nullable SatelliteSession expectedStats, int expectedCount) { in assertHasStatsAndCount()
6100 @Nullable SatelliteIncomingDatagram expectedStats, int expectedCount) { in assertHasStatsAndCount()
6118 @Nullable SatelliteOutgoingDatagram expectedStats, int expectedCount) { in assertHasStatsAndCount()
6137 @Nullable SatelliteProvision expectedStats, int expectedCount) { in assertHasStatsAndCount()
[all …]
/aosp_15_r20/packages/providers/TvProvider/tests/src/com/android/providers/tv/
DParametersTest.java85 private void verifyChannelCountWithPreview(int expectedCount, boolean preview) { in verifyChannelCountWithPreview()
91 private void verifyChannelCount(Uri channelUri, int expectedCount) { in verifyChannelCount()
105 private void verifyChannelQuery(Uri channelsUri, int expectedCount, boolean expectedException) { in verifyChannelQuery()
119 int expectedCount, boolean expectedException) { in verifyChannelUpdate()
133 private void verifyChannelDelete(Uri channelsUri, int expectedCount, in verifyChannelDelete()
/aosp_15_r20/cts/tests/tests/content/src/android/content/cts/
H A DClipboardManagerListenerTest.java58 int expectedCount = 0; in testListener() local
78 private void assertClipChangedCount(final int expectedCount) { in assertClipChangedCount()
87 private void assertNoClipChange(int expectedCount) throws InterruptedException { in assertNoClipChange()
/aosp_15_r20/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/
H A DTestStateChangeListener.java31 public void assertNotificationsReceivedAndReset(int expectedCount) { in assertNotificationsReceivedAndReset()
40 private void assertNotificationsReceived(int expectedCount) { in assertNotificationsReceived()
/aosp_15_r20/frameworks/base/libs/hwui/tests/unit/
H A DGraphicsStatsServiceTests.cpp97 int expectedCount, expectedBucket; in TEST() local
156 int expectedCount, expectedBucket; in TEST() local
/aosp_15_r20/cts/tests/tests/car/src/android/car/cts/
H A DCarMediaManagerTest.java95 private void initMediaSourceTrackers(int expectedCount) { in initMediaSourceTrackers()
247 MediaSourceTracker(int expectedCount) { in MediaSourceTracker()
/aosp_15_r20/external/guava/guava-tests/test/com/google/common/base/
H A DUtf8Test.java307 private static void testBytes(int numBytes, long expectedCount) { in testBytes()
322 private static void testBytes(int numBytes, long expectedCount, long start, long lim) { in testBytes()
/aosp_15_r20/external/guava/android/guava-tests/test/com/google/common/base/
H A DUtf8Test.java307 private static void testBytes(int numBytes, long expectedCount) { in testBytes()
322 private static void testBytes(int numBytes, long expectedCount, long start, long lim) { in testBytes()
/aosp_15_r20/external/cronet/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
H A DIsValidUtf8TestUtil.java248 static void testBytes(ByteStringFactory factory, int numBytes, long expectedCount) { in testBytes()
264 ByteStringFactory factory, int numBytes, long expectedCount, long start, long lim) { in testBytes()
/aosp_15_r20/external/protobuf/java/core/src/test/java/com/google/protobuf/
H A DIsValidUtf8TestUtil.java248 static void testBytes(ByteStringFactory factory, int numBytes, long expectedCount) { in testBytes()
264 ByteStringFactory factory, int numBytes, long expectedCount, long start, long lim) { in testBytes()
/aosp_15_r20/libcore/luni/src/test/java/libcore/java/nio/file/
H A DWatchServiceTest.java59 final int expectedCount; field in WatchServiceTest.WatchEventResult
69 int expectedCount) { in WatchEventResult()
/aosp_15_r20/packages/services/Mms/tests/unittests/src/com/android/mms/service/metrics/
DPersistMmsAtomsStorageTest.java541 @Nullable IncomingMms expectedMms, long expectedCount, long expectedAvg) { in assertHasMmsAndCountAvg()
566 @Nullable OutgoingMms expectedMms, long expectedCount, long expectedAvg) { in assertHasMmsAndCountAvg()
/aosp_15_r20/frameworks/base/core/tests/coretests/src/android/view/
H A DHapticScrollFeedbackProviderTest.java1034 private void assertOnlyFeedback(TestView view, int expectedFeedback, int expectedCount) { in assertOnlyFeedback()
1040 private void assertFeedbackCount(TestView view, int feedback, int expectedCount) { in assertFeedbackCount()
/aosp_15_r20/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/core/src/test/java/com/google/android/exoplayer2/offline/
H A DDownloadManagerTest.java824 private void assertDownloaderCount(int expectedCount) { in assertDownloaderCount()
830 private void assertCurrentDownloadCount(int expectedCount) { in assertCurrentDownloadCount()
/aosp_15_r20/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/test/java/com/google/android/exoplayer2/offline/
H A DDownloadManagerTest.java824 private void assertDownloaderCount(int expectedCount) { in assertDownloaderCount()
830 private void assertCurrentDownloadCount(int expectedCount) { in assertCurrentDownloadCount()
/aosp_15_r20/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/espresso/
DRecyclerViewItemCountAssertion.java34 public RecyclerViewItemCountAssertion(int expectedCount) { in RecyclerViewItemCountAssertion()
/aosp_15_r20/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
H A DBatteryStatsStopwatchTimerTest.java39 int expectedCount = 0; in testCount() local
/aosp_15_r20/external/truth/core/src/main/java/com/google/common/truth/
H A DMultisetSubject.java39 public final void hasCount(@Nullable Object element, int expectedCount) { in hasCount()
/aosp_15_r20/external/aws-sdk-java-v2/test/protocol-tests-core/src/main/java/software/amazon/awssdk/protocol/wiremock/
H A DWireMockUtils.java64 public static void verifyRequestCount(int expectedCount, WireMockRule wireMock) { in verifyRequestCount()
/aosp_15_r20/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DPaletteListPreferenceTest.java59 final int expectedCount = in initPaletteView_success() local
/aosp_15_r20/libcore/dom/src/test/java/org/w3c/domts/level1/core/
H A Dnodelistindexgetlength.java64 int expectedCount = 0; in runTest() local
/aosp_15_r20/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
H A DThreadTest.java43 long expectedCount = 0; in TestThreads() local
/aosp_15_r20/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryOptimizeLogUtilsTest.java65 final int expectedCount = 10; in writeLog_multipleLogs_withCorrectCounts() local

12345678910>>...20