Home
last modified time | relevance | path

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

12

/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/bdd/steps/
DCommentParsingSteps.java112 public void thenTheTotalNumberOfCommentsIs(int expectedCount) { in thenTheTotalNumberOfCommentsIs() argument
113 assertThat(commentsCollection.size(), is(expectedCount)); in thenTheTotalNumberOfCommentsIs()
217 public void thenTheCompilationUnitHasContainedComments(int expectedCount) { in thenTheCompilationUnitHasContainedComments() argument
218 assertThat(compilationUnit.getComments().size(), is(expectedCount)); in thenTheCompilationUnitHasContainedComments()
222 public void thenTheCompilationUnitHasExpectedCountOrphanComments(int expectedCount) { in thenTheCompilationUnitHasExpectedCountOrphanComments() argument
223 assertThat(compilationUnit.getOrphanComments().size(), is(expectedCount)); in thenTheCompilationUnitHasExpectedCountOrphanComments()
263 public void thenClassHasTotalContainedComments(int position, int expectedCount) { in thenClassHasTotalContainedComments() argument
265 assertThat(classUnderTest.getAllContainedComments().size(), is(expectedCount)); in thenClassHasTotalContainedComments()
270 public void thenClassHasOrphanComments(int position, int expectedCount) { in thenClassHasOrphanComments() argument
272 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()
DManipulationSteps.java256 …blic void thenMethodInClassHasArguments(int methodPosition, int classPosition, int expectedCount) { in thenMethodInClassHasArguments() argument
260 assertThat(method.getParameters().size(), is(expectedCount)); in thenMethodInClassHasArguments()
/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)) { \
DSkImageFilter.cpp82 bool SkImageFilter::Common::unflatten(SkReadBuffer& buffer, int expectedCount) { in unflatten() argument
87 if (!buffer.validate(expectedCount < 0 || count == expectedCount)) { in unflatten()
/external/skia/src/core/
DSkImageFilterPriv.h16 #define SK_IMAGEFILTER_UNFLATTEN_COMMON(localVar, expectedCount) \ argument
19 if (!localVar.unflatten(buffer, expectedCount)) { \
DSkImageFilter.cpp85 bool SkImageFilter::Common::unflatten(SkReadBuffer& buffer, int expectedCount) { in unflatten() argument
90 if (!buffer.validate(expectedCount < 0 || count == expectedCount)) { in unflatten()
/external/guava/guava-tests/test/com/google/common/base/
DUtf8Test.java281 private static void testBytes(int numBytes, long expectedCount) { in testBytes() argument
282 testBytes(numBytes, expectedCount, 0, -1); in testBytes()
297 private static void testBytes(int numBytes, long expectedCount, long start, in testBytes() argument
323 assertEquals(expectedCount, countRoundTripped); in testBytes()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DIsValidUtf8TestUtil.java230 static void testBytes(ByteStringFactory factory, int numBytes, long expectedCount) {
231 testBytes(factory, numBytes, expectedCount, 0, -1);
247 ByteStringFactory factory, int numBytes, long expectedCount, long start, long lim) {
326 assertEquals(expectedCount, countRoundTripped);
344 ByteStringFactory factory, int numBytes, long expectedCount, long start, long lim) {
420 assertEquals(expectedCount, countRoundTripped);
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DExecutionListTest.java111 final int expectedCount = i; in testOrdering() local
115 integer.compareAndSet(expectedCount, expectedCount + 1); in testOrdering()
/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/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DTreeMultiset.java716 int expectedCount,
724 if (expectedCount == 0 && newCount > 0) {
730 left = initLeft.setCount(comparator, e, expectedCount, newCount, result);
732 if (result[0] == expectedCount) {
745 if (expectedCount == 0 && newCount > 0) {
751 right = initRight.setCount(comparator, e, expectedCount, newCount, result);
753 if (result[0] == expectedCount) {
766 if (expectedCount == elemCount) {
/external/guava/guava/src/com/google/common/collect/
DTreeMultiset.java720 int expectedCount,
728 if (expectedCount == 0 && newCount > 0) {
734 left = initLeft.setCount(comparator, e, expectedCount, newCount, result);
736 if (result[0] == expectedCount) {
749 if (expectedCount == 0 && newCount > 0) {
755 right = initRight.setCount(comparator, e, expectedCount, newCount, result);
757 if (result[0] == expectedCount) {
770 if (expectedCount == elemCount) {
/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/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/skia/tests/
DSkUTFTest.cpp62 int expectedCount; in DEF_TEST() member
92 REPORTER_ASSERT(r, testCase.expectedCount == SkUTF::CountUTF8(str, strlen(str))); in DEF_TEST()
/external/easymock/src/org/easymock/internal/
DRange.java74 public String expectedCount() { in expectedCount() method in Range
DResults.java68 return getMainInterval().expectedCount(); in toString()
/external/deqp/modules/gles31/functional/
Des31fIndirectComputeDispatchTests.cpp315 const deUint32 expectedCount = computeInvocationCount(m_workGroupSize, cmd.numWorkGroups); in verifyResultBuffer() local
318 if (numPassed != expectedCount) in verifyResultBuffer()
321 << ": got numPassed = " << numPassed << ", expected " << expectedCount in verifyResultBuffer()
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeIndirectComputeDispatchTests.cpp346 const deUint32 expectedCount = numInvocationsPerGroup * numGroups; in verifyResultBuffer() local
348 if (numPassed != expectedCount) in verifyResultBuffer()
355 << ": got numPassed = " << numPassed << ", expected " << expectedCount in verifyResultBuffer()

12