Searched refs:expectedValue (Results 1 - 25 of 44) sorted by relevance

12

/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DTypedValueTest.java62 TypedValue expectedValue = new TypedValue();
63 expectedValue.assetCookie = 1;
64 expectedValue.data = 3;
65 expectedValue.density = 4;
66 expectedValue.resourceId = 5;
67 expectedValue.string = "string";
68 expectedValue.type = 6;
71 actualValue.setTo(expectedValue);
73 assertThat(expectedValue.assetCookie, equalTo(actualValue.assetCookie));
74 assertThat(expectedValue
[all...]
/external/chromium_org/third_party/angle/tests/preprocessor_tests/
H A Dchar_test.cpp53 std::string expectedValue; local
64 expectedValue = str;
69 expectedValue = str;
74 expectedValue = str;
91 EXPECT_EQ(expectedValue, token.text);
/external/chromium_org/third_party/icu/source/tools/toolutil/
H A Ddenseranges.cpp123 int32_t expectedValue=minValue; local
125 ++expectedValue;
127 if(expectedValue!=actualValue) {
128 gaps.add(expectedValue, (int64_t)actualValue-(int64_t)expectedValue);
129 expectedValue=actualValue;
/external/icu/icu4c/source/tools/toolutil/
H A Ddenseranges.cpp123 int32_t expectedValue=minValue; local
125 ++expectedValue;
127 if(expectedValue!=actualValue) {
128 gaps.add(expectedValue, (int64_t)actualValue-(int64_t)expectedValue);
129 expectedValue=actualValue;
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
H A DConnectionTest.java71 Object expectedValue = thePublicStatics.get(fieldName);
72 if (expectedValue == null) {
76 expectedValue, fieldValue);
H A DParameterMetaDataTest.java76 Object expectedValue = thePublicStatics.get(fieldName);
77 if (expectedValue == null) {
81 expectedValue, fieldValue);
H A DResultSetMetaDataTest.java66 Object expectedValue = thePublicStatics.get(fieldName);
67 if (expectedValue == null) {
71 expectedValue, fieldValue);
H A DStatementTest.java74 Object expectedValue = thePublicStatics.get(fieldName);
75 if (expectedValue == null) {
79 expectedValue, fieldValue);
H A DResultSetTest.java84 Object expectedValue = thePublicStatics.get(fieldName);
85 if (expectedValue == null) {
89 expectedValue, fieldValue);
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
H A DForceEarlyReturnTest.java52 static Value expectedValue; field in class:ForceEarlyReturnTest
119 forceEarlyReturnPacket.setNextValueAsValue(expectedValue);
137 if (!actualValue.equals(toString(expectedValue))) {
140 + " expected:<" + expectedValue.toString() + "> but was:<"
162 expectedValue = new Value(EXPECTED_INT);
178 expectedValue = new Value(EXPECTED_SHORT);
194 expectedValue = new Value(EXPECTED_BYTE);
210 expectedValue = new Value(EXPECTED_CHAR);
226 expectedValue = new Value(EXPECTED_BOOLEAN);
240 expectedValue
[all...]
/external/chromium-trace/trace-viewer/src/base/
H A Dsettings_test.js12 function assertSettingIs(expectedValue, key) {
13 assertEquals(expectedValue, base.Settings.get('my_key'),
14 'Expected Settings.' + key + ' to be ' + expectedValue);
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dchashtst.c37 int32_t expectedValue);
41 int32_t expectedValue);
357 int32_t expectedValue) {
363 } else if (value != expectedValue) {
365 key, value, expectedValue);
374 int32_t expectedValue) {
376 if (value != expectedValue) {
378 key, value, expectedValue);
355 _get(UHashtable* hash, const char* key, int32_t expectedValue) argument
372 _remove(UHashtable* hash, const char* key, int32_t expectedValue) argument
/external/guava/guava-tests/test/com/google/common/util/concurrent/
H A DListenableFutureTester.java64 public void testCompletedFuture(Object expectedValue) argument
73 assertEquals(expectedValue, future.get());
/external/icu/icu4c/source/test/cintltst/
H A Dchashtst.c37 int32_t expectedValue);
41 int32_t expectedValue);
357 int32_t expectedValue) {
363 } else if (value != expectedValue) {
365 key, value, expectedValue);
374 int32_t expectedValue) {
376 if (value != expectedValue) {
378 key, value, expectedValue);
355 _get(UHashtable* hash, const char* key, int32_t expectedValue) argument
372 _remove(UHashtable* hash, const char* key, int32_t expectedValue) argument
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dustrtest.cpp76 UnicodeString expectedValue; local
81 expectedValue = "Now is the time for all good men to come swiftly to the aid of the party.\n";
82 if (test1 != expectedValue)
83 errln("insert() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\"");
86 if(*c != expectedValue) {
87 errln("clone()->insert() failed: expected \"" + expectedValue + "\"\n,got \"" + *c + "\"");
92 expectedValue = "Now is the time for all good men to come to the aid of the party.\n";
93 if (test1 != expectedValue)
94 errln("remove() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\"");
97 expectedValue
879 UnicodeString expectedValue; local
996 UnicodeString expectedValue; local
[all...]
/external/icu/icu4c/source/test/intltest/
H A Dustrtest.cpp76 UnicodeString expectedValue; local
81 expectedValue = "Now is the time for all good men to come swiftly to the aid of the party.\n";
82 if (test1 != expectedValue)
83 errln("insert() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\"");
86 if(*c != expectedValue) {
87 errln("clone()->insert() failed: expected \"" + expectedValue + "\"\n,got \"" + *c + "\"");
92 expectedValue = "Now is the time for all good men to come to the aid of the party.\n";
93 if (test1 != expectedValue)
94 errln("remove() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\"");
97 expectedValue
879 UnicodeString expectedValue; local
996 UnicodeString expectedValue; local
[all...]
H A Ditspoof.cpp713 int32_t expectedValue = 0; local
715 expectedValue |= USPOOF_RESTRICTION_LEVEL;
718 expectedValue |= USPOOF_CHAR_LIMIT;
721 testNum, levelIndex, expectedValue, actualValue);
722 TEST_ASSERT_MSG(expectedValue == actualValue, msgBuffer);
734 TEST_ASSERT_EQ(expectedValue, result & USPOOF_ALL_CHECKS);
/external/chromium_org/third_party/angle/src/compiler/translator/
H A DShaderLang.cpp41 size_t expectedValue)
49 return (expectedValue == activeUniformLimit &&
50 expectedValue == activeAttribLimit &&
51 expectedValue == varyingLimit);
54 bool CheckMappedNameMaxLength(const ShHandle handle, size_t expectedValue) argument
58 return (expectedValue == mappedNameMaxLength);
40 CheckVariableMaxLengths(const ShHandle handle, size_t expectedValue) argument
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/dexbacked/
H A DBaseDexReaderTest.java69 private void performSizedIntTest(int expectedValue, byte[] buf) { argument
72 Assert.assertEquals(expectedValue, reader.readSizedInt(buf.length));
124 private void performSizedSmallUintTest(int expectedValue, byte[] buf) { argument
127 Assert.assertEquals(expectedValue, reader.readSizedSmallUint(buf.length));
194 private void performSizedRightExtendedIntTest(int expectedValue, byte[] buf) { argument
197 Assert.assertEquals(expectedValue, reader.readSizedRightExtendedInt(buf.length));
303 private void performSizedRightExtendedLongTest(long expectedValue, byte[] buf) { argument
306 Assert.assertEquals(expectedValue, reader.readSizedRightExtendedLong(buf.length));
412 private void performSizedLongTest(long expectedValue, byte[] buf) { argument
415 Assert.assertEquals(expectedValue, reade
[all...]
H A DBaseDexReaderLeb128Test.java244 private void performTest(int expectedValue, byte[] buf) { argument
245 performTest(expectedValue, buf, buf.length);
248 private void performTest(int expectedValue, byte[] buf, int expectedLength) { argument
251 Assert.assertEquals(expectedValue, reader.readSmallUleb128());
H A DBaseDexReaderSleb128Test.java251 private void performTest(int expectedValue, byte[] buf) { argument
252 performTest(expectedValue, buf, buf.length);
255 private void performTest(int expectedValue, byte[] buf, int expectedLength) { argument
258 Assert.assertEquals(expectedValue, reader.readSleb128());
/external/chromium_org/chrome/third_party/mock4js/
H A Dmock4js.js44 object.eq = function(expectedValue) {
45 return new MatchExactly(expectedValue);
196 function MatchExactly(expectedValue) {
197 this._expectedValue = expectedValue;
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.core.expressions_3.4.200.v20100505.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...
/external/deqp/modules/gles31/functional/
H A Des31fAtomicCounterTests.cpp534 deUint32 expectedValue = (deUint32)-1; local
537 expectedValue = initialValue + (m_spec.useBranches ? m_spec.threadCount*m_spec.callCount - m_spec.threadCount*m_spec.callCount/2 : m_spec.threadCount*m_spec.callCount);
540 expectedValue = initialValue - (m_spec.useBranches ? m_spec.threadCount*m_spec.callCount - m_spec.threadCount*m_spec.callCount/2 : m_spec.threadCount*m_spec.callCount);
543 expectedValue = initialValue + (m_spec.useBranches ? m_spec.threadCount*m_spec.callCount - m_spec.threadCount*m_spec.callCount/2 : 0) - (m_spec.useBranches ? m_spec.threadCount*m_spec.callCount/2 : 0);
546 expectedValue = initialValue;
548 log << TestLog::Message << "atomic_uint counter" << counterNdx << " initial value: " << initialValue << ", value: " << value << ", expected: " << expectedValue << (value == expectedValue ? "" : ", failed!") << TestLog::EndMessage;
550 if (value != expectedValue)
H A Des31fShaderAtomicOpTests.cpp613 deUint32 expectedValue = m_initialValue;
618 expectedValue &= inputValue;
621 if (expectedValue != groupOutput)
623 m_testCtx.getLog() << TestLog::Message << "ERROR: at group " << groupNdx << ": expected " << tcu::toHex(expectedValue) << ", got " << tcu::toHex(groupOutput) << TestLog::EndMessage;
681 deUint32 expectedValue = m_initialValue;
686 expectedValue |= inputValue;
689 if (expectedValue != groupOutput)
691 m_testCtx.getLog() << TestLog::Message << "ERROR: at group " << groupNdx << ": expected " << tcu::toHex(expectedValue) << ", got " << tcu::toHex(groupOutput) << TestLog::EndMessage;

Completed in 497 milliseconds

12