HomeSort by relevance Sort by last modified time
    Searched refs:expectedValue (Results 1 - 25 of 51) 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/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/chromium_org/third_party/angle/tests/preprocessor_tests/
char_test.cpp 53 std::string expectedValue;
64 expectedValue = str;
69 expectedValue = str;
74 expectedValue = str;
91 EXPECT_EQ(expectedValue, token.text);
  /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/libart/src/main/java/sun/misc/
Unsafe.java 124 * @param expectedValue expected value of the field
131 int expectedValue, int newValue);
139 * @param expectedValue expected value of the field
146 long expectedValue, long newValue);
154 * @param expectedValue expected value of the field
161 Object expectedValue, Object newValue);
  /libcore/libdvm/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/chromium_org/third_party/icu/source/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);
  /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/chromium_org/third_party/icu/source/test/intltest/
ustrtest.cpp 74 UnicodeString expectedValue;
79 expectedValue = "Now is the time for all good men to come swiftly to the aid of the party.\n";
80 if (test1 != expectedValue)
81 errln("insert() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\"");
84 if(*c != expectedValue) {
85 errln("clone()->insert() failed: expected \"" + expectedValue + "\"\n,got \"" + *c + "\"");
90 expectedValue = "Now is the time for all good men to come to the aid of the party.\n";
91 if (test1 != expectedValue)
92 errln("remove() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\"");
95 expectedValue = "Now is the time for all good men to come to the aid of their country.\n"
    [all...]
  /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...]
  /art/runtime/native/
sun_misc_Unsafe.cc 26 static jboolean Unsafe_compareAndSwapInt(JNIEnv* env, jobject, jobject javaObj, jlong offset, jint expectedValue, jint newValue) {
32 int result = android_atomic_release_cas(expectedValue, newValue, address);
36 static jboolean Unsafe_compareAndSwapLong(JNIEnv* env, jobject, jobject javaObj, jlong offset, jlong expectedValue, jlong newValue) {
42 bool success = QuasiAtomic::Cas64(expectedValue, newValue, address);
49 mirror::Object* expectedValue = soa.Decode<mirror::Object*>(javaExpectedValue);
54 int result = android_atomic_release_cas(reinterpret_cast<int32_t>(expectedValue),
  /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/chromium_org/third_party/angle/src/compiler/
ShaderLang.cpp 26 size_t expectedValue)
34 return (expectedValue == activeUniformLimit &&
35 expectedValue == activeAttribLimit &&
36 expectedValue == varyingLimit);
39 static bool checkMappedNameMaxLength(const ShHandle handle, size_t expectedValue)
43 return (expectedValue == mappedNameMaxLength);
  /frameworks/rs/driver/runtime/
rs_core.c 16 extern int32_t __attribute__((overloadable)) rsAtomicCas(volatile int32_t *ptr, int32_t expectedValue, int32_t newValue) {
17 return __sync_val_compare_and_swap(ptr, expectedValue, newValue);
20 extern uint32_t __attribute__((overloadable)) rsAtomicCas(volatile uint32_t *ptr, uint32_t expectedValue, uint32_t newValue) {
21 return __sync_val_compare_and_swap((volatile int32_t *)ptr, (int32_t)expectedValue, (int32_t)newValue);
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
BaseContactsProvider2Test.java 707 Object expectedValue = expectedArguments[i + 1];
708 if (expectedValue instanceof Uri) {
709 expectedValue = ContentUris.parseId((Uri) expectedValue);
711 if (expectedValue == null) {
714 if (expectedValue instanceof Long) {
716 expectedValue, actual.getAsLong(columnName));
717 } else if (expectedValue instanceof Integer) {
719 expectedValue, actual.getAsInteger(columnName));
720 } else if (expectedValue instanceof String)
    [all...]
  /cts/tests/tests/content/src/android/content/res/cts/
ResourcesTest.java 138 final String expectedValue) {
142 expectedValue);
143 assertEquals("Returned wrong configuration-based simple value: expected " + expectedValue
145 expectedValue, actual);
149 final String expectedValue) {
153 expectedValue);
154 assertEquals("Returned wrong configuration-based simple value: expected " + expectedValue
156 expectedValue, actual);
  /cts/tests/tests/provider/src/android/provider/cts/
ContactsContract_DataUsageTest.java 139 private void assertDataUsageEquals(long dataId, int expectedValue) {
149 assertEquals(expectedValue, actual);

Completed in 1215 milliseconds

1 2 3