/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/ |
JavaBridgeReturnValuesTest.java | 127 assertEquals("boolean", 129 assertEquals("number", 132 assertEquals("number", 134 assertEquals("number", 136 assertEquals("number", 138 assertEquals("number", 140 assertEquals("number", 142 assertEquals("number", 144 assertEquals("number", 146 assertEquals("number" [all...] |
JavaBridgeCoercionTest.java | 171 assertEquals(42, mTestObject.waitForByteValue()); 173 assertEquals(Byte.MIN_VALUE + 42 - 1, mTestObject.waitForByteValue()); 177 assertEquals('\u0000', mTestObject.waitForCharValue()); 180 assertEquals(42, mTestObject.waitForShortValue()); 182 assertEquals(Short.MIN_VALUE + 42 - 1, mTestObject.waitForShortValue()); 185 assertEquals(42, mTestObject.waitForIntValue()); 188 assertEquals(42L, mTestObject.waitForLongValue()); 191 assertEquals(42.0f, mTestObject.waitForFloatValue()); 194 assertEquals(42.0, mTestObject.waitForDoubleValue()); 222 assertEquals(42, mTestObject.waitForByteValue()) [all...] |
/frameworks/base/tests/WebViewTests/src/com/android/webviewtests/ |
JavaBridgeReturnValuesTest.java | 139 assertEquals("boolean", 141 assertEquals("number", 144 assertEquals("number", 146 assertEquals("number", 148 assertEquals("number", 150 assertEquals("number", 152 assertEquals("number", 154 assertEquals("number", 156 assertEquals("number", 158 assertEquals("number" [all...] |
/packages/apps/Email/tests/src/com/android/emailcommon/provider/ |
HostAuthTests.java | 35 assertEquals("user", ha.mLogin); 36 assertEquals("password", ha.mPassword); 40 assertEquals("%20us%20er%20", ha.mLogin); 41 assertEquals("password", ha.mPassword); 45 assertEquals("user", ha.mLogin); 46 assertEquals("%20pass%20word%20", ha.mPassword); 49 assertEquals("user", ha.mLogin); 50 assertEquals("", ha.mPassword); 53 assertEquals("", ha.mLogin); 54 assertEquals("password", ha.mPassword) [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
PointerTrackerQueueTests.java | 69 assertEquals(0, mQueue.size()); 70 assertEquals("[]", mQueue.toString()); 75 assertEquals(1, mQueue.size()); 76 assertEquals("[1]", mQueue.toString()); 78 assertEquals(2, mQueue.size()); 79 assertEquals("[1 2]", mQueue.toString()); 81 assertEquals(3, mQueue.size()); 82 assertEquals("[1 2 3]", mQueue.toString()); 84 assertEquals(4, mQueue.size()); 85 assertEquals("[1 2 3 4]", mQueue.toString()) [all...] |
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheManualTest.java | 32 assertEquals(0, stats.missCount()); 33 assertEquals(0, stats.loadSuccessCount()); 34 assertEquals(0, stats.loadExceptionCount()); 35 assertEquals(0, stats.hitCount()); 42 assertEquals(1, stats.missCount()); 43 assertEquals(0, stats.loadSuccessCount()); 44 assertEquals(0, stats.loadExceptionCount()); 45 assertEquals(0, stats.hitCount()); 52 assertEquals(2, stats.missCount()); 53 assertEquals(0, stats.loadSuccessCount()) [all...] |
/libcore/dex/src/test/java/com/android/dex/ |
EncodedValueReaderTest.java | 25 assertEquals((byte) 0x80, readerOf(0, 0x80).readByte()); 26 assertEquals((byte) 0xff, readerOf(0, 0xff).readByte()); 27 assertEquals((byte) 0x00, readerOf(0, 0x00).readByte()); 28 assertEquals((byte) 0x01, readerOf(0, 0x01).readByte()); 29 assertEquals((byte) 0x7f, readerOf(0, 0x7f).readByte()); 33 assertEquals((short) 0x8000, readerOf(34, 0x00, 0x80).readShort()); 34 assertEquals((short) 0, readerOf( 2, 0x00).readShort()); 35 assertEquals((short) 0xab, readerOf(34, 0xab, 0x00).readShort()); 36 assertEquals((short) 0xabcd, readerOf(34, 0xcd, 0xab).readShort()); 37 assertEquals((short) 0x7FFF, readerOf(34, 0xff, 0x7f).readShort()) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
ByteTest.java | 27 assertEquals(new Byte(Byte.MIN_VALUE), Byte.valueOf(Byte.MIN_VALUE)); 28 assertEquals(new Byte(Byte.MAX_VALUE), Byte.valueOf(Byte.MAX_VALUE)); 29 assertEquals(new Byte((byte) 0), Byte.valueOf((byte) 0)); 33 assertEquals(new Byte(b), Byte.valueOf(b)); 43 assertEquals(1, new Byte((byte) 1).hashCode()); 44 assertEquals(2, new Byte((byte) 2).hashCode()); 45 assertEquals(0, new Byte((byte) 0).hashCode()); 46 assertEquals(-1, new Byte((byte) -1).hashCode()); 53 assertEquals(new Byte((byte) 0), new Byte("0")); 54 assertEquals(new Byte((byte) 1), new Byte("1")) [all...] |
ShortTest.java | 30 assertEquals("Returned incorrect byte value", 0, new Short(Short.MIN_VALUE) 32 assertEquals("Returned incorrect byte value", -1, new Short(Short.MAX_VALUE) 51 assertEquals("Should have returned zero when compared to equal short", 139 assertEquals("Returned incorrect value for 0", 0, Short.parseShort("0")); 171 assertEquals("Incorrectly parsed hex string", 173 assertEquals("Incorrectly parsed oct string", 175 assertEquals("Incorrectly parsed dec string", 177 assertEquals("Incorrectly parsed bin string", 179 assertEquals("Incorrectly parsed -hex string", -255, Short 181 assertEquals("Incorrectly parsed -oct string" [all...] |
StringBufferTest.java | 41 assertEquals("abcde", buffer.toString()); 44 assertEquals("af", buffer.toString()); 47 assertEquals("cde", buffer.substring(2)); 50 assertEquals("abcf", buffer.toString()); 66 assertEquals(0, buffer.charAt(i)); 73 assertEquals('a', buffer.charAt(0)); 74 assertEquals('b', buffer.charAt(1)); 75 assertEquals('e', buffer.charAt(2)); 76 assertEquals('f', buffer.charAt(3)); 77 assertEquals('g', buffer.charAt(4)) [all...] |
/libcore/json/src/test/java/org/json/ |
JSONTokenerTest.java | 97 assertEquals("foo! at character 0 of null", 100 assertEquals(" at character 0 of null", new JSONTokener(null).toString()); 106 assertEquals(" at character 0 of ", backTokener.toString()); 108 assertEquals('\0', new JSONTokener("").next()); 119 assertEquals('\0', new JSONTokener("").nextClean()); 125 assertEquals("", new JSONTokener("").nextTo('A')); 126 assertEquals("", new JSONTokener("").nextTo("ABC")); 133 assertEquals('\0', new JSONTokener("").skipTo('A')); 134 assertEquals("foo! at character 0 of ", 136 assertEquals(" at character 0 of ", new JSONTokener("").toString()) [all...] |
/cts/tests/tests/telephony/src/android/telephony/cts/ |
NeighboringCellInfoTest.java | 40 assertEquals(NETWORK_TYPE_EDGE, nc.getNetworkType()); 41 assertEquals(rssi, nc.getRssi()); 42 assertEquals(0xfff, nc.getLac()); 43 assertEquals(0xffff, nc.getCid()); 44 assertEquals(NeighboringCellInfo.UNKNOWN_CID, nc.getPsc()); 47 assertEquals(NETWORK_TYPE_UMTS, nc.getNetworkType()); 48 assertEquals(rssi, nc.getRssi()); 49 assertEquals(NeighboringCellInfo.UNKNOWN_CID, nc.getCid()); 50 assertEquals(NeighboringCellInfo.UNKNOWN_CID, nc.getLac()); 51 assertEquals(0x1ff, nc.getPsc()) [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
NeighboringCellInfoTest.java | 35 assertEquals(NETWORK_TYPE_EDGE, nc.getNetworkType()); 36 assertEquals(rssi, nc.getRssi()); 37 assertEquals(0xfff, nc.getLac()); 38 assertEquals(0xffff, nc.getCid()); 39 assertEquals(NeighboringCellInfo.UNKNOWN_CID, nc.getPsc()); 42 assertEquals(NETWORK_TYPE_UMTS, nc.getNetworkType()); 43 assertEquals(rssi, nc.getRssi()); 44 assertEquals(NeighboringCellInfo.UNKNOWN_CID, nc.getCid()); 45 assertEquals(NeighboringCellInfo.UNKNOWN_CID, nc.getLac()); 46 assertEquals(0x1ff, nc.getPsc()) [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
Bitmap_ConfigTest.java | 25 assertEquals(Config.ALPHA_8, Config.valueOf("ALPHA_8")); 26 assertEquals(Config.RGB_565, Config.valueOf("RGB_565")); 27 assertEquals(Config.ARGB_4444, Config.valueOf("ARGB_4444")); 28 assertEquals(Config.ARGB_8888, Config.valueOf("ARGB_8888")); 34 assertEquals(4, config.length); 35 assertEquals(Config.ALPHA_8, config[0]); 36 assertEquals(Config.RGB_565, config[1]); 37 assertEquals(Config.ARGB_4444, config[2]); 38 assertEquals(Config.ARGB_8888, config[3]);
|
BlurMaskFilter_BlurTest.java | 25 assertEquals(Blur.NORMAL, Blur.valueOf("NORMAL")); 26 assertEquals(Blur.SOLID, Blur.valueOf("SOLID")); 27 assertEquals(Blur.OUTER, Blur.valueOf("OUTER")); 28 assertEquals(Blur.INNER, Blur.valueOf("INNER")); 34 assertEquals(4, bulr.length); 35 assertEquals(Blur.NORMAL, bulr[0]); 36 assertEquals(Blur.SOLID, bulr[1]); 37 assertEquals(Blur.OUTER, bulr[2]); 38 assertEquals(Blur.INNER, bulr[3]);
|
/cts/tests/tests/net/src/android/net/cts/ |
CredentialsTest.java | 28 assertEquals(0, cred.getGid()); 29 assertEquals(0, cred.getPid()); 30 assertEquals(0, cred.getUid()); 34 assertEquals(Integer.MAX_VALUE, cred.getGid()); 35 assertEquals(Integer.MAX_VALUE, cred.getPid()); 36 assertEquals(Integer.MAX_VALUE, cred.getUid()); 40 assertEquals(Integer.MIN_VALUE, cred.getGid()); 41 assertEquals(Integer.MIN_VALUE, cred.getPid()); 42 assertEquals(Integer.MIN_VALUE, cred.getUid());
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rsub_int/ |
Test_rsub_int.java | 37 assertEquals("Subtest_1 is failed", -4, t.run(8)); 38 assertEquals("Subtest_2 is failed",45, t.run1(15)); 39 assertEquals("Subtest_3 is failed",0, t.run2(20)); 40 assertEquals("Subtest_4 is failed",-35, t.run3(10)); 41 assertEquals("Subtest_5 is failed",-20, t.run4(-50)); 42 assertEquals("Subtest_6 is failed",20, t.run5(-70)); 50 assertEquals("Subtest_1 is failed",255, t.run(0)); 51 assertEquals("Subtest_2 is failed",-32768, t.run1(0)); 52 assertEquals("Subtest_3 is failed",-15, t.run2(15)); 53 assertEquals("Subtest_4 is failed",123, t.run2(-123)) [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rsub_int_lit8/ |
Test_rsub_int_lit8.java | 37 assertEquals("Subtest_1 is failed", -4, t.run(8)); 38 assertEquals("Subtest_2 is failed",45, t.run1(15)); 39 assertEquals("Subtest_3 is failed",0, t.run2(20)); 40 assertEquals("Subtest_4 is failed",-35, t.run3(10)); 41 assertEquals("Subtest_5 is failed",-20, t.run4(-50)); 42 assertEquals("Subtest_6 is failed",20, t.run5(-70)); 50 assertEquals("Subtest_1 is failed",123, t.run(0)); 51 assertEquals("Subtest_2 is failed",-123, t.run1(0)); 52 assertEquals("Subtest_3 is failed",-15, t.run2(15)); 53 assertEquals("Subtest_4 is failed",85, t.run2(-85)) [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
ForwardingListIteratorTest.java | 48 assertEquals("[add(Object)]", getCalls()); 53 assertEquals("[hasNext]", getCalls()); 58 assertEquals("[hasPrevious]", getCalls()); 63 assertEquals("[next]", getCalls()); 68 assertEquals("[nextIndex]", getCalls()); 73 assertEquals("[previous]", getCalls()); 78 assertEquals("[previousIndex]", getCalls()); 83 assertEquals("[remove]", getCalls()); 88 assertEquals("[set(Object)]", getCalls());
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
TextViewTest.java | 43 assertEquals(5, newText.length()); 44 assertEquals('o', newText.charAt(0)); 45 assertEquals("o Wor", newText.toString()); 47 assertEquals(" Wo", newText.subSequence(1, 4)); 51 assertEquals('\0', c2[1]); 52 assertEquals(' ', c2[2]); 53 assertEquals('W', c2[3]); 54 assertEquals('o', c2[4]); 55 assertEquals('\0', c2[5]);
|
/libcore/luni/src/test/java/libcore/java/util/ |
LocaleTest.java | 35 assertEquals("aabbcc", invalid.getLanguage()); 36 assertEquals("DDEEFF", invalid.getCountry()); 37 assertEquals("GgHhIi", invalid.getVariant()); 42 assertEquals("aabbcc", invalid.getDisplayLanguage()); 43 assertEquals("", invalid.getDisplayCountry()); 44 assertEquals("DDEEFF_GGHHII", invalid.getDisplayVariant()); 45 assertEquals("aabbcc (DDEEFF,DDEEFF_GGHHII)", invalid.getDisplayName()); 51 assertEquals("xx", unknown.getLanguage()); 52 assertEquals("YY", unknown.getCountry()); 53 assertEquals("Traditional", unknown.getVariant()) [all...] |
/cts/tests/tests/jni/src/android/jni/cts/ |
JniInstanceTest.java | 45 assertEquals(false, target.returnBoolean()); 52 assertEquals(123, target.returnByte()); 59 assertEquals(-12345, target.returnShort()); 66 assertEquals(34567, target.returnChar()); 73 assertEquals(12345678, target.returnInt()); 80 assertEquals(-1098765432109876543L, target.returnLong()); 87 assertEquals(-98765.4321F, target.returnFloat()); 94 assertEquals(12345678.9, target.returnDouble()); 108 assertEquals("blort", target.returnString()); 117 assertEquals(3, array.length) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/descriptors/ |
DescriptorsUtilsTest.java | 43 assertEquals("", DescriptorsUtils.prettyAttributeUiName("")); 45 assertEquals("Max width for view", 48 assertEquals("Layout width", 52 assertEquals("Axis X", DescriptorsUtils.prettyAttributeUiName("axisX")); 53 assertEquals("Axis Y", DescriptorsUtils.prettyAttributeUiName("axisY")); 54 assertEquals("Axis Z", DescriptorsUtils.prettyAttributeUiName("axisZ")); 55 assertEquals("Axis t", DescriptorsUtils.prettyAttributeUiName("axisT")); 57 assertEquals("The X axis", DescriptorsUtils.prettyAttributeUiName("theXAxis")); 58 assertEquals("The Y axis", DescriptorsUtils.prettyAttributeUiName("theYAxis")); 59 assertEquals("The Z axis", DescriptorsUtils.prettyAttributeUiName("theZAxis")) [all...] |
/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
ProcFileReaderTest.java | 46 assertEquals("a", reader.nextString()); 50 assertEquals("b", reader.nextString()); 54 assertEquals("c", reader.nextString()); 62 assertEquals(1, reader.nextInt()); 63 assertEquals(2, reader.nextInt()); 64 assertEquals(3, reader.nextInt()); 68 assertEquals(4, reader.nextInt()); 69 assertEquals("abc_def", reader.nextString()); 70 assertEquals(5, reader.nextInt()); 74 assertEquals(10, reader.nextInt()) [all...] |
/external/v8/test/mjsunit/ |
date.js | 31 assertEquals(1111, date0.getTime()); 32 assertEquals(date0.getTime(), date1.getTime()); 34 assertEquals(1000, date2.getTime()); 41 assertEquals(date0, date1); 42 assertEquals(date1, date2); 43 assertEquals(date2, date3); 48 assertEquals(8.64e15, dMax.getTime()); 49 assertEquals(275760, dMax.getFullYear()); 50 assertEquals(8, dMax.getMonth()); 51 assertEquals(13, dMax.getUTCDate()) [all...] |