Home
last modified time | relevance | path

Searched refs:expectedCount (Results 1 – 25 of 48) sorted by relevance

12

/external/javaparser/javaparser-core-testing-bdd/src/test/java/com/github/javaparser/steps/
DCommentParsingSteps.java113 public void thenTheTotalNumberOfCommentsIs(int expectedCount) { in thenTheTotalNumberOfCommentsIs() argument
114 assertThat(commentsCollection.size(), is(expectedCount)); in thenTheTotalNumberOfCommentsIs()
218 public void thenTheCompilationUnitHasContainedComments(int expectedCount) { in thenTheCompilationUnitHasContainedComments() argument
219 assertThat(compilationUnit.getComments().size(), is(expectedCount)); in thenTheCompilationUnitHasContainedComments()
223 public void thenTheCompilationUnitHasExpectedCountOrphanComments(int expectedCount) { in thenTheCompilationUnitHasExpectedCountOrphanComments() argument
224 assertThat(compilationUnit.getOrphanComments().size(), is(expectedCount)); in thenTheCompilationUnitHasExpectedCountOrphanComments()
264 public void thenClassHasTotalContainedComments(int position, int expectedCount) { in thenClassHasTotalContainedComments() argument
266 assertThat(classUnderTest.getAllContainedComments().size(), is(expectedCount)); in thenClassHasTotalContainedComments()
271 public void thenClassHasOrphanComments(int position, int expectedCount) { in thenClassHasOrphanComments() argument
273 assertThat(classUnderTest.getOrphanComments().size(), is(expectedCount)); in thenClassHasOrphanComments()
[all …]
DVisitorSteps.java168 public void thenTheTotalNumberOfNodesVisitedIs(int expectedCount) { in thenTheTotalNumberOfNodesVisitedIs() argument
169 assertThat(positionTestVisitor.getNumberOfNodesVisited(), is(expectedCount)); in thenTheTotalNumberOfNodesVisitedIs()
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/
DProtectedPromise.java39 private int expectedCount; field in ProtectedPromise
65 expectedCount++; in newPromise()
78 if (successfulCount == expectedCount) { in doneAllocatingPromises()
114 return successfulCount + failureCount < expectedCount; in awaitingPromises()
127 if (successfulCount == expectedCount && doneAllocating) { in trySuccess()
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DThreadTest.java40 long expectedCount = 0; in TestThreads() local
44 if (expectedCount == 0) { in TestThreads()
45 expectedCount = thread.count; in TestThreads()
47 if (expectedCount != thread.count) { in TestThreads()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DThreadTest.java43 long expectedCount = 0; in TestThreads() local
47 if (expectedCount == 0) { in TestThreads()
48 expectedCount = thread.count; in TestThreads()
50 if (expectedCount != thread.count) { in TestThreads()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
DFrameCountTest.java67 int expectedCount = getFramesCount(threadID); in testFrameCount001() local
68 logWriter.println("\texpected count = " + expectedCount); in testFrameCount001()
80 if (frameCount != expectedCount) { in testFrameCount001()
82 + ", expected value " + expectedCount); in testFrameCount001()
/external/skqp/src/core/
DSkImageFilterPriv.h16 #define SK_IMAGEFILTER_UNFLATTEN_COMMON(localVar, expectedCount) \ argument
19 if (!localVar.unflatten(buffer, expectedCount)) { \
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DExecutionListTest.java117 final int expectedCount = i; in testOrdering() local
122 integer.compareAndSet(expectedCount, expectedCount + 1); in testOrdering()
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DExecutionListTest.java117 final int expectedCount = i; in testOrdering() local
122 integer.compareAndSet(expectedCount, expectedCount + 1); in testOrdering()
/external/guava/guava-tests/test/com/google/common/base/
DUtf8Test.java306 private static void testBytes(int numBytes, long expectedCount) { in testBytes() argument
307 testBytes(numBytes, expectedCount, 0, -1); in testBytes()
321 private static void testBytes(int numBytes, long expectedCount, long start, long lim) { in testBytes() argument
346 assertEquals(expectedCount, countRoundTripped); in testBytes()
/external/guava/android/guava-tests/test/com/google/common/base/
DUtf8Test.java306 private static void testBytes(int numBytes, long expectedCount) { in testBytes() argument
307 testBytes(numBytes, expectedCount, 0, -1); in testBytes()
321 private static void testBytes(int numBytes, long expectedCount, long start, long lim) { in testBytes() argument
346 assertEquals(expectedCount, countRoundTripped); in testBytes()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DIsValidUtf8TestUtil.java237 static void testBytes(ByteStringFactory factory, int numBytes, long expectedCount) {
238 testBytes(factory, numBytes, expectedCount, 0, -1);
253 ByteStringFactory factory, int numBytes, long expectedCount, long start, long lim) {
342 assertEquals(expectedCount, countRoundTripped);
359 ByteStringFactory factory, int numBytes, long expectedCount, long start, long lim) {
437 assertEquals(expectedCount, countRoundTripped);
DMapForProto2LiteTest.java580 private void assertMapCounts(int expectedCount, TestMapOrBuilder testMapOrBuilder) { in assertMapCounts() argument
581 assertEquals(expectedCount, testMapOrBuilder.getInt32ToInt32FieldCount()); in assertMapCounts()
582 assertEquals(expectedCount, testMapOrBuilder.getInt32ToStringFieldCount()); in assertMapCounts()
583 assertEquals(expectedCount, testMapOrBuilder.getInt32ToBytesFieldCount()); in assertMapCounts()
584 assertEquals(expectedCount, testMapOrBuilder.getInt32ToEnumFieldCount()); in assertMapCounts()
585 assertEquals(expectedCount, testMapOrBuilder.getInt32ToMessageFieldCount()); in assertMapCounts()
586 assertEquals(expectedCount, testMapOrBuilder.getStringToInt32FieldCount()); in assertMapCounts()
/external/icu/icu4c/source/test/intltest/
Dsvccoll.cpp488 int32_t expectedCount) { in checkStringEnumeration() argument
490 U_ASSERT(expectedCount >= 0 && expectedCount < 31); // [sic] 31 not 32 in checkStringEnumeration()
503 for (int32_t j=0, bit=1; j<expectedCount; ++j, bit<<=1) { in checkStringEnumeration()
532 if (((1<<expectedCount)-1) != seenMask) { in checkStringEnumeration()
533 for (int32_t j=0, bit=1; j<expectedCount; ++j, bit<<=1) { in checkStringEnumeration()
Dsvccoll.h37 int32_t expectedCount);
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/EventModifiers/
DCountModifierTest.java225 int expectedCount = CountModifierDebuggee.EVENT_COUNT; in testEventWithCountModifier() local
227 assertEquals("Invalid event count", expectedCount, actualCount); in testEventWithCountModifier()
/external/guava/guava/src/com/google/common/collect/
DTreeMultiset.java767 int expectedCount,
775 if (expectedCount == 0 && newCount > 0) {
781 left = initLeft.setCount(comparator, e, expectedCount, newCount, result);
783 if (result[0] == expectedCount) {
796 if (expectedCount == 0 && newCount > 0) {
802 right = initRight.setCount(comparator, e, expectedCount, newCount, result);
804 if (result[0] == expectedCount) {
817 if (expectedCount == elemCount) {
/external/guava/android/guava/src/com/google/common/collect/
DTreeMultiset.java760 int expectedCount,
768 if (expectedCount == 0 && newCount > 0) {
774 left = initLeft.setCount(comparator, e, expectedCount, newCount, result);
776 if (result[0] == expectedCount) {
789 if (expectedCount == 0 && newCount > 0) {
795 right = initRight.setCount(comparator, e, expectedCount, newCount, result);
797 if (result[0] == expectedCount) {
810 if (expectedCount == elemCount) {
/external/skia/tests/
DSkUTFTest.cpp62 int expectedCount; in DEF_TEST() member
92 REPORTER_ASSERT(r, testCase.expectedCount == SkUTF::CountUTF8(str, strlen(str))); in DEF_TEST()
DTypefaceTest.cpp363 auto test = [&](SkTypeface* typeface, const Axis* expected, int expectedCount, in DEF_TEST()
374 REPORTER_ASSERT(reporter, actualCount == expectedCount || in DEF_TEST()
382 REPORTER_ASSERT(reporter, actualCount == expectedCount || in DEF_TEST()
386 std::unique_ptr<bool[]> expectedUsed(new bool[expectedCount]()); in DEF_TEST()
389 for (int expectedIdx = 0; expectedIdx < expectedCount; ++expectedIdx) { in DEF_TEST()
/external/skqp/tests/
DSkUTFTest.cpp62 int expectedCount; in DEF_TEST() member
92 REPORTER_ASSERT(r, testCase.expectedCount == SkUTF::CountUTF8(str, strlen(str))); in DEF_TEST()
/external/toolchain-utils/compiler_wrapper/
Dtestutil_test.go204 func verifyArgCount(cmd *command, expectedCount int, expectedRegex string) error {
212 if count != expectedCount {
214 expectedCount, expectedRegex, cmd.Args)
/external/angle/src/tests/gl_tests/
DD3D11FormatTablesTest.cpp143 GLuint expectedCount = (!sampleSuccess || qualityCount == 0) ? 0 : 1; in TEST_P() local
144 EXPECT_EQ(expectedCount, textureInfo.sampleCounts.count(sampleCount)) in TEST_P()
/external/skia/src/gpu/geometry/
DGrQuadBuffer.h225 void validate(const char* entry, int expectedCount) const;
315 void GrQuadBuffer<T>::validate(const char* entry, int expectedCount) const { in validate() argument
321 SkASSERT(expectedCount == fCount); in validate()
/external/easymock/src/org/easymock/internal/
DRange.java74 public String expectedCount() { in expectedCount() method in Range

12