/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/test/ |
D | TestCoroutineContextTest.kt | 98 val expectedValue = 16 in <lambda>() constant 102 expectedValue in <lambda>() 106 assertEquals(expectedValue, result) in <lambda>() 113 val expectedValue = 16 in <lambda>() constant 117 expectedValue in <lambda>() 130 assertEquals(expectedValue, deferred.getCompleted()) in <lambda>() 144 val expectedValue = 16 in <lambda>() constant 147 expectedValue in <lambda>() 150 assertEquals(expectedValue, result) in <lambda>() 157 val expectedValue = 16 in <lambda>() constant [all …]
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/ |
D | ForceEarlyReturnTest.java | 50 static Value expectedValue; field in ForceEarlyReturnTest 107 forceEarlyReturnPacket.setNextValueAsValue(expectedValue); in RunTestForceEarlyReturn() 125 if (!actualValue.equals(toString(expectedValue))) { in RunTestForceEarlyReturn() 128 + " expected:<" + expectedValue.toString() + "> but was:<" in RunTestForceEarlyReturn() 150 expectedValue = Value.createInt(EXPECTED_INT); in testForceEarlyReturn_ReturnInt() 166 expectedValue = Value.createShort(EXPECTED_SHORT); in testForceEarlyReturn_ReturnShort() 182 expectedValue = Value.createByte(EXPECTED_BYTE); in testForceEarlyReturn_ReturnByte() 198 expectedValue = Value.createChar(EXPECTED_CHAR); in testForceEarlyReturn_ReturnChar() 214 expectedValue = Value.createBoolean(EXPECTED_BOOLEAN); in testForceEarlyReturn_ReturnBoolean() 228 expectedValue = Value.createVoidValue(); in testForceEarlyReturn_NotSuspended() [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/dependency/ |
D | CachedDependencyResolverFileCacheTest.java | 42 String expectedValue = "some string"; in shouldLoadObjectWhenCacheExists() local 44 writeToCacheFile(expectedValue); in shouldLoadObjectWhenCacheExists() 48 assertEquals(expectedValue, value); in shouldLoadObjectWhenCacheExists() 64 Long expectedValue = 421L; in shouldWriteObjectToFile() local 66 assertTrue(cache.write(ID, expectedValue)); in shouldWriteObjectToFile() 70 assertEquals(expectedValue, actual); in shouldWriteObjectToFile() 100 private void writeToCacheFile(Object expectedValue) throws IOException { in writeToCacheFile() argument 108 out.writeObject(expectedValue); in writeToCacheFile()
|
/external/icu/android_icu4j/testing/src/com/android/i18n/test/timezone/internal/ |
D | MemoryMappedFileTest.java | 240 short expectedValue = (short) ((bytes[0] << 8) | bytes[1]); in testReadShort_bigEndian() local 241 assertReadShortSucceeds(iterator, expectedValue); in testReadShort_bigEndian() 247 expectedValue = (short) ((bytes[1] << 8) | bytes[2]); in testReadShort_bigEndian() 248 assertReadShortSucceeds(iterator, expectedValue); in testReadShort_bigEndian() 262 short expectedValue = (short) ((bytes[1] << 8) | bytes[0]); in testReadShort_littleEndian() local 263 assertReadShortSucceeds(iterator, expectedValue); in testReadShort_littleEndian() 269 expectedValue = (short) ((bytes[2] << 8) | bytes[1]); in testReadShort_littleEndian() 270 assertReadShortSucceeds(iterator, expectedValue); in testReadShort_littleEndian() 302 int expectedValue = (bytes[0] << 24) | (bytes[1] << 16) | (bytes[2] << 8) | bytes[3]; in testReadInt_bigEndian() local 303 assertReadIntSucceeds(iterator, expectedValue); in testReadInt_bigEndian() [all …]
|
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/dexbacked/ |
D | BaseDexReaderTest.java | 69 private void performSizedIntTest(int expectedValue, byte[] buf) { in performSizedIntTest() argument 72 Assert.assertEquals(expectedValue, reader.readSizedInt(buf.length)); in performSizedIntTest() 124 private void performSizedSmallUintTest(int expectedValue, byte[] buf) { in performSizedSmallUintTest() argument 127 Assert.assertEquals(expectedValue, reader.readSizedSmallUint(buf.length)); in performSizedSmallUintTest() 194 private void performSizedRightExtendedIntTest(int expectedValue, byte[] buf) { in performSizedRightExtendedIntTest() argument 197 Assert.assertEquals(expectedValue, reader.readSizedRightExtendedInt(buf.length)); in performSizedRightExtendedIntTest() 303 private void performSizedRightExtendedLongTest(long expectedValue, byte[] buf) { in performSizedRightExtendedLongTest() argument 306 Assert.assertEquals(expectedValue, reader.readSizedRightExtendedLong(buf.length)); in performSizedRightExtendedLongTest() 412 private void performSizedLongTest(long expectedValue, byte[] buf) { in performSizedLongTest() argument 415 Assert.assertEquals(expectedValue, reader.readSizedLong(buf.length)); in performSizedLongTest()
|
D | BaseDexReaderLeb128Test.java | 244 private void performTest(int expectedValue, byte[] buf) { in performTest() argument 245 performTest(expectedValue, buf, buf.length); in performTest() 248 private void performTest(int expectedValue, byte[] buf, int expectedLength) { in performTest() argument 251 Assert.assertEquals(expectedValue, reader.readSmallUleb128()); in performTest()
|
/external/angle/src/tests/preprocessor_tests/ |
D | char_test.cpp | 54 std::string expectedValue; in TEST_P() local 64 expectedValue = str; in TEST_P() 69 expectedValue = str; in TEST_P() 74 expectedValue = str; in TEST_P() 90 EXPECT_EQ(expectedValue, token.text); in TEST_P()
|
/external/icu/icu4c/source/tools/toolutil/ |
D | denseranges.cpp | 125 int32_t expectedValue=minValue; in uprv_makeDenseRanges() local 127 ++expectedValue; in uprv_makeDenseRanges() 129 if(expectedValue!=actualValue) { in uprv_makeDenseRanges() 130 gaps.add(expectedValue, (int64_t)actualValue-(int64_t)expectedValue); in uprv_makeDenseRanges() 131 expectedValue=actualValue; in uprv_makeDenseRanges()
|
/external/icu/icu4c/source/test/intltest/ |
D | ustrtest.cpp | 78 UnicodeString expectedValue; in TestBasicManipulation() local 83 expectedValue = "Now is the time for all good men to come swiftly to the aid of the party.\n"; in TestBasicManipulation() 84 if (test1 != expectedValue) in TestBasicManipulation() 85 errln("insert() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); in TestBasicManipulation() 88 if(*c != expectedValue) { in TestBasicManipulation() 89 errln("clone()->insert() failed: expected \"" + expectedValue + "\"\n,got \"" + *c + "\""); in TestBasicManipulation() 94 expectedValue = "Now is the time for all good men to come to the aid of the party.\n"; in TestBasicManipulation() 95 if (test1 != expectedValue) in TestBasicManipulation() 96 errln("remove() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); in TestBasicManipulation() 99 expectedValue = "Now is the time for all good men to come to the aid of their country.\n"; in TestBasicManipulation() [all …]
|
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/ |
D | IsEqual.java | 15 private final Object expectedValue; field in IsEqual 18 expectedValue = equalArg; in IsEqual() 23 return areEqual(actualValue, expectedValue); in matches() 28 description.appendValue(expectedValue); in describeTo()
|
/external/skia/tests/ |
D | TypefaceMacTest.cpp | 125 float expectedValue = requestValue; in DEF_TEST() local 128 expectedValue = std::min(expectedValue, originalAxis.max); in DEF_TEST() 129 expectedValue = std::max(expectedValue, originalAxis.min); in DEF_TEST() 132 expectedPosition.push_back({originalCoordinate.axis, expectedValue}); in DEF_TEST()
|
D | GrFinishedFlushTest.cpp | 24 static void busy_wait_for_callback(int* count, int expectedValue, GrDirectContext* dContext, in busy_wait_for_callback() argument 32 } while (*count != expectedValue && (end - begin) < std::chrono::seconds(1)); in busy_wait_for_callback() 33 if (*count != expectedValue) { in busy_wait_for_callback() 35 expectedValue); in busy_wait_for_callback()
|
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-reactive/test/ |
D | PublisherRequestStressTest.kt | 65 val expectedValue = AtomicLong(0) in <lambda>() constant 97 check(value == expectedValue.get()) in <lambda>() 101 expectedValue.set(nextExpected) in <lambda>() 119 val expected = expectedValue.get() in <lambda>()
|
/external/icu/icu4c/source/test/cintltst/ |
D | chashtst.c | 39 int32_t expectedValue); 43 int32_t expectedValue); 359 int32_t expectedValue) { in _get() argument 365 } else if (value != expectedValue) { in _get() 367 key, value, expectedValue); in _get() 376 int32_t expectedValue) { in _remove() argument 378 if (value != expectedValue) { in _remove() 380 key, value, expectedValue); in _remove()
|
/external/llvm-project/libc/utils/FPUtil/ |
D | TestHelpers.h | 37 FPMatcher(T expectedValue) : expected(expectedValue) {} in FPMatcher() argument 60 FPMatcher<T, C> getMatcher(T expectedValue) { in getMatcher() argument 61 return FPMatcher<T, C>(expectedValue); in getMatcher()
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
D | ResultSetMetaDataTest.java | 66 Object expectedValue = thePublicStatics.get(fieldName); in testPublicStatics() local 67 if (expectedValue == null) { in testPublicStatics() 71 expectedValue, fieldValue); in testPublicStatics()
|
D | ConnectionTest.java | 71 Object expectedValue = thePublicStatics.get(fieldName); in testPublicStatics() local 72 if (expectedValue == null) { in testPublicStatics() 76 expectedValue, fieldValue); in testPublicStatics()
|
D | StatementTest.java | 74 Object expectedValue = thePublicStatics.get(fieldName); in testPublicStatics() local 75 if (expectedValue == null) { in testPublicStatics() 79 expectedValue, fieldValue); in testPublicStatics()
|
D | ParameterMetaDataTest.java | 76 Object expectedValue = thePublicStatics.get(fieldName); in testPublicStatics() local 77 if (expectedValue == null) { in testPublicStatics() 81 expectedValue, fieldValue); in testPublicStatics()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | FormattedValueTest.java | 178 Object expectedValue = cas.length == 4 ? cas[3] : expectedField; in checkFormattedValue() local 193 … assertEquals(baseMessage + expectedField + " value @" + i, expectedValue, actualValue); in checkFormattedValue() 209 Object expectedValue = cas.length == 4 ? cas[3] : null; in checkFormattedValue() local 213 assertEquals(baseMessage + "value " + i, expectedValue, cfpos.getFieldValue()); in checkFormattedValue() 234 Object expectedValue = cas.length == 4 ? cas[3] : null; in checkFormattedValue() local 238 assertEquals(baseMessage + "value " + i, expectedValue, cfpos.getFieldValue()); in checkFormattedValue() 265 Object expectedValue = cas.length == 4 ? cas[3] : null; in checkFormattedValue() local 269 assertEquals(baseMessage + "value " + i, expectedValue, cfpos.getFieldValue()); in checkFormattedValue()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | FormattedValueTest.java | 181 Object expectedValue = cas.length == 4 ? cas[3] : expectedField; in checkFormattedValue() local 196 … assertEquals(baseMessage + expectedField + " value @" + i, expectedValue, actualValue); in checkFormattedValue() 212 Object expectedValue = cas.length == 4 ? cas[3] : null; in checkFormattedValue() local 216 assertEquals(baseMessage + "value " + i, expectedValue, cfpos.getFieldValue()); in checkFormattedValue() 237 Object expectedValue = cas.length == 4 ? cas[3] : null; in checkFormattedValue() local 241 assertEquals(baseMessage + "value " + i, expectedValue, cfpos.getFieldValue()); in checkFormattedValue() 268 Object expectedValue = cas.length == 4 ? cas[3] : null; in checkFormattedValue() local 272 assertEquals(baseMessage + "value " + i, expectedValue, cfpos.getFieldValue()); in checkFormattedValue()
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawDepthClampTests.cpp | 60 float expectedValue; member 393 m_params.expectedValue < 0.0f ? m_params.expectedValue : 0.0f, // float minDepth; in iterate() 394 m_params.expectedValue > 1.0f ? m_params.expectedValue : 1.0f, // float maxDepth; in iterate() 399 (m_params.expectedValue >= 0.0f && m_params.expectedValue <= 1.0f)); in iterate() 405 if (std::abs(m_params.expectedValue - resultImage.getPixDepth(x,y,z)) >= m_epsilon) in iterate() 408 …msg << "Depth value mismatch, expected: " << m_params.expectedValue << ", got: " << resultImage.ge… in iterate()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
D | UTF16Test.java | 1249 String expectedValue = in TestReplace() local 1251 if (!result.equals(expectedValue)) { in TestReplace() 1252 errln("findAndReplace failed: expected \"" + expectedValue + in TestReplace() 1256 expectedValue = test1; in TestReplace() 1257 if (!result.equals(expectedValue)) { in TestReplace() 1258 errln("findAndReplace failed: expected \"" + expectedValue + in TestReplace() 1263 expectedValue = "One potatoe two potatoe three potatoe four\n"; in TestReplace() 1264 if (!result.equals(expectedValue)) { in TestReplace() 1265 errln("findAndReplace failed: expected \"" + expectedValue + in TestReplace() 1270 … expectedValue = "One potato\ud800\udc00 two potato\ud800\udc00 three potato\ud800\udc00 four\n"; in TestReplace() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/ |
D | UTF16Test.java | 1252 String expectedValue = in TestReplace() local 1254 if (!result.equals(expectedValue)) { in TestReplace() 1255 errln("findAndReplace failed: expected \"" + expectedValue + in TestReplace() 1259 expectedValue = test1; in TestReplace() 1260 if (!result.equals(expectedValue)) { in TestReplace() 1261 errln("findAndReplace failed: expected \"" + expectedValue + in TestReplace() 1266 expectedValue = "One potatoe two potatoe three potatoe four\n"; in TestReplace() 1267 if (!result.equals(expectedValue)) { in TestReplace() 1268 errln("findAndReplace failed: expected \"" + expectedValue + in TestReplace() 1273 … expectedValue = "One potato\ud800\udc00 two potato\ud800\udc00 three potato\ud800\udc00 four\n"; in TestReplace() [all …]
|
/external/protobuf/php/tests/ |
D | wrapper_type_setters_test.php | 33 foreach ($sequence as list($value, $expectedValue)) { 42 $expectedValue = $oldSetterMsg->$getter(); 47 $this->assertEquals($expectedValue, $actualValue); 52 if (is_null($expectedValue)) { 55 $this->assertEquals($expectedValue->getValue(), $actualValueNewGetter);
|