Home
last modified time | relevance | path

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

12

/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/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()
/third_party/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()
/third_party/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()
DMapLiteTest.java634 private void assertMapCounts(int expectedCount, TestMapOrBuilder testMapOrBuilder) { in assertMapCounts() argument
635 assertEquals(expectedCount, testMapOrBuilder.getInt32ToInt32FieldCount()); in assertMapCounts()
636 assertEquals(expectedCount, testMapOrBuilder.getInt32ToStringFieldCount()); in assertMapCounts()
637 assertEquals(expectedCount, testMapOrBuilder.getInt32ToBytesFieldCount()); in assertMapCounts()
638 assertEquals(expectedCount, testMapOrBuilder.getInt32ToEnumFieldCount()); in assertMapCounts()
639 assertEquals(expectedCount, testMapOrBuilder.getInt32ToMessageFieldCount()); in assertMapCounts()
640 assertEquals(expectedCount, testMapOrBuilder.getStringToInt32FieldCount()); in assertMapCounts()
DMapForProto2Test.java949 private void assertMapCounts(int expectedCount, TestMapOrBuilder testMapOrBuilder) { in assertMapCounts() argument
950 assertEquals(expectedCount, testMapOrBuilder.getInt32ToInt32FieldCount()); in assertMapCounts()
951 assertEquals(expectedCount, testMapOrBuilder.getInt32ToStringFieldCount()); in assertMapCounts()
952 assertEquals(expectedCount, testMapOrBuilder.getInt32ToBytesFieldCount()); in assertMapCounts()
953 assertEquals(expectedCount, testMapOrBuilder.getInt32ToEnumFieldCount()); in assertMapCounts()
954 assertEquals(expectedCount, testMapOrBuilder.getInt32ToMessageFieldCount()); in assertMapCounts()
955 assertEquals(expectedCount, testMapOrBuilder.getStringToInt32FieldCount()); in assertMapCounts()
DMapTest.java1077 private void assertMapCounts(int expectedCount, TestMapOrBuilder testMapOrBuilder) { in assertMapCounts() argument
1078 assertEquals(expectedCount, testMapOrBuilder.getInt32ToInt32FieldCount()); in assertMapCounts()
1079 assertEquals(expectedCount, testMapOrBuilder.getInt32ToStringFieldCount()); in assertMapCounts()
1080 assertEquals(expectedCount, testMapOrBuilder.getInt32ToBytesFieldCount()); in assertMapCounts()
1081 assertEquals(expectedCount, testMapOrBuilder.getInt32ToEnumFieldCount()); in assertMapCounts()
1082 assertEquals(expectedCount, testMapOrBuilder.getInt32ToMessageFieldCount()); in assertMapCounts()
1083 assertEquals(expectedCount, testMapOrBuilder.getStringToInt32FieldCount()); in assertMapCounts()
/third_party/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()
Dunits_test.cpp555 int32_t expectedCount; in testComplexUnitsConverter() member
660 assertEquals(msgCount.data(), testCase.expectedCount, measures.length()); in testComplexUnitsConverter()
661 for (int i = 0; i < measures.length() && i < testCase.expectedCount; i++) { in testComplexUnitsConverter()
662 if (i == testCase.expectedCount-1) { in testComplexUnitsConverter()
707 int32_t expectedCount; in testComplexUnitsConverterSorting() member
751 if (actual.length() < testCase.expectedCount) { in testComplexUnitsConverterSorting()
756 for (int i = 0; i < testCase.expectedCount; i++) { in testComplexUnitsConverterSorting()
Dsvccoll.h37 int32_t expectedCount);
/third_party/skia/tests/
DTypefaceTest.cpp341 auto test = [&](SkTypeface* typeface, const Axis* expected, int expectedCount, in DEF_TEST()
352 REPORTER_ASSERT(reporter, actualCount == expectedCount || in DEF_TEST()
360 REPORTER_ASSERT(reporter, actualCount == expectedCount || in DEF_TEST()
364 std::unique_ptr<bool[]> expectedUsed(new bool[expectedCount]()); in DEF_TEST()
367 for (int expectedIdx = 0; expectedIdx < expectedCount; ++expectedIdx) { in DEF_TEST()
DSkUTFTest.cpp62 int expectedCount; in DEF_TEST() member
92 REPORTER_ASSERT(r, testCase.expectedCount == SkUTF::CountUTF8(str, strlen(str))); in DEF_TEST()
/third_party/flutter/skia/src/core/
DSkImageFilter_Base.h306 #define SK_IMAGEFILTER_UNFLATTEN_COMMON(localVar, expectedCount) \ argument
309 if (!localVar.unflatten(buffer, expectedCount)) { \
DSkImageFilter.cpp162 bool SkImageFilter_Base::Common::unflatten(SkReadBuffer& buffer, int expectedCount) { in unflatten() argument
167 if (!buffer.validate(expectedCount < 0 || count == expectedCount)) { in unflatten()
/third_party/flutter/skia/tests/
DSkUTFTest.cpp62 int expectedCount; in DEF_TEST() member
92 REPORTER_ASSERT(r, testCase.expectedCount == SkUTF::CountUTF8(str, strlen(str))); in DEF_TEST()
DSkSLInterpreterTest.cpp25 void test(skiatest::Reporter* r, const char* src, float* in, int expectedCount, float* expected, in test() argument
42 std::unique_ptr<float[]> out = std::unique_ptr<float[]>(new float[expectedCount]); in test()
44 bool valid = exactCompare ? !memcmp(out.get(), expected, sizeof(float) * expectedCount) in test()
45 : nearly_equal(out.get(), expected, expectedCount); in test()
50 for (int i = 0; i < expectedCount; ++i) { in test()
56 for (int i = 0; i < expectedCount; ++i) { in test()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DD3D11FormatTablesTest.cpp142 GLuint expectedCount = (!sampleSuccess || qualityCount == 0) ? 0 : 1; in TEST_P() local
143 EXPECT_EQ(expectedCount, textureInfo.sampleCounts.count(sampleCount)) in TEST_P()
/third_party/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()
/third_party/skia/third_party/externals/angle2/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()
/third_party/flutter/skia/src/gpu/geometry/
DGrQuadBuffer.h223 void validate(const char* entry, int expectedCount) const;
322 void GrQuadBuffer<T>::validate(const char* entry, int expectedCount) const { in validate() argument
328 SkASSERT(expectedCount == fCount); in validate()
/third_party/jsframework/runtime/main/extend/systemplugin/napi/ability/
DdataAbilityOperation.js32 expectedCount: "[PC Preview] unknow expectedCount" property
/third_party/skia/src/core/
DSkImageFilter_Base.h454 #define SK_IMAGEFILTER_UNFLATTEN_COMMON(localVar, expectedCount) \ argument
457 if (!localVar.unflatten(buffer, expectedCount)) { \
DSkImageFilter.cpp172 bool SkImageFilter_Base::Common::unflatten(SkReadBuffer& buffer, int expectedCount) { in unflatten() argument
177 if (!buffer.validate(expectedCount < 0 || count == expectedCount)) { in unflatten()
/third_party/vk-gl-cts/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()
/third_party/typescript/src/harness/
DfourslashInterfaceImpl.ts166 public typeDefinitionCountIs(expectedCount: number) {
167 this.state.verifyTypeDefinitionsCount(this.negative, expectedCount);
493 public occurrencesAtPositionCount(expectedCount: number) {
494 this.state.verifyOccurrencesAtPositionListCount(expectedCount);

12