Home
last modified time | relevance | path

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

12

/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DThreadTest.java35 long expectedCount = 0; in TestThreads() local
39 if (expectedCount == 0) { in TestThreads()
40 expectedCount = thread.count; in TestThreads()
42 if (expectedCount != thread.count) { in TestThreads()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
DThreadTest.java39 long expectedCount = 0; in TestThreads() local
43 if (expectedCount == 0) { in TestThreads()
44 expectedCount = thread.count; in TestThreads()
46 if (expectedCount != thread.count) { in TestThreads()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
DFrameCountTest.java66 int expectedCount = getFramesCount(threadID); in testFrameCount001() local
67 logWriter.println("\texpected count = " + expectedCount); in testFrameCount001()
79 if (frameCount != expectedCount) { in testFrameCount001()
81 + ", expected value " + expectedCount); in testFrameCount001()
/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/src/test/java/com/google/protobuf/
DIsValidUtf8TestUtil.java189 static void testBytes(int numBytes, long expectedCount)
191 testBytes(numBytes, expectedCount, 0, -1);
205 static void testBytes(int numBytes, long expectedCount, long start, long lim)
297 assertEquals(expectedCount, countRoundTripped);
314 int numBytes, long expectedCount, long start, long lim)
391 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/chromium-trace/catapult/third_party/polymer/components/web-animations-js/test/js/
Dplayer-finish-event.js59 function createHandler(expectedCount) { argument
62 assert.equal(count, expectedCount);
Dgroup-player-finish-event.js67 function createHandler(expectedCount) { argument
70 assert.equal(count, expectedCount);
/external/icu/icu4c/source/test/intltest/
Dsvccoll.cpp485 int32_t expectedCount) { in checkStringEnumeration() argument
487 U_ASSERT(expectedCount >= 0 && expectedCount < 31); // [sic] 31 not 32 in checkStringEnumeration()
500 for (int32_t j=0, bit=1; j<expectedCount; ++j, bit<<=1) { in checkStringEnumeration()
529 if (((1<<expectedCount)-1) != seenMask) { in checkStringEnumeration()
530 for (int32_t j=0, bit=1; j<expectedCount; ++j, bit<<=1) { in checkStringEnumeration()
Dsvccoll.h35 int32_t expectedCount);
Drbbitst.cpp362 static void printStringBreaks(UText *tstr, int expected[], int expectedCount) { in printStringBreaks() argument
369 if (nextExpectedIndex < expectedCount && j >= expected[nextExpectedIndex] ) { in printStringBreaks()
400 static void printStringBreaks(const UnicodeString &ustr, int expected[], int expectedCount) { in printStringBreaks() argument
408 printStringBreaks(tstr, expected, expectedCount); in printStringBreaks()
4128 int expectedCount = 0; in RunMonkey() local
4189 expectedCount = 0; in RunMonkey()
4199 U_ASSERT(expectedCount<testText.length()); in RunMonkey()
4200 expected[expectedCount ++] = breakPos; in RunMonkey()
/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.java231 int expectedCount = CountModifierDebuggee.EVENT_COUNT; in testEventWithCountModifier() local
233 assertEquals("Invalid event count", expectedCount, actualCount); in testEventWithCountModifier()
/external/easymock/src/org/easymock/internal/
DRange.java74 public String expectedCount() { in expectedCount() method in Range
DResults.java68 return getMainInterval().expectedCount(); in toString()
/external/skia/include/core/
DSkImageFilter.h465 #define SK_IMAGEFILTER_UNFLATTEN_COMMON(localVar, expectedCount) \ argument
468 if (!localVar.unflatten(buffer, expectedCount)) { \
/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()
/external/skia/src/core/
DSkImageFilter.cpp125 bool SkImageFilter::Common::unflatten(SkReadBuffer& buffer, int expectedCount) { in unflatten() argument
130 if (!buffer.validate(expectedCount < 0 || count == expectedCount)) { in unflatten()
/external/jsoncpp/src/test_lib_json/
Dmain.cpp89 unsigned int expectedCount);
91 void checkMemberCount(Json::Value& value, unsigned int expectedCount);
1243 unsigned int expectedCount) { in checkConstMemberCount() argument
1249 JSONTEST_ASSERT_EQUAL(expectedCount, count) << "Json::Value::const_iterator"; in checkConstMemberCount()
1253 unsigned int expectedCount) { in checkMemberCount() argument
1254 JSONTEST_ASSERT_EQUAL(expectedCount, value.size()); in checkMemberCount()
1261 JSONTEST_ASSERT_EQUAL(expectedCount, count) << "Json::Value::iterator"; in checkMemberCount()
1263 JSONTEST_ASSERT_PRED(checkConstMemberCount(value, expectedCount)); in checkMemberCount()
/external/guice/core/test/com/google/inject/
DBindingTest.java344 public void assertDistinct(Injector injector, int expectedCount, Key<?>... keys) { in assertDistinct() argument
349 assertEquals(expectedCount, builder.build().size()); in assertDistinct()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBITestMonkey.java1664 int expectedCount = 0; in RunMonkey() local
1756 expectedCount = 0; in RunMonkey()
1758 expected[expectedCount ++] = 0; in RunMonkey()
1775 expected[expectedCount ++] = breakPos; in RunMonkey()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBITestMonkey.java1660 int expectedCount = 0; in RunMonkey() local
1752 expectedCount = 0; in RunMonkey()
1754 expected[expectedCount ++] = 0; in RunMonkey()
1771 expected[expectedCount ++] = breakPos; in RunMonkey()
/external/deqp/modules/gles3/functional/
Des3fTransformFeedbackTests.cpp1251 const int expectedCount = computeTransformFeedbackPrimitiveCount(m_primitiveType, first, end); in runTest() local
1267 if ((int)numPrimitives != expectedCount) in runTest()
1269 …log << TestLog::Message << "ERROR: Expected " << expectedCount << " primitives!" << TestLog::EndMe… in runTest()

12