/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
TypedValueTest.java | 62 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.data, equalTo(actualValue.data)) [all...] |
/external/android-mock/src/com/google/android/testing/mocking/ |
AndroidMock.java | 258 * @param expectedValue the parameter is used to transport the type to the ExpectationSetter. 263 public static <T> IExpectationSetters<T> expect(T expectedValue) { 264 return EasyMock.expect(expectedValue); 440 * @param expectedValue the value to which the specified incoming parameter to the mocked method 444 public static <T extends Comparable<T>> T geq(Comparable<T> expectedValue) { 445 return EasyMock.geq(expectedValue); 460 * @param expectedValue the value to which the specified incoming parameter to the mocked method 464 public static byte geq(byte expectedValue) { 465 return EasyMock.geq(expectedValue); 480 * @param expectedValue the value to which the specified incoming parameter to the mocked metho [all...] |
/external/webkit/Source/JavaScriptCore/qt/tests/qscriptvalue/ |
tst_qscriptvalue_generated_istype.cpp | 171 QSet<QString> expectedValue; 172 expectedValue.reserve(134); 174 expectedValue.insert(isValid_array[i]); 177 QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue.contains(testcase.first); 206 QSet<QString> expectedValue; 207 expectedValue.reserve(8); 209 expectedValue.insert(isBool_array[i]); 212 QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue.contains(testcase.first); 241 QSet<QString> expectedValue; 242 expectedValue.reserve(8) [all...] |
tst_qscriptvalue_generated_totype.cpp | 240 QHash<QString, QString> expectedValue; 241 expectedValue.reserve(135); 243 expectedValue.insert(toString_tagArray[i], toString_valueArray[i]); 246 QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue[testcase.first]; 418 QHash<QString, qsreal> expectedValue; 419 expectedValue.reserve(135); 421 expectedValue.insert(toNumber_tagArray[i], toNumber_valueArray[i]); 424 QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue[testcase.first]; 659 QHash<QString, bool> expectedValue; 660 expectedValue.reserve(135) [all...] |
/external/icu4c/tools/toolutil/ |
denseranges.cpp | 123 int32_t expectedValue=minValue; 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/ |
ConnectionTest.java | 71 Object expectedValue = thePublicStatics.get(fieldName); 72 if (expectedValue == null) { 76 expectedValue, fieldValue);
|
ParameterMetaDataTest.java | 76 Object expectedValue = thePublicStatics.get(fieldName); 77 if (expectedValue == null) { 81 expectedValue, fieldValue);
|
ResultSetMetaDataTest.java | 66 Object expectedValue = thePublicStatics.get(fieldName); 67 if (expectedValue == null) { 71 expectedValue, fieldValue);
|
StatementTest.java | 74 Object expectedValue = thePublicStatics.get(fieldName); 75 if (expectedValue == null) { 79 expectedValue, fieldValue);
|
ResultSetTest.java | 84 Object expectedValue = thePublicStatics.get(fieldName); 85 if (expectedValue == null) { 89 expectedValue, fieldValue);
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
DatabaseAsserts.java | 216 Object expectedValue = expectedValues.get(column); 218 expectedValue = expectedValues.getAsString(column); 220 if (expectedValue != null && !expectedValue.equals(value) || value != null 221 && !value.equals(expectedValue)) { 226 .append(expectedValue)
|
/libcore/luni/src/main/java/sun/misc/ |
Unsafe.java | 136 * @param expectedValue expected value of the field 143 int expectedValue, int newValue); 151 * @param expectedValue expected value of the field 158 long expectedValue, long newValue); 166 * @param expectedValue expected value of the field 173 Object expectedValue, Object newValue);
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
ListenableFutureTester.java | 64 public void testCompletedFuture(Object expectedValue) 73 assertEquals(expectedValue, future.get());
|
/external/icu4c/test/cintltst/ |
chashtst.c | 37 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);
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
DeflaterTest.java | 71 int expectedValue = i < expected.length ? expected[i] : 0; 72 assertEquals(expectedValue, decompressed[i]);
|
/external/icu4c/test/intltest/ |
ustrtest.cpp | 76 UnicodeString expectedValue; 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 = "Now is the time for all good men to come to the aid of their country.\n" [all...] |
/external/webkit/LayoutTests/dom/html/level1/core/ |
selfhtml.js | 42 var expectedValue; 49 expectedValue = expected[i]; 53 if (expectedValue.toLowerCase() == actual[j].toLowerCase()) { 57 if (expectedValue.toUpperCase() == actual[j]) { 62 if(expectedValue == actual[j]) { 68 assert(descr + ": No match found for " + expectedValue,false); 71 assert(descr + ": Multiple matches found for " + expectedValue, false); 84 var expectedValue; 91 expectedValue = expected[i]; 93 if(expectedValue == actual[j]) [all...] |
/external/webkit/LayoutTests/dom/html/level2/core/ |
selfhtml.js | 42 var expectedValue; 49 expectedValue = expected[i]; 53 if (expectedValue.toLowerCase() == actual[j].toLowerCase()) { 57 if (expectedValue.toUpperCase() == actual[j]) { 62 if(expectedValue == actual[j]) { 68 assert(descr + ": No match found for " + expectedValue,false); 71 assert(descr + ": Multiple matches found for " + expectedValue, false); 84 var expectedValue; 91 expectedValue = expected[i]; 93 if(expectedValue == actual[j]) [all...] |
/external/webkit/LayoutTests/dom/html/level2/events/ |
selfhtml.js | 42 var expectedValue; 49 expectedValue = expected[i]; 53 if (expectedValue.toLowerCase() == actual[j].toLowerCase()) { 57 if (expectedValue.toUpperCase() == actual[j]) { 62 if(expectedValue == actual[j]) { 68 assert(descr + ": No match found for " + expectedValue,false); 71 assert(descr + ": Multiple matches found for " + expectedValue, false); 84 var expectedValue; 91 expectedValue = expected[i]; 93 if(expectedValue == actual[j]) [all...] |
/external/webkit/LayoutTests/dom/html/level2/html/ |
selfhtml.js | 42 var expectedValue; 49 expectedValue = expected[i]; 53 if (expectedValue.toLowerCase() == actual[j].toLowerCase()) { 57 if (expectedValue.toUpperCase() == actual[j]) { 62 if(expectedValue == actual[j]) { 68 assert(descr + ": No match found for " + expectedValue,false); 71 assert(descr + ": Multiple matches found for " + expectedValue, false); 84 var expectedValue; 91 expectedValue = expected[i]; 93 if(expectedValue == actual[j]) [all...] |
/external/webkit/LayoutTests/dom/xhtml/level1/core/ |
selfxhtml.js | 41 var expectedValue; 48 expectedValue = expected[i]; 52 if (expectedValue.toLowerCase() == actual[j].toLowerCase()) { 56 if (expectedValue.toUpperCase() == actual[j]) { 61 if(expectedValue == actual[j]) { 67 assert(descr + ": No match found for " + expectedValue,false); 70 assert(descr + ": Multiple matches found for " + expectedValue, false); 83 var expectedValue; 90 expectedValue = expected[i]; 92 if(expectedValue == actual[j]) [all...] |
/external/webkit/LayoutTests/dom/xhtml/level2/core/ |
selfxhtml.js | 41 var expectedValue; 48 expectedValue = expected[i]; 52 if (expectedValue.toLowerCase() == actual[j].toLowerCase()) { 56 if (expectedValue.toUpperCase() == actual[j]) { 61 if(expectedValue == actual[j]) { 67 assert(descr + ": No match found for " + expectedValue,false); 70 assert(descr + ": Multiple matches found for " + expectedValue, false); 83 var expectedValue; 90 expectedValue = expected[i]; 92 if(expectedValue == actual[j]) [all...] |
/external/webkit/LayoutTests/dom/xhtml/level2/events/ |
selfxhtml.js | 41 var expectedValue; 48 expectedValue = expected[i]; 52 if (expectedValue.toLowerCase() == actual[j].toLowerCase()) { 56 if (expectedValue.toUpperCase() == actual[j]) { 61 if(expectedValue == actual[j]) { 67 assert(descr + ": No match found for " + expectedValue,false); 70 assert(descr + ": Multiple matches found for " + expectedValue, false); 83 var expectedValue; 90 expectedValue = expected[i]; 92 if(expectedValue == actual[j]) [all...] |
/external/webkit/LayoutTests/dom/xhtml/level2/html/ |
selfxhtml.js | 41 var expectedValue; 48 expectedValue = expected[i]; 52 if (expectedValue.toLowerCase() == actual[j].toLowerCase()) { 56 if (expectedValue.toUpperCase() == actual[j]) { 61 if(expectedValue == actual[j]) { 67 assert(descr + ": No match found for " + expectedValue,false); 70 assert(descr + ": Multiple matches found for " + expectedValue, false); 83 var expectedValue; 90 expectedValue = expected[i]; 92 if(expectedValue == actual[j]) [all...] |
/external/webkit/LayoutTests/dom/xhtml/level3/core/ |
selfxhtml.js | 41 var expectedValue; 48 expectedValue = expected[i]; 52 if (expectedValue.toLowerCase() == actual[j].toLowerCase()) { 56 if (expectedValue.toUpperCase() == actual[j]) { 61 if(expectedValue == actual[j]) { 67 assert(descr + ": No match found for " + expectedValue,false); 70 assert(descr + ": Multiple matches found for " + expectedValue, false); 83 var expectedValue; 90 expectedValue = expected[i]; 92 if(expectedValue == actual[j]) [all...] |