HomeSort by relevance Sort by last modified time
    Searched refs:assertSame (Results 26 - 50 of 673) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/guava/guava-tests/test/com/google/common/collect/
InternersTest.java 38 assertSame(canonical, pool.intern(canonical));
39 assertSame(canonical, pool.intern(not));
55 assertSame(canonical, pool.intern(canonical));
56 assertSame(canonical, pool.intern(not));
72 assertSame(canonical, pool.intern(canonical));
80 assertSame(not, pool.intern(not));
95 assertSame(canonical, internerFunction.apply(canonical));
96 assertSame(canonical, internerFunction.apply(not));
TransposedTableTest.java 40 assertSame(original, Tables.transpose(Tables.transpose(original)));
61 assertSame(original.columnKeySet(), transpose.rowKeySet());
62 assertSame(original.rowKeySet(), transpose.columnKeySet());
63 assertSame(original.columnMap(), transpose.rowMap());
64 assertSame(original.rowMap(), transpose.columnMap());
65 assertSame(original.values(), transpose.values());
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
CallablesTest.java 35 assertSame(value, callable.call());
37 assertSame(value, callable.call());
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
NdefRecordTest.java 8 import static org.junit.Assert.assertSame;
18 assertSame(ndefRecord.getPayload(), bytes);
LayoutInflaterTest.java 12 import static org.junit.Assert.assertSame;
26 assertSame(LayoutInflater.from(Robolectric.application), layoutInflater);
27 assertSame(LayoutInflater.from(new ContextWrapper(Robolectric.application)), layoutInflater);
NdefMessageTest.java 9 import static org.junit.Assert.assertSame;
19 assertSame(ndefMessage.getRecords(), ndefRecords);
  /libcore/luni/src/test/java/libcore/java/lang/
BooleanTest.java 21 assertSame(Boolean.TRUE, Boolean.valueOf(true));
26 assertSame(Boolean.FALSE, Boolean.valueOf(false));
OldInheritableThreadLocalTest.java 32 assertSame(value, parentValue);
45 assertSame(value, threadLocal.get());
46 assertSame(inheritedValue, holder[0]);
  /cts/tests/tests/accessibility/src/android/view/accessibility/cts/
AccessibilityServiceInfoTest.java 49 assertSame("There should be one speaking service.", 1, enabledServices.size());
51 assertSame(AccessibilityEvent.TYPES_ALL_MASK, speakingService.eventTypes);
52 assertSame(AccessibilityServiceInfo.FEEDBACK_SPOKEN, speakingService.feedbackType);
53 assertSame(AccessibilityServiceInfo.DEFAULT
60 assertSame(0l, speakingService.notificationTimeout);
64 assertSame(speakingService.getCapabilities(),
AccessibilityNodeInfoTest.java 63 assertSame("AccessibilityNodeInfo not properly reused", firstInfo, secondInfo);
89 assertSame("Accessibility node infos always return 0 for this method.", 0,
92 assertSame("Accessibility node infos always return 0 for this method.", 0,
152 assertSame("checkable has incorrect value", expectedInfo.isCheckable(),
154 assertSame("checked has incorrect value", expectedInfo.isChecked(),
156 assertSame("clickable has incorrect value", expectedInfo.isClickable(),
158 assertSame("enabled has incorrect value", expectedInfo.isEnabled(),
160 assertSame("focusable has incorrect value", expectedInfo.isFocusable(),
162 assertSame("focused has incorrect value", expectedInfo.isFocused(),
164 assertSame("longClickable has incorrect value", expectedInfo.isLongClickable()
    [all...]
  /external/guava/guava-tests/test/com/google/common/primitives/
PrimitivesTest.java 38 assertSame(Integer.class, Primitives.wrap(int.class));
39 assertSame(Integer.class, Primitives.wrap(Integer.class));
40 assertSame(String.class, Primitives.wrap(String.class));
44 assertSame(int.class, Primitives.unwrap(Integer.class));
45 assertSame(int.class, Primitives.unwrap(int.class));
46 assertSame(String.class, Primitives.unwrap(String.class));
  /external/apache-harmony/beans/src/test/java/org/apache/harmony/beans/tests/java/beans/
PropertyChangeListenerProxyTest.java 47 assertSame(listener, proxy.getListener());
52 assertSame(newevent, event);
54 assertSame(name, proxy.getPropertyName());
64 assertSame(listener, proxy.getListener());
65 assertSame(name, proxy.getPropertyName());
68 assertSame(name, proxy.getPropertyName());
70 assertSame(newevent, event);
  /external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/
LevelTest.java 112 assertSame(Level.SEVERE, Level.parse("SEVERE"));
113 assertSame(Level.WARNING, Level.parse("WARNING"));
114 assertSame(Level.INFO, Level.parse("INFO"));
115 assertSame(Level.CONFIG, Level.parse("CONFIG"));
116 assertSame(Level.FINE, Level.parse("FINE"));
117 assertSame(Level.FINER, Level.parse("FINER"));
118 assertSame(Level.FINEST, Level.parse("FINEST"));
119 assertSame(Level.OFF, Level.parse("OFF"));
120 assertSame(Level.ALL, Level.parse("ALL"));
151 assertSame(Level.SEVERE, Level.parse("SEVERE"))
    [all...]
  /external/guava/guava-tests/test/com/google/common/cache/
NullCacheTest.java 50 assertSame(computed, cache.getUnchecked(key));
52 assertSame(key, notification.getKey());
53 assertSame(computed, notification.getValue());
54 assertSame(RemovalCause.SIZE, notification.getCause());
67 assertSame(computed, cache.getUnchecked(key));
69 assertSame(key, notification.getKey());
70 assertSame(computed, notification.getValue());
71 assertSame(RemovalCause.SIZE, notification.getCause());
84 assertSame(computed, cache.getUnchecked(key));
86 assertSame(key, notification.getKey())
    [all...]
  /external/apache-harmony/prefs/src/test/java/org/apache/harmony/prefs/tests/java/util/prefs/
NodeChangeEventTest.java 37 assertSame(Preferences.systemRoot(), event.getParent());
38 assertSame(Preferences.userRoot(), event.getChild());
39 assertSame(Preferences.systemRoot(), event.getSource());
50 assertSame(Preferences.systemRoot(), event.getParent());
52 assertSame(Preferences.systemRoot(), event.getSource());
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
SecurityExceptionTest.java 52 assertSame("fixture", e.getMessage());
53 assertSame(npe, e.getCause());
63 assertSame(npe, e.getCause());
ExceptionInInitializerErrorTest.java 49 assertSame(npe, e.getException());
50 assertSame(npe, e.getCause());
StringBuilderTest.java 98 assertSame(sb, sb.append(true));
101 assertSame(sb, sb.append(false));
110 assertSame(sb, sb.append('a'));
113 assertSame(sb, sb.append('b'));
122 assertSame(sb, sb.append(new char[] { 'a', 'b' }));
125 assertSame(sb, sb.append(new char[] { 'c', 'd' }));
140 assertSame(sb, sb.append(new char[] { 'a', 'b' }, 0, 2));
143 assertSame(sb, sb.append(new char[] { 'c', 'd' }, 0, 2));
147 assertSame(sb, sb.append(new char[] { 'a', 'b', 'c', 'd' }, 0, 2));
151 assertSame(sb, sb.append(new char[] { 'a', 'b', 'c', 'd' }, 2, 2))
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/
RetentionPolicyTest.java 35 assertSame(RetentionPolicy.CLASS, RetentionPolicy
37 assertSame(RetentionPolicy.RUNTIME, RetentionPolicy
39 assertSame(RetentionPolicy.SOURCE, RetentionPolicy
AnnotationFormatErrorTest.java 43 assertSame(iae, e.getCause());
54 assertSame(iae, e.getCause());
IncompleteAnnotationExceptionTest.java 55 assertSame("wrong annotation type", clazz, e.annotationType());
56 assertSame("wrong element name", elementName, e.elementName());
  /frameworks/base/core/tests/coretests/src/android/view/
GlobalFocusChangeTest.java 59 assertSame(mLeft, mActivity.mOldFocus);
60 assertSame(mRight, mActivity.mNewFocus);
70 assertSame(mLeft, mActivity.mOldFocus);
71 assertSame(null, mActivity.mNewFocus);
84 assertSame(null, mActivity.mOldFocus);
85 assertSame(mLeft, mActivity.mNewFocus);
  /cts/tests/tests/view/src/android/view/cts/
SurfaceHolder_BadSurfaceTypeExceptionTest.java 30 assertSame(ne, e);
45 assertSame(ne, e);
  /external/chromium_org/v8/test/mjsunit/regress/
regress-1530.js 38 assertSame(f.prototype, x);
39 assertSame(f.prototype.foo, 'bar');
40 assertSame(new f().foo, 'bar');
41 assertSame(Object.getPrototypeOf(new f()), x);
42 assertSame(Object.getOwnPropertyDescriptor(f, 'prototype').value, x);
49 assertSame(f.prototype, y);
50 assertSame(f.prototype.foo, 'baz');
51 assertSame(new f().foo, 'baz');
52 assertSame(Object.getPrototypeOf(new f()), y);
53 assertSame(Object.getOwnPropertyDescriptor(f, 'prototype').value, y)
    [all...]
  /external/v8/test/mjsunit/regress/
regress-1530.js 38 assertSame(f.prototype, x);
39 assertSame(f.prototype.foo, 'bar');
40 assertSame(new f().foo, 'bar');
41 assertSame(Object.getPrototypeOf(new f()), x);
42 assertSame(Object.getOwnPropertyDescriptor(f, 'prototype').value, x);
49 assertSame(f.prototype, y);
50 assertSame(f.prototype.foo, 'baz');
51 assertSame(new f().foo, 'baz');
52 assertSame(Object.getPrototypeOf(new f()), y);
53 assertSame(Object.getOwnPropertyDescriptor(f, 'prototype').value, y)
    [all...]

Completed in 520 milliseconds

12 3 4 5 6 7 8 91011>>