HomeSort by relevance Sort by last modified time
    Searched full:expectedvalue (Results 1 - 25 of 60) sorted by null

1 2 3

  /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/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/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/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);
ResultSetMetaDataTest.java 66 Object expectedValue = thePublicStatics.get(fieldName);
67 if (expectedValue == null) {
71 expectedValue, fieldValue);
ParameterMetaDataTest.java 76 Object expectedValue = thePublicStatics.get(fieldName);
77 if (expectedValue == null) {
81 expectedValue, fieldValue);
ResultSetTest.java 84 Object expectedValue = thePublicStatics.get(fieldName);
85 if (expectedValue == null) {
89 expectedValue, fieldValue);
StatementTest.java 74 Object expectedValue = thePublicStatics.get(fieldName);
75 if (expectedValue == null) {
79 expectedValue, fieldValue);
  /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/llvm/lib/Transforms/Utils/
LowerExpectIntrinsic.cpp 70 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1));
71 if (!ExpectedValue)
74 SwitchInst::CaseIt Case = SI->findCaseValue(ExpectedValue);
114 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1));
115 if (!ExpectedValue)
123 if (ExpectedValue->isOne())
  /dalvik/vm/native/
sun_misc_Unsafe.cpp 60 * int expectedValue, int newValue);
68 s4 expectedValue = args[4];
73 int result = android_atomic_release_cas(expectedValue, newValue, address);
80 * long expectedValue, long newValue);
88 s8 expectedValue = GET_ARG_LONG(args, 4);
94 dvmQuasiAtomicCas64(expectedValue, newValue, address);
101 * Object expectedValue, Object newValue);
109 Object* expectedValue = (Object*) args[4];
114 int result = android_atomic_release_cas((int32_t) expectedValue,
  /external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Object/
class-005.js 38 var expect= ''; var expectedvalue = [ ]; variable
67 expectedvalue[UBound] = expect;
80 reportCompare(expectedvalue[i], actualvalue[i], getStatus(i));
  /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)
  /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]);
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
BaseContactsProvider2Test.java 709 Object expectedValue = expectedArguments[i + 1];
710 if (expectedValue instanceof Uri) {
711 expectedValue = ContentUris.parseId((Uri) expectedValue);
713 if (expectedValue == null) {
716 if (expectedValue instanceof Long) {
718 expectedValue, actual.getAsLong(columnName));
719 } else if (expectedValue instanceof Integer) {
721 expectedValue, actual.getAsInteger(columnName));
722 } else if (expectedValue instanceof String)
    [all...]
  /frameworks/compile/libbcc/lib/Renderscript/runtime/
rs_core.c 54 extern int32_t __attribute__((overloadable)) rsAtomicCas(volatile int32_t *ptr, int32_t expectedValue, int32_t newValue) {
55 return __sync_val_compare_and_swap(ptr, expectedValue, newValue);
58 extern uint32_t __attribute__((overloadable)) rsAtomicCas(volatile uint32_t *ptr, uint32_t expectedValue, uint32_t newValue) {
59 return __sync_val_compare_and_swap((volatile int32_t *)ptr, (int32_t)expectedValue, (int32_t)newValue);
  /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...]
  /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/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/
HTMLBaseElement01.html 57 var expectedValue;
64 expectedValue = expected[i];
68 if (expectedValue.toLowerCase() == actual[j].toLowerCase()) {
72 if (expectedValue.toUpperCase() == actual[j]) {
77 if(expectedValue == actual[j]) {
83 assert(descr + ": No match found for " + expectedValue,false);
86 assert(descr + ": Multiple matches found for " + expectedValue, false);
99 var expectedValue;
106 expectedValue = expected[i];
108 if(expectedValue == actual[j])
    [all...]

Completed in 652 milliseconds

1 2 3