/cts/tests/tests/widget/src/android/widget/cts/ |
ToastTest.java | 197 assertSame(imageView, mToast.getView());
|
ToggleButtonTest.java | 155 assertSame(drawable, mToggleButton.getBackground());
|
ViewAnimatorTest.java | 75 assertSame(expected, mViewAnimator.getInAnimation()); 272 assertSame(v, mViewAnimator.getCurrentView()); 307 assertSame(expected, mViewAnimator.getOutAnimation()); 340 assertSame(v1, mViewAnimator.getChildAt(0)); 341 assertSame(v2, mViewAnimator.getChildAt(1)); 342 assertSame(v3, mViewAnimator.getChildAt(2)); 346 assertSame(v1, mViewAnimator.getChildAt(0)); 347 assertSame(v2, mViewAnimator.getChildAt(1)); 351 assertSame(v1, mViewAnimator.getChildAt(0)); 362 assertSame(v3, mViewAnimator.getChildAt(0)) [all...] |
/cts/tools/signature-tools/test/signature/comparator/ |
ClassCompareTest.java | 22 import static org.junit.Assert.assertSame; 69 assertSame(DeltaType.REMOVED, classDelta.getType()); 85 assertSame(DeltaType.ADDED, classDelta.getType()); 109 assertSame(DeltaType.ADDED, annotationDelta.getType());
|
/external/apache-harmony/crypto/src/test/impl/java/org/apache/harmony/crypto/tests/javax/crypto/ |
Cipher_ImplTest.java | 94 assertSame(p2, c.getProvider()); 104 assertSame("Case1:", p1, c.getProvider()); 109 assertSame("Case2:", p2, c.getProvider()); 176 assertSame("Case1:", p2, c.getProvider()); 179 assertSame("Case2:", p2, c.getProvider()); 219 assertSame("Case1:", p2, c.getProvider()); 222 assertSame("Case2:", p2, c.getProvider());
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
ConsoleTest.java | 72 assertSame(console, console.format("%d %s", 1, "hello")); 79 assertSame(console, console.printf("%1$tm %1$te,%1$tY", c)); 88 assertSame(reader1, reader2); 129 assertSame(writer1, writer2);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
ProcessBuilderTest.java | 61 assertSame(pb, pbReturn); 71 assertSame(pb, pbReturn); 90 assertSame(pb, pbReturn); 94 assertSame(pb, pbReturn); 139 assertSame(pb, pbReturn);
|
StringBufferTest.java | 139 assertSame(sb, sb.append((CharSequence) "ab")); 142 assertSame(sb, sb.append((CharSequence) "cd")); 145 assertSame(sb, sb.append((CharSequence) null)); 155 assertSame(sb, sb.append((CharSequence) "ab", 0, 2)); 158 assertSame(sb, sb.append((CharSequence) "cd", 0, 2)); 161 assertSame(sb, sb.append((CharSequence) "abcd", 0, 2)); 164 assertSame(sb, sb.append((CharSequence) "abcd", 2, 4)); 167 assertSame(sb, sb.append((CharSequence) null, 0, 2)); 203 assertSame(sb, sb.insert(0, (CharSequence) "ab")); 208 assertSame(sb, sb.insert(2, (CharSequence) "ab")) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
CookieManagerTest.java | 258 assertSame(store, cookieManager.getCookieStore());
|
/external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/net/ |
UnixNetworkInterfaceTest.java | 161 assertSame(sub1, sub2); 162 assertSame(netif, sub1.getParent()); 184 assertSame(parent1, parent2);
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
DigestOutputStreamTest.java | 89 assertSame(out, dos.myOutputStream()); 90 assertSame(md, dos.myMessageDigest()); 108 assertSame(digest, dos.getMessageDigest()); 128 assertSame(digest, dos.getMessageDigest());
|
ProtectionDomainTest.java | 108 assertSame(new ProtectionDomain(null, null, classldr, null) 117 assertSame(new ProtectionDomain(cs, null).getCodeSource(), cs); 125 assertSame(new ProtectionDomain(null, perms).getPermissions(), perms);
|
SecurityTest.java | 85 assertSame(p, Security.getProviders()[initNum]); 95 assertSame(p, Security.getProviders()[initNum]); 101 assertSame(p, Security.getProviders()[0]); 102 assertSame(initialSecondProviderName, // provider shifted down 126 assertSame(p, Security.getProviders()[initNum]); 176 assertSame(p, Security.getProvider(providerName)); 184 assertSame(p, Security.getProvider(p.getName()));
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
PKIXCertPathBuilderResultTest.java | 203 assertSame(init.getCertPath(), clone.getCertPath()); 204 assertSame(init.getPolicyTree(), clone.getPolicyTree()); 205 assertSame(init.getPublicKey(), clone.getPublicKey()); 206 assertSame(init.getTrustAnchor(), clone.getTrustAnchor()); 232 assertSame(cp, r.getCertPath());
|
PKIXCertPathValidatorResultTest.java | 166 assertSame(ta, vr.getTrustAnchor()); 190 assertSame(pk, vr.getPublicKey()); 217 assertSame(pn, vr.getPolicyTree()); 269 assertSame("trustAncor", vr1.getTrustAnchor(), vr2.getTrustAnchor()); 270 assertSame("policyTree", vr1.getPolicyTree(), vr2.getPolicyTree()); 271 assertSame("publicKey", vr1.getPublicKey(), vr2.getPublicKey()); 279 assertSame(my.getPolicyTree(), myClone.getPolicyTree()); 280 assertSame(my.getPublicKey(), myClone.getPublicKey()); 281 assertSame(my.getTrustAnchor(), myClone.getTrustAnchor()); 282 assertSame(my.enc, myClone.enc) [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/ |
ECPointTest.java | 107 assertSame(x, xRet); 135 assertSame(y, yRet);
|
EllipticCurveTest.java | 432 assertSame(a, c.getA()); 462 assertSame(b, c.getB()); 480 assertSame(f, c.getField());
|
/external/apache-harmony/security/src/test/api/java.injected/java/security/ |
IdentityTest.java | 106 assertSame(s, i.getScope()); 107 assertSame(i, s.getIdentity(i.getName())); 122 assertSame(c1, i.certificates()[0]); 139 assertSame(c1, i.certificates()[0]); 140 assertSame(pk1, i.getPublicKey()); 165 // assertSame(c1, i.certificates()[0]); 251 assertSame(s, i2.getScope()); 299 assertSame(pk1, i.getPublicKey()); 303 assertSame(pk2, i.getPublicKey()); 316 assertSame(pk, i.getPublicKey()) [all...] |
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
SQLWarningTest.java | 329 assertSame(sw1, sw.getNextException()); 330 assertSame(sw1, sw.getNextWarning()); 333 assertSame(sw2, sw1.getNextException()); 334 assertSame(sw2, sw1.getNextWarning()); 337 assertSame(sw3, sw2.getNextException()); 338 assertSame(sw3, sw2.getNextWarning()); 341 assertSame(se, sw3.getNextException());
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
StringCharacterIteratorTest.java | 150 assertSame(sci0, sci0);
|
/external/guava/guava-tests/test/com/google/common/base/ |
PreconditionsTest.java | 131 assertSame(NON_NULL_STRING, result); 144 assertSame(NON_NULL_STRING, result); 159 assertSame(NON_NULL_STRING, result);
|
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheTesting.java | 22 import static junit.framework.Assert.assertSame; 201 assertSame(entry.getValue(), cchm.get(entry.getKey())); 228 assertSame(prev, current.getPreviousInWriteQueue()); 229 assertSame(prev.getNextInWriteQueue(), current); 234 assertSame(current, segment.getEntry(key, current.getHash())); 250 assertSame(prev, current.getPreviousInAccessQueue()); 251 assertSame(prev.getNextInAccessQueue(), current); 258 assertSame(current, segment.getEntry(key, current.getHash())); 290 assertSame(prev, current.getPreviousInAccessQueue()); 291 assertSame(prev.getNextInAccessQueue(), current) [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
AbstractCollectionTest.java | 200 assertSame(array, c.toArray(array));
|
AbstractSetMultimapTest.java | 98 assertSame(array, set.toArray(array)); 112 assertSame(array, asMapValues.toArray(array));
|
EmptyImmutableTableTest.java | 113 assertSame(EmptyImmutableTable.INSTANCE,
|