HomeSort by relevance Sort by last modified time
    Searched defs:assertEquals (Results 26 - 50 of 1158) sorted by null

12 3 4 5 6 7 8 91011>>

  /cts/tests/tests/util/src/android/util/cts/
AndroidRuntimeExceptionTest.java 61 assertEquals(NAME, e.getMessage());
67 assertEquals(CAUSE, e.getCause());
  /cts/tests/tests/view/src/android/view/cts/
SoundEffectConstantsTest.java 44 assertEquals(SoundEffectConstants.NAVIGATION_RIGHT,
47 assertEquals(SoundEffectConstants.NAVIGATION_DOWN, SoundEffectConstants
49 assertEquals(SoundEffectConstants.NAVIGATION_LEFT, SoundEffectConstants
51 assertEquals(SoundEffectConstants.NAVIGATION_UP, SoundEffectConstants
54 assertEquals(SoundEffectConstants.NAVIGATION_DOWN, SoundEffectConstants
57 assertEquals(SoundEffectConstants.NAVIGATION_UP, SoundEffectConstants
MenuInflaterTest.java 80 assertEquals(0, menu.size());
84 assertEquals(1, menu.size());
111 assertEquals('a', menu.findItem(R.id.visible_item).getAlphabeticShortcut());
114 assertEquals('b', menu.findItem(R.id.hidden_item).getAlphabeticShortcut());
116 assertEquals(R.id.hidden_group, menu.findItem(R.id.hidden_by_group).getGroupId());
118 assertEquals('c', menu.findItem(R.id.hidden_by_group).getAlphabeticShortcut());
124 assertEquals("Start", menu.findItem(R.id.start).getTitle());
128 assertEquals("Pass", menu.findItem(R.id.pass).getTitle());
132 assertEquals("Failed", menu.findItem(R.id.failed).getTitle());
140 assertEquals(R.id.most_used_items, menu.findItem(R.id.first_most_item).getGroupId())
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
AdapterView_AdapterContextMenuInfoTest.java 42 assertEquals(position, menuInfo.position);
43 assertEquals(id, menuInfo.id);
44 assertEquals(testView, menuInfo.targetView);
  /cts/tools/dx-tests/src/dxc/junit/
DxAbstractMain.java 20 static public void assertEquals(int expected, int actual) {
24 static public void assertEquals(long expected, long actual) {
28 static public void assertEquals(double expected, double actual, double delta) {
32 static public void assertEquals(Object expected, Object actual) {
  /cts/tools/dx-tests/src/dxc/junit/opcodes/aconst_null/
Test_aconst_null.java 29 assertEquals(null, new T_aconst_null_1().run());
  /cts/tools/vm-tests/src/dot/junit/
DxAbstractMain.java 21 static public void assertEquals(int expected, int actual) {
25 static public void assertEquals(String message, int expected, int actual) {
30 static public void assertEquals(long expected, long actual) {
34 static public void assertEquals(double expected, double actual, double delta) {
38 static public void assertEquals(Object expected, Object actual) {
  /frameworks/base/tests/CoreTests/android/core/
ByteArrayInputStreamTest.java 38 assertEquals(str, IOUtil.read(a));
39 assertEquals("AbCdEfGhIj", IOUtil.read(b, 10));
40 assertEquals("bdfhjlnprtvxz", IOUtil.skipRead(c));
41 assertEquals("AbCdEfGdEfGhIjKlMnOpQrStUvWxYz", IOUtil.markRead(d, 3, 4));
CharArrayReaderTest.java 37 assertEquals(str, IOUtil.read(a));
38 assertEquals("AbCdEfGhIj", IOUtil.read(b, 10));
39 assertEquals("bdfhjlnprtvxz", IOUtil.skipRead(c));
40 assertEquals("AbCdEfGdEfGhIjKlMnOpQrStUvWxYz", IOUtil.markRead(d, 3, 4));
StringReaderTest.java 35 assertEquals(str, IOUtil.read(a));
36 assertEquals("AbCdEfGhIj", IOUtil.read(b, 10));
37 assertEquals("bdfhjlnprtvxz", IOUtil.skipRead(c));
38 assertEquals("AbCdEfGdEfGhIjKlMnOpQrStUvWxYz", IOUtil.markRead(d, 3, 4));
  /libcore/luni/src/test/java/libcore/icu/
NativePluralRulesTest.java 24 assertEquals(NativePluralRules.OTHER, npr.quantityForInt(-1));
25 assertEquals(NativePluralRules.OTHER, npr.quantityForInt(0));
26 assertEquals(NativePluralRules.ONE, npr.quantityForInt(1));
27 assertEquals(NativePluralRules.OTHER, npr.quantityForInt(2));
32 assertEquals(NativePluralRules.OTHER, npr.quantityForInt(-1));
33 assertEquals(NativePluralRules.OTHER, npr.quantityForInt(0));
34 assertEquals(NativePluralRules.ONE, npr.quantityForInt(1));
35 assertEquals(NativePluralRules.FEW, npr.quantityForInt(2));
36 assertEquals(NativePluralRules.FEW, npr.quantityForInt(3));
37 assertEquals(NativePluralRules.FEW, npr.quantityForInt(4))
    [all...]
  /libcore/luni/src/test/java/libcore/java/awt/font/
TextAttributeTest.java 25 assertEquals("java.awt.font.TextAttribute(kerning)",
27 assertEquals("java.awt.font.TextAttribute(ligatures)",
29 assertEquals("java.awt.font.TextAttribute(tracking)",
34 assertEquals(new Integer(1), TextAttribute.KERNING_ON);
35 assertEquals(new Integer(1), TextAttribute.LIGATURES_ON);
36 assertEquals(new Float(0.04f), TextAttribute.TRACKING_LOOSE);
37 assertEquals(new Float(-0.04f), TextAttribute.TRACKING_TIGHT);
  /libcore/luni/src/test/java/libcore/java/lang/
CharacterTest.java 27 assertEquals(e, a);
31 assertEquals(new Character((char) c), Character.valueOf((char) c));
  /libcore/luni/src/test/java/libcore/java/math/
BigIntegerTest.java 27 assertEquals(i, BigInteger.valueOf(i).intValue());
  /libcore/luni/src/test/java/libcore/java/net/
IDNTest.java 35 assertEquals("b\u00fccher", IDN.toUnicode(makePunyString(0)));
38 assertEquals(longInput, IDN.toUnicode(longInput));
OldAuthenticatorRequestorTypeTest.java 25 assertEquals(Authenticator.RequestorType.PROXY,
27 assertEquals(Authenticator.RequestorType.SERVER,
43 assertEquals(expectedTypes.length, types.length);
46 assertEquals(expectedTypes[i], types[i]);
  /packages/apps/Email/tests/src/com/android/email/
TestUtils.java 41 MoreAsserts.assertEquals(new byte[] {}, b());
42 MoreAsserts.assertEquals(new byte[] {1, 2, (byte) 0xff}, b(1, 2, 0xff));
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
PhotoPriorityResolverTest.java 38 assertEquals(42,
41 assertEquals(PhotoPriorityResolver.DEFAULT_PRIORITY,
  /cts/tests/tests/app/src/android/app/cts/
ActivityManager_RunningAppProcessInfoTest.java 72 assertEquals(0, rap.describeContents());
83 assertEquals(rap.pid, r.pid);
84 assertEquals(rap.processName, r.processName);
85 assertEquals(rap.pkgList.length, r.pkgList.length);
88 assertEquals(rap.pkgList[i], r.pkgList[i]);
PendingIntent_CanceledExceptionTest.java 60 assertEquals(message, canceledException.getMessage());
  /cts/tests/tests/content/src/android/content/cts/
IntentFilter_MalformedMimeTypeExceptionTest.java 63 assertEquals(message, mMalformedMimeTypeException.getMessage());
69 assertEquals(message, e.getMessage());
  /cts/tests/tests/content/src/android/content/pm/cts/
PackageManager_NameNotFoundExceptionTest.java 58 assertEquals(message, e.getMessage());
  /cts/tests/tests/content/src/android/content/res/cts/
ResourceNameTest.java 32 assertEquals("com.android.cts.stub:configVarying/simple", fullName);
35 assertEquals("com.android.cts.stub", packageName);
38 assertEquals("configVarying", typeName);
41 assertEquals("simple", entryName);
50 assertEquals(R.configVarying.simple, resid);
54 assertEquals(R.configVarying.simple, resid);
58 assertEquals(R.configVarying.simple, resid);
Resources_NotFoundExceptionTest.java 70 assertEquals(MESSAGE, e.getMessage());
  /cts/tests/tests/database/src/android/database/cts/
CursorIndexOutOfBoundsExceptionTest.java 58 assertEquals(expected1, e.getMessage());
65 assertEquals(expected2, e.getMessage());

Completed in 1423 milliseconds

12 3 4 5 6 7 8 91011>>