Home
last modified time | relevance | path

Searched refs:expectedValue (Results 1 – 25 of 35) sorted by relevance

12

/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DTypedValueTest.java62 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/
DForceEarlyReturnTest.java52 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/
Dustrtest.cpp76 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 …]
Ditspoof.cpp713 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/
Dustrtest.cpp76 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/
DBaseDexReaderTest.java69 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()
DBaseDexReaderSleb128Test.java251 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()
DBaseDexReaderLeb128Test.java244 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/
Dchar_test.cpp53 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/
Ddenseranges.cpp123 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/
Ddenseranges.cpp123 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/
Dchashtst.c37 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/
Dchashtst.c37 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/
DResultSetMetaDataTest.java66 Object expectedValue = thePublicStatics.get(fieldName); in testPublicStatics() local
67 if (expectedValue == null) { in testPublicStatics()
71 expectedValue, fieldValue); in testPublicStatics()
DConnectionTest.java71 Object expectedValue = thePublicStatics.get(fieldName); in testPublicStatics() local
72 if (expectedValue == null) { in testPublicStatics()
76 expectedValue, fieldValue); in testPublicStatics()
DStatementTest.java74 Object expectedValue = thePublicStatics.get(fieldName); in testPublicStatics() local
75 if (expectedValue == null) { in testPublicStatics()
79 expectedValue, fieldValue); in testPublicStatics()
DParameterMetaDataTest.java76 Object expectedValue = thePublicStatics.get(fieldName); in testPublicStatics() local
77 if (expectedValue == null) { in testPublicStatics()
81 expectedValue, fieldValue); in testPublicStatics()
DResultSetTest.java84 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/
Dsettings_test.js12 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/
DShaderLang.cpp41 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/
DListenableFutureTester.java64 public void testCompletedFuture(Object expectedValue) in testCompletedFuture() argument
73 assertEquals(expectedValue, future.get()); in testCompletedFuture()
/external/chromium_org/chrome/third_party/mock4js/
Dmock4js.js44 object.eq = function(expectedValue) { argument
45 return new MatchExactly(expectedValue);
196 function MatchExactly(expectedValue) { argument
197 this._expectedValue = expectedValue;
/external/deqp/modules/gles31/functional/
Des31fShaderAtomicOpTests.cpp613 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()
Des31fAtomicCounterTests.cpp534 deUint32 expectedValue = (deUint32)-1; in checkAndLogCounterValues() local
537expectedValue = initialValue + (m_spec.useBranches ? m_spec.threadCount*m_spec.callCount - m_spec.… in checkAndLogCounterValues()
540expectedValue = initialValue - (m_spec.useBranches ? m_spec.threadCount*m_spec.callCount - m_spec.… in checkAndLogCounterValues()
543expectedValue = 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()
Des31fUniformLocationTests.cpp568 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()

12