/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | TypedValueTest.java | 62 TypedValue expectedValue = new TypedValue(); in testSetTo() local 63 expectedValue.assetCookie = 1; in testSetTo() 64 expectedValue.data = 3; in testSetTo() 65 expectedValue.density = 4; in testSetTo() 66 expectedValue.resourceId = 5; in testSetTo() 67 expectedValue.string = "string"; in testSetTo() 68 expectedValue.type = 6; in testSetTo() 71 actualValue.setTo(expectedValue); in testSetTo() 73 assertThat(expectedValue.assetCookie, equalTo(actualValue.assetCookie)); in testSetTo() 74 assertThat(expectedValue.data, equalTo(actualValue.data)); in testSetTo() [all …]
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/ |
D | ForceEarlyReturnTest.java | 52 static Value expectedValue; field in ForceEarlyReturnTest 119 forceEarlyReturnPacket.setNextValueAsValue(expectedValue); in RunTestForceEarlyReturn() 137 if (!actualValue.equals(toString(expectedValue))) { in RunTestForceEarlyReturn() 140 + " expected:<" + expectedValue.toString() + "> but was:<" in RunTestForceEarlyReturn() 162 expectedValue = new Value(EXPECTED_INT); in testForceEarlyReturn_ReturnInt() 178 expectedValue = new Value(EXPECTED_SHORT); in testForceEarlyReturn_ReturnShort() 194 expectedValue = new Value(EXPECTED_BYTE); in testForceEarlyReturn_ReturnByte() 210 expectedValue = new Value(EXPECTED_CHAR); in testForceEarlyReturn_ReturnChar() 226 expectedValue = new Value(EXPECTED_BOOLEAN); in testForceEarlyReturn_ReturnBoolean() 240 expectedValue = new Value(Tag.VOID_TAG, 0); in testForceEarlyReturn_NotSuspended() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | ustrtest.cpp | 76 UnicodeString expectedValue; in TestBasicManipulation() local 81 expectedValue = "Now is the time for all good men to come swiftly to the aid of the party.\n"; in TestBasicManipulation() 82 if (test1 != expectedValue) in TestBasicManipulation() 83 errln("insert() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); in TestBasicManipulation() 86 if(*c != expectedValue) { in TestBasicManipulation() 87 errln("clone()->insert() failed: expected \"" + expectedValue + "\"\n,got \"" + *c + "\""); in TestBasicManipulation() 92 expectedValue = "Now is the time for all good men to come to the aid of the party.\n"; in TestBasicManipulation() 93 if (test1 != expectedValue) in TestBasicManipulation() 94 errln("remove() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); in TestBasicManipulation() 97 expectedValue = "Now is the time for all good men to come to the aid of their country.\n"; in TestBasicManipulation() [all …]
|
D | itspoof.cpp | 713 int32_t expectedValue = 0; in testRestrictionLevel() local 715 expectedValue |= USPOOF_RESTRICTION_LEVEL; in testRestrictionLevel() 718 expectedValue |= USPOOF_CHAR_LIMIT; in testRestrictionLevel() 721 testNum, levelIndex, expectedValue, actualValue); in testRestrictionLevel() 722 TEST_ASSERT_MSG(expectedValue == actualValue, msgBuffer); in testRestrictionLevel() 734 TEST_ASSERT_EQ(expectedValue, result & USPOOF_ALL_CHECKS); in testRestrictionLevel()
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
D | ustrtest.cpp | 76 UnicodeString expectedValue; in TestBasicManipulation() local 81 expectedValue = "Now is the time for all good men to come swiftly to the aid of the party.\n"; in TestBasicManipulation() 82 if (test1 != expectedValue) in TestBasicManipulation() 83 errln("insert() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); in TestBasicManipulation() 86 if(*c != expectedValue) { in TestBasicManipulation() 87 errln("clone()->insert() failed: expected \"" + expectedValue + "\"\n,got \"" + *c + "\""); in TestBasicManipulation() 92 expectedValue = "Now is the time for all good men to come to the aid of the party.\n"; in TestBasicManipulation() 93 if (test1 != expectedValue) in TestBasicManipulation() 94 errln("remove() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); in TestBasicManipulation() 97 expectedValue = "Now is the time for all good men to come to the aid of their country.\n"; in TestBasicManipulation() [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 | BaseDexReaderSleb128Test.java | 251 private void performTest(int expectedValue, byte[] buf) { in performTest() argument 252 performTest(expectedValue, buf, buf.length); in performTest() 255 private void performTest(int expectedValue, byte[] buf, int expectedLength) { in performTest() argument 258 Assert.assertEquals(expectedValue, reader.readSleb128()); in performTest()
|
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/chromium_org/third_party/angle/tests/preprocessor_tests/ |
D | char_test.cpp | 53 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() 91 EXPECT_EQ(expectedValue, token.text); in TEST_P()
|
/external/icu/icu4c/source/tools/toolutil/ |
D | denseranges.cpp | 123 int32_t expectedValue=minValue; in uprv_makeDenseRanges() local 125 ++expectedValue; in uprv_makeDenseRanges() 127 if(expectedValue!=actualValue) { in uprv_makeDenseRanges() 128 gaps.add(expectedValue, (int64_t)actualValue-(int64_t)expectedValue); in uprv_makeDenseRanges() 129 expectedValue=actualValue; in uprv_makeDenseRanges()
|
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
D | denseranges.cpp | 123 int32_t expectedValue=minValue; in uprv_makeDenseRanges() local 125 ++expectedValue; in uprv_makeDenseRanges() 127 if(expectedValue!=actualValue) { in uprv_makeDenseRanges() 128 gaps.add(expectedValue, (int64_t)actualValue-(int64_t)expectedValue); in uprv_makeDenseRanges() 129 expectedValue=actualValue; in uprv_makeDenseRanges()
|
/external/icu/icu4c/source/test/cintltst/ |
D | chashtst.c | 37 int32_t expectedValue); 41 int32_t expectedValue); 357 int32_t expectedValue) { in _get() argument 363 } else if (value != expectedValue) { in _get() 365 key, value, expectedValue); in _get() 374 int32_t expectedValue) { in _remove() argument 376 if (value != expectedValue) { in _remove() 378 key, value, expectedValue); in _remove()
|
/external/chromium_org/third_party/icu/source/test/cintltst/ |
D | chashtst.c | 37 int32_t expectedValue); 41 int32_t expectedValue); 357 int32_t expectedValue) { in _get() argument 363 } else if (value != expectedValue) { in _get() 365 key, value, expectedValue); in _get() 374 int32_t expectedValue) { in _remove() argument 376 if (value != expectedValue) { in _remove() 378 key, value, expectedValue); in _remove()
|
/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()
|
D | ResultSetTest.java | 84 Object expectedValue = thePublicStatics.get(fieldName); in testPublicStatics() local 85 if (expectedValue == null) { in testPublicStatics() 89 expectedValue, fieldValue); in testPublicStatics()
|
/external/chromium-trace/trace-viewer/src/base/ |
D | settings_test.js | 12 function assertSettingIs(expectedValue, key) { argument 13 assertEquals(expectedValue, base.Settings.get('my_key'), 14 'Expected Settings.' + key + ' to be ' + expectedValue);
|
/external/chromium_org/third_party/angle/src/compiler/translator/ |
D | ShaderLang.cpp | 41 size_t expectedValue) in CheckVariableMaxLengths() argument 49 return (expectedValue == activeUniformLimit && in CheckVariableMaxLengths() 50 expectedValue == activeAttribLimit && in CheckVariableMaxLengths() 51 expectedValue == varyingLimit); in CheckVariableMaxLengths() 54 bool CheckMappedNameMaxLength(const ShHandle handle, size_t expectedValue) in CheckMappedNameMaxLength() argument 58 return (expectedValue == mappedNameMaxLength); in CheckMappedNameMaxLength()
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | ListenableFutureTester.java | 64 public void testCompletedFuture(Object expectedValue) in testCompletedFuture() argument 73 assertEquals(expectedValue, future.get()); in testCompletedFuture()
|
/external/chromium_org/chrome/third_party/mock4js/ |
D | mock4js.js | 44 object.eq = function(expectedValue) { argument 45 return new MatchExactly(expectedValue); 196 function MatchExactly(expectedValue) { argument 197 this._expectedValue = expectedValue;
|
/external/deqp/modules/gles31/functional/ |
D | es31fShaderAtomicOpTests.cpp | 613 deUint32 expectedValue = m_initialValue; in verify() local 618 expectedValue &= inputValue; in verify() 621 if (expectedValue != groupOutput) in verify() 623 …sage << "ERROR: at group " << groupNdx << ": expected " << tcu::toHex(expectedValue) << ", got " <… in verify() 681 deUint32 expectedValue = m_initialValue; in verify() local 686 expectedValue |= inputValue; in verify() 689 if (expectedValue != groupOutput) in verify() 691 …sage << "ERROR: at group " << groupNdx << ": expected " << tcu::toHex(expectedValue) << ", got " <… in verify()
|
D | es31fAtomicCounterTests.cpp | 534 deUint32 expectedValue = (deUint32)-1; in checkAndLogCounterValues() local 537 …expectedValue = initialValue + (m_spec.useBranches ? m_spec.threadCount*m_spec.callCount - m_spec.… in checkAndLogCounterValues() 540 …expectedValue = initialValue - (m_spec.useBranches ? m_spec.threadCount*m_spec.callCount - m_spec.… in checkAndLogCounterValues() 543 …expectedValue = initialValue + (m_spec.useBranches ? m_spec.threadCount*m_spec.callCount - m_spec.… in checkAndLogCounterValues() 546 expectedValue = initialValue; in checkAndLogCounterValues() 548 …itialValue << ", value: " << value << ", expected: " << expectedValue << (value == expectedValue ?… in checkAndLogCounterValues() 550 if (value != expectedValue) in checkAndLogCounterValues()
|
D | es31fUniformLocationTests.cpp | 568 const float expectedValue = getExpectedValue(scalarType, expectedLocation, typeName); in render() local 574 texList.push_back(createTexture(scalarType, expectedValue, binding).release()); in render() 579 floatBuf[0] = expectedValue; in render() 580 intBuf[0] = int(expectedValue); in render() 581 uintBuf[0] = deUint32(expectedValue); in render() 583 …e << "Set uniform " << name << " in location " << gotLoc << " to " << expectedValue << tcu::TestLo… in render()
|