/external/javaparser/javaparser-core-testing-bdd/src/test/java/com/github/javaparser/steps/ |
D | CommentParsingSteps.java | 113 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 …]
|
D | VisitorSteps.java | 168 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/ |
D | ProtectedPromise.java | 39 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/ |
D | ThreadTest.java | 40 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/ |
D | ThreadTest.java | 43 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/ |
D | FrameCountTest.java | 67 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/ |
D | SkImageFilterPriv.h | 16 #define SK_IMAGEFILTER_UNFLATTEN_COMMON(localVar, expectedCount) \ argument 19 if (!localVar.unflatten(buffer, expectedCount)) { \
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | ExecutionListTest.java | 117 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/ |
D | ExecutionListTest.java | 117 final int expectedCount = i; in testOrdering() local 122 integer.compareAndSet(expectedCount, expectedCount + 1); in testOrdering()
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | Utf8Test.java | 306 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/ |
D | Utf8Test.java | 306 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/ |
D | IsValidUtf8TestUtil.java | 237 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);
|
D | MapForProto2LiteTest.java | 580 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/ |
D | svccoll.cpp | 488 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()
|
D | svccoll.h | 37 int32_t expectedCount);
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/EventModifiers/ |
D | CountModifierTest.java | 225 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/ |
D | TreeMultiset.java | 767 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/ |
D | TreeMultiset.java | 760 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/ |
D | SkUTFTest.cpp | 62 int expectedCount; in DEF_TEST() member 92 REPORTER_ASSERT(r, testCase.expectedCount == SkUTF::CountUTF8(str, strlen(str))); in DEF_TEST()
|
D | TypefaceTest.cpp | 363 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/ |
D | SkUTFTest.cpp | 62 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/ |
D | testutil_test.go | 204 func verifyArgCount(cmd *command, expectedCount int, expectedRegex string) error { 212 if count != expectedCount { 214 expectedCount, expectedRegex, cmd.Args)
|
/external/angle/src/tests/gl_tests/ |
D | D3D11FormatTablesTest.cpp | 143 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/ |
D | GrQuadBuffer.h | 225 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/ |
D | Range.java | 74 public String expectedCount() { in expectedCount() method in Range
|