| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
| D | LongTest.java | 42 assertEquals("Returned incorrect byte value", 127, l.byteValue()); in test_byteValue() 43 assertEquals("Returned incorrect byte value", -1, new Long(Long.MAX_VALUE) in test_byteValue() 54 assertEquals("-2 compared to -2 gave non-zero answer", 0, new Long(-2L) in test_compareToLjava_lang_Long() 72 assertEquals("Returned incorrect value for hex string", 255L, Long.decode( in test_decodeLjava_lang_String2() 74 assertEquals("Returned incorrect value for dec string", -89000L, Long.decode( in test_decodeLjava_lang_String2() 76 assertEquals("Returned incorrect value for 0 decimal", 0, Long.decode("0") in test_decodeLjava_lang_String2() 78 assertEquals("Returned incorrect value for 0 hex", 0, Long.decode("0x0") in test_decodeLjava_lang_String2() 204 assertEquals("Parsed to incorrect long value", 89000000005L, l); in test_parseLongLjava_lang_String2() 205 assertEquals("Returned incorrect value for 0", 0, Long.parseLong("0")); in test_parseLongLjava_lang_String2() 235 assertEquals("Returned incorrect value", in test_parseLongLjava_lang_StringI() [all …]
|
| D | IntegerTest.java | 41 assertEquals("Returned incorrect byte value", -1, new Integer(65535) in test_byteValue() 43 assertEquals("Returned incorrect byte value", 127, new Integer(127) in test_byteValue() 54 assertEquals("-2 compared to -2 gave non-zero answer", 0, new Integer(-2) in test_compareToLjava_lang_Integer() 72 assertEquals("Failed for 132233", in test_decodeLjava_lang_String2() 74 assertEquals("Failed for 07654321", in test_decodeLjava_lang_String2() 80 assertEquals("Failed for -23", -23, Integer.decode("-23").intValue()); in test_decodeLjava_lang_String2() 81 assertEquals("Returned incorrect value for 0 decimal", 0, Integer in test_decodeLjava_lang_String2() 83 assertEquals("Returned incorrect value for 0 hex", 0, Integer.decode("0x0") in test_decodeLjava_lang_String2() 205 assertEquals("Returned incorrect double value", 2147483647.0, new Integer(2147483647) in test_doubleValue2() 207 assertEquals("Returned incorrect double value", -2147483647.0, new Integer(-2147483647) in test_doubleValue2() [all …]
|
| D | Character_UnicodeBlockTest.java | 24 assertEquals(Character.UnicodeBlock.BASIC_LATIN, Character.UnicodeBlock.of((char) 0x0)); in test_ofC() 25 assertEquals(Character.UnicodeBlock.BASIC_LATIN, Character.UnicodeBlock.of((char) 0x7f)); in test_ofC() 26 … assertEquals(Character.UnicodeBlock.LATIN_1_SUPPLEMENT, Character.UnicodeBlock.of((char) 0x80)); in test_ofC() 27 … assertEquals(Character.UnicodeBlock.LATIN_1_SUPPLEMENT, Character.UnicodeBlock.of((char) 0xff)); in test_ofC() 28 … assertEquals(Character.UnicodeBlock.LATIN_EXTENDED_A, Character.UnicodeBlock.of((char) 0x100)); in test_ofC() 29 … assertEquals(Character.UnicodeBlock.LATIN_EXTENDED_A, Character.UnicodeBlock.of((char) 0x17f)); in test_ofC() 30 … assertEquals(Character.UnicodeBlock.LATIN_EXTENDED_B, Character.UnicodeBlock.of((char) 0x180)); in test_ofC() 31 … assertEquals(Character.UnicodeBlock.LATIN_EXTENDED_B, Character.UnicodeBlock.of((char) 0x24f)); in test_ofC() 32 … assertEquals(Character.UnicodeBlock.IPA_EXTENSIONS, Character.UnicodeBlock.of((char) 0x250)); in test_ofC() 33 … assertEquals(Character.UnicodeBlock.IPA_EXTENSIONS, Character.UnicodeBlock.of((char) 0x2af)); in test_ofC() [all …]
|
| /libcore/luni/src/test/java/libcore/java/net/ |
| D | URLTest.java | 32 assertEquals("http", url.getProtocol()); in testUrlParts() 33 assertEquals("username:password@host:8080", url.getAuthority()); in testUrlParts() 34 assertEquals("username:password", url.getUserInfo()); in testUrlParts() 35 assertEquals("host", url.getHost()); in testUrlParts() 36 assertEquals(8080, url.getPort()); in testUrlParts() 37 assertEquals(80, url.getDefaultPort()); in testUrlParts() 38 assertEquals("/directory/file?query", url.getFile()); in testUrlParts() 39 assertEquals("/directory/file", url.getPath()); in testUrlParts() 40 assertEquals("query", url.getQuery()); in testUrlParts() 41 assertEquals("ref", url.getRef()); in testUrlParts() [all …]
|
| D | URITest.java | 28 assertEquals("http", uri.getScheme()); in testUriParts() 29 assertEquals("username:password@host:8080", uri.getAuthority()); in testUriParts() 30 assertEquals("username:password@host:8080", uri.getRawAuthority()); in testUriParts() 31 assertEquals("username:password", uri.getUserInfo()); in testUriParts() 32 assertEquals("username:password", uri.getRawUserInfo()); in testUriParts() 33 assertEquals("host", uri.getHost()); in testUriParts() 34 assertEquals(8080, uri.getPort()); in testUriParts() 35 assertEquals("/directory/file", uri.getPath()); in testUriParts() 36 assertEquals("/directory/file", uri.getRawPath()); in testUriParts() 37 assertEquals("query", uri.getQuery()); in testUriParts() [all …]
|
| /libcore/dex/src/test/java/com/android/dex/ |
| D | EncodedValueReaderTest.java | 25 assertEquals((byte) 0x80, readerOf(0, 0x80).readByte()); in testReadByte() 26 assertEquals((byte) 0xff, readerOf(0, 0xff).readByte()); in testReadByte() 27 assertEquals((byte) 0x00, readerOf(0, 0x00).readByte()); in testReadByte() 28 assertEquals((byte) 0x01, readerOf(0, 0x01).readByte()); in testReadByte() 29 assertEquals((byte) 0x7f, readerOf(0, 0x7f).readByte()); in testReadByte() 33 assertEquals((short) 0x8000, readerOf(34, 0x00, 0x80).readShort()); in testReadShort() 34 assertEquals((short) 0, readerOf( 2, 0x00).readShort()); in testReadShort() 35 assertEquals((short) 0xab, readerOf(34, 0xab, 0x00).readShort()); in testReadShort() 36 assertEquals((short) 0xabcd, readerOf(34, 0xcd, 0xab).readShort()); in testReadShort() 37 assertEquals((short) 0x7FFF, readerOf(34, 0xff, 0x7f).readShort()); in testReadShort() [all …]
|
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/ |
| D | AttributesImplTest.java | 44 assertEquals(0, empty.getLength()); in testAttributesImpl() 45 assertEquals(5, multi.getLength()); in testAttributesImpl() 51 assertEquals(0, ai.getLength()); in testAttributesImplAttributes() 55 assertEquals(5, ai.getLength()); in testAttributesImplAttributes() 60 assertEquals(0, ai.getLength()); in testAttributesImplAttributes() 69 assertEquals(0, ai.getLength()); in testGetLength() 72 assertEquals(5, ai.getLength()); in testGetLength() 76 assertEquals(i, ai.getLength()); in testGetLength() 82 assertEquals("http://some.uri", multi.getURI(0)); in testGetURI() 83 assertEquals("http://some.uri", multi.getURI(1)); in testGetURI() [all …]
|
| D | AttributeListImplTest.java | 39 assertEquals(0, empty.getLength()); in testAttributeListImpl() 40 assertEquals(3, multi.getLength()); in testAttributeListImpl() 46 assertEquals(0, ai.getLength()); in testAttributeListImplAttributeList() 50 assertEquals(3, ai.getLength()); in testAttributeListImplAttributeList() 55 assertEquals(0, ai.getLength()); in testAttributeListImplAttributeList() 68 assertEquals(0, attrs.getLength()); in testSetAttributeList() 71 assertEquals(multi.getLength(), attrs.getLength()); in testSetAttributeList() 74 assertEquals(multi.getName(i), attrs.getName(i)); in testSetAttributeList() 75 assertEquals(multi.getType(i), attrs.getType(i)); in testSetAttributeList() 76 assertEquals(multi.getValue(i), attrs.getValue(i)); in testSetAttributeList() [all …]
|
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
| D | ComputeSerialVersionUIDTest.java | 9 assertEquals(-5877374382732244721L, in testComputeSUIDClass() 11 assertEquals(-2258784348609133821L, in testComputeSUIDClass() 13 assertEquals(-5674447587118957354L, in testComputeSUIDClass() 15 assertEquals(8333249076871004334L, in testComputeSUIDClass() 17 assertEquals(-6752991881983868187L, in testComputeSUIDClass() 19 assertEquals(-2046603329186110997L, in testComputeSUIDClass() 24 …assertEquals(2385879270919801624L, computeSerialVersionUID(SerializationTestClass.TestInterfaces.c… in testComputeSUIDInterfaces() 25 …assertEquals(-3876044724689092051L, computeSerialVersionUID(SerializationTestClass.TestInterfacesA… in testComputeSUIDInterfaces() 26 …assertEquals(6691168002125833763L, computeSerialVersionUID(SerializationTestClass.TestInterfacesAB… in testComputeSUIDInterfaces() 27 …assertEquals(-3862602835688739317L, computeSerialVersionUID(SerializationTestClass.TestInterfacesB… in testComputeSUIDInterfaces() [all …]
|
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/ |
| D | SplitTest.java | 35 assertEquals(expected.length, results.length); in testSimple() 37 assertEquals(results[i], expected[i]); in testSimple() 48 assertEquals(1, tokens.length); in testSplit1() 51 assertEquals(2, tokens.length); in testSplit1() 52 assertEquals("poodle", tokens[0]); in testSplit1() 53 assertEquals("zoo", tokens[1]); in testSplit1() 55 assertEquals(2, tokens.length); in testSplit1() 56 assertEquals("poodle", tokens[0]); in testSplit1() 57 assertEquals("zoo", tokens[1]); in testSplit1() 59 assertEquals(2, tokens.length); in testSplit1() [all …]
|
| /libcore/luni/src/test/java/libcore/net/url/ |
| D | UrlUtilsTest.java | 23 assertEquals("", UrlUtils.canonicalizePath("", true)); in testCanonicalizePath() 24 assertEquals("", UrlUtils.canonicalizePath(".", true)); in testCanonicalizePath() 25 assertEquals("", UrlUtils.canonicalizePath("..", true)); in testCanonicalizePath() 26 assertEquals("...", UrlUtils.canonicalizePath("...", true)); in testCanonicalizePath() 27 assertEquals("", UrlUtils.canonicalizePath("./", true)); in testCanonicalizePath() 28 assertEquals("", UrlUtils.canonicalizePath("../", true)); in testCanonicalizePath() 29 assertEquals("a", UrlUtils.canonicalizePath("../a", true)); in testCanonicalizePath() 30 assertEquals("a", UrlUtils.canonicalizePath("a", true)); in testCanonicalizePath() 31 assertEquals("a/", UrlUtils.canonicalizePath("a/", true)); in testCanonicalizePath() 32 assertEquals("a/", UrlUtils.canonicalizePath("a/.", true)); in testCanonicalizePath() [all …]
|
| /libcore/luni/src/test/java/libcore/icu/ |
| D | LocaleDataTest.java | 33 assertEquals("AM", l.amPm[0]); in test_en_US() 34 assertEquals("a", l.narrowAm); in test_en_US() 36 assertEquals("BC", l.eras[0]); in test_en_US() 38 assertEquals("January", l.longMonthNames[0]); in test_en_US() 39 assertEquals("Jan", l.shortMonthNames[0]); in test_en_US() 40 assertEquals("J", l.tinyMonthNames[0]); in test_en_US() 42 assertEquals("January", l.longStandAloneMonthNames[0]); in test_en_US() 43 assertEquals("Jan", l.shortStandAloneMonthNames[0]); in test_en_US() 44 assertEquals("J", l.tinyStandAloneMonthNames[0]); in test_en_US() 46 assertEquals("Sunday", l.longWeekdayNames[1]); in test_en_US() [all …]
|
| /libcore/json/src/test/java/org/json/ |
| D | JSONTokenerTest.java | 97 assertEquals("foo! at character 0 of null", in testNulls() 100 assertEquals(" at character 0 of null", new JSONTokener(null).toString()); in testNulls() 106 assertEquals(" at character 0 of ", backTokener.toString()); in testEmptyString() 108 assertEquals('\0', new JSONTokener("").next()); in testEmptyString() 119 assertEquals('\0', new JSONTokener("").nextClean()); in testEmptyString() 125 assertEquals("", new JSONTokener("").nextTo('A')); in testEmptyString() 126 assertEquals("", new JSONTokener("").nextTo("ABC")); in testEmptyString() 133 assertEquals('\0', new JSONTokener("").skipTo('A')); in testEmptyString() 134 assertEquals("foo! at character 0 of ", in testEmptyString() 136 assertEquals(" at character 0 of ", new JSONTokener("").toString()); in testEmptyString() [all …]
|
| /libcore/luni/src/test/java/libcore/xml/ |
| D | PullParserDtdTest.java | 64 assertEquals(XmlPullParser.START_TAG, parser.next()); in testGeneralAndParameterEntityWithTheSameName() 65 assertEquals(XmlPullParser.TEXT, parser.next()); in testGeneralAndParameterEntityWithTheSameName() 66 assertEquals("aaa", parser.getText()); in testGeneralAndParameterEntityWithTheSameName() 67 assertEquals(XmlPullParser.END_TAG, parser.next()); in testGeneralAndParameterEntityWithTheSameName() 68 assertEquals(XmlPullParser.END_DOCUMENT, parser.next()); in testGeneralAndParameterEntityWithTheSameName() 76 assertEquals(XmlPullParser.START_TAG, parser.next()); in testInternalEntities() 77 assertEquals(XmlPullParser.TEXT, parser.next()); in testInternalEntities() 78 assertEquals("android", parser.getText()); in testInternalEntities() 79 assertEquals(XmlPullParser.END_TAG, parser.next()); in testInternalEntities() 80 assertEquals(XmlPullParser.END_DOCUMENT, parser.next()); in testInternalEntities() [all …]
|
| D | PullParserTest.java | 31 assertEquals(XmlPullParser.START_TAG, parser.next()); in testAttributeNoValueWithRelaxed() 32 assertEquals("input", parser.getName()); in testAttributeNoValueWithRelaxed() 33 assertEquals("checked", parser.getAttributeName(0)); in testAttributeNoValueWithRelaxed() 34 assertEquals("checked", parser.getAttributeValue(0)); in testAttributeNoValueWithRelaxed() 41 assertEquals(XmlPullParser.START_TAG, parser.next()); in testAttributeUnquotedValueWithRelaxed() 42 assertEquals("input", parser.getName()); in testAttributeUnquotedValueWithRelaxed() 43 assertEquals("checked", parser.getAttributeName(0)); in testAttributeUnquotedValueWithRelaxed() 44 assertEquals("true", parser.getAttributeValue(0)); in testAttributeUnquotedValueWithRelaxed() 51 assertEquals(XmlPullParser.START_TAG, parser.next()); in testUnterminatedEntityWithRelaxed() 52 assertEquals("foo", parser.getName()); in testUnterminatedEntityWithRelaxed() [all …]
|
| /libcore/luni/src/test/java/libcore/java/lang/ |
| D | OldAndroidMathTest.java | 34 public static void assertEquals(String message, double expected, double actual, double delta) { in assertEquals() method in OldAndroidMathTest 36 Assert.assertEquals(message, expected, actual, Math.ulp(expected)); in assertEquals() 38 Assert.assertEquals(message, expected, actual, delta); in assertEquals() 42 public static void assertEquals(String message, float expected, float actual, float delta) { in assertEquals() method in OldAndroidMathTest 44 Assert.assertEquals(message, expected, actual, Math.ulp(expected)); in assertEquals() 46 Assert.assertEquals(message, expected, actual, delta); in assertEquals() 117 assertEquals("Should return Double.POSITIVE_INFINITY", in testCbrtD() 120 assertEquals("Should return Double.NEGATIVE_INFINITY", in testCbrtD() 123 assertEquals(Double.doubleToLongBits(0.0), Double.doubleToLongBits(Math in testCbrtD() 125 assertEquals(Double.doubleToLongBits(+0.0), Double.doubleToLongBits(Math in testCbrtD() [all …]
|
| D | StringTest.java | 97 assertEquals("a\u0666b", new String(bytes, 1, bytes.length - 2)); in testString_BII() 102 assertEquals("a\u0666b", new String(bytes, 1, bytes.length - 2, "UTF-8")); in testString_BIIString() 107 assertEquals("a\u0666b", new String(bytes, 1, bytes.length - 2, Charset.forName("UTF-8"))); in testString_BIICharset() 112 assertEquals("a\u0666b", new String(bytes, Charset.forName("UTF-8"))); in testString_BCharset() 119 assertEquals("YY", result); // (Our decoder always outputs 'Y's.) in testStringFromCharset_MaliciousCharset() 123 assertEquals("YY", result); in testStringFromCharset_MaliciousCharset() 128 assertEquals("[97, 63, 98]", Arrays.toString("a\u0666b".getBytes("US-ASCII"))); in test_getBytes_bad() 129 … assertEquals("[97, 63, 98]", Arrays.toString("a\u0666b".getBytes(Charset.forName("US-ASCII")))); in test_getBytes_bad() 137 assertEquals("[]", Arrays.toString("".getBytes(cs))); in test_getBytes_UTF_8() 140 assertEquals("[0]", Arrays.toString("\u0000".getBytes(cs))); in test_getBytes_UTF_8() [all …]
|
| D | OldAndroidStrictMathTest.java | 97 assertEquals("Should return Double.POSITIVE_INFINITY", in testCbrtD() 100 assertEquals("Should return Double.NEGATIVE_INFINITY", in testCbrtD() 103 assertEquals(Double.doubleToLongBits(0.0), Double in testCbrtD() 105 assertEquals(Double.doubleToLongBits(+0.0), Double in testCbrtD() 107 assertEquals(Double.doubleToLongBits(-0.0), Double in testCbrtD() 110 assertEquals("Should return 3.0", 3.0, StrictMath.cbrt(27.0)); in testCbrtD() 111 assertEquals("Should return 23.111993172558684", 23.111993172558684, in testCbrtD() 113 assertEquals("Should return 5.643803094122362E102", in testCbrtD() 115 assertEquals("Should return 0.01", 0.01, StrictMath.cbrt(0.000001)); in testCbrtD() 117 assertEquals("Should return -3.0", -3.0, StrictMath.cbrt(-27.0)); in testCbrtD() [all …]
|
| D | DoubleTest.java | 24 assertEquals("0.008", Double.toString(0.008)); in testDoubleToStringUnsignedDivide() 25 assertEquals("0.008366", Double.toString(0.008366)); in testDoubleToStringUnsignedDivide() 27 assertEquals("0.009", Double.toString(0.009)); in testDoubleToStringUnsignedDivide() 29 assertEquals("0.008567856012638986", Double.toString(0.008567856012638986)); in testDoubleToStringUnsignedDivide() 30 assertEquals("0.010206713752229896", Double.toString(0.010206713752229896)); in testDoubleToStringUnsignedDivide() 34 assertEquals(Double.NaN, Double.parseDouble("NaN")); in testNamedDoubles() 35 assertEquals(Double.NaN, Double.parseDouble("-NaN")); in testNamedDoubles() 36 assertEquals(Double.NaN, Double.parseDouble("+NaN")); in testNamedDoubles() 48 assertEquals(Double.POSITIVE_INFINITY, Double.parseDouble("+Infinity")); in testNamedDoubles() 49 assertEquals(Double.POSITIVE_INFINITY, Double.parseDouble("Infinity")); in testNamedDoubles() [all …]
|
| /libcore/luni/src/test/java/libcore/java/util/ |
| D | LocaleTest.java | 34 assertEquals("aabbcc", invalid.getLanguage()); in test_getDisplayName_invalid() 35 assertEquals("DDEEFF", invalid.getCountry()); in test_getDisplayName_invalid() 36 assertEquals("GgHhIi", invalid.getVariant()); in test_getDisplayName_invalid() 41 assertEquals("aabbcc", invalid.getDisplayLanguage()); in test_getDisplayName_invalid() 42 assertEquals("DDEEFF", invalid.getDisplayCountry()); in test_getDisplayName_invalid() 43 assertEquals("GGHHII", invalid.getDisplayVariant()); in test_getDisplayName_invalid() 44 assertEquals("aabbcc (DDEEFF,GGHHII)", invalid.getDisplayName()); in test_getDisplayName_invalid() 49 assertEquals("", emptyLanguage.getDisplayLanguage()); in test_getDisplayName_emptyCodes() 52 assertEquals("", emptyCountry.getDisplayCountry()); in test_getDisplayName_emptyCodes() 55 assertEquals("", emptyCountryAndLanguage.getDisplayLanguage()); in test_getDisplayName_emptyCodes() [all …]
|
| /libcore/luni/src/test/java/org/apache/harmony/regex/tests/java/util/regex/ |
| D | SplitTest.java | 57 assertEquals(expected.length, actual.length); in assertArraysEqual() 59 assertEquals(Integer.toString(i), expected[i], actual[i]); in assertArraysEqual() 70 assertEquals(1, tokens.length); in testSplit1() 73 assertEquals(2, tokens.length); in testSplit1() 74 assertEquals("poodle", tokens[0]); in testSplit1() 75 assertEquals("zoo", tokens[1]); in testSplit1() 77 assertEquals(2, tokens.length); in testSplit1() 78 assertEquals("poodle", tokens[0]); in testSplit1() 79 assertEquals("zoo", tokens[1]); in testSplit1() 81 assertEquals(2, tokens.length); in testSplit1() [all …]
|
| /libcore/luni/src/test/java/libcore/java/nio/ |
| D | OldAndroidNIOTest.java | 77 assertEquals(ByteOrder.BIG_ENDIAN, dupe.order()); in byteBufferTest() 138 assertEquals((byte) 0xA7, b.get(7)); in byteBufferTest() 154 assertEquals((byte) 0xA0, b.get()); in byteBufferTest() 155 assertEquals((byte) 0xA1, b.get()); in byteBufferTest() 156 assertEquals((byte) 0xA2, b.get()); in byteBufferTest() 157 assertEquals((byte) 0xA3, b.get()); in byteBufferTest() 158 assertEquals((byte) 0xA4, b.get()); in byteBufferTest() 159 assertEquals((byte) 0xA5, b.get()); in byteBufferTest() 160 assertEquals((byte) 0xA6, b.get()); in byteBufferTest() 161 assertEquals((byte) 0xA7, b.get()); in byteBufferTest() [all …]
|
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
| D | StringCharacterIteratorTest.java | 122 assertEquals(sci0, sci0); in test_equalsLjava_lang_Object() 127 assertEquals(sci0, sci1); in test_equalsLjava_lang_Object() 132 assertEquals(sci0, sci1); in test_equalsLjava_lang_Object() 153 assertEquals(sci0, sci1); in test_clone() 166 assertEquals('f', fixture.current()); in test_current() 168 assertEquals('i', fixture.current()); in test_current() 172 assertEquals("Wrong current char", 'i', it.current()); in test_current() 180 assertEquals('f', fixture.first()); in test_first() 182 assertEquals('f', fixture.first()); in test_first() 184 assertEquals('f', fixture.first()); in test_first() [all …]
|
| D | BidiTest.java | 31 assertEquals("different length", expected.length, bidi.getRunCount()); in assertRunArrayEquals() 149 assertEquals(0, bd.getBaseLevel()); in testEmptyParagraph() 150 assertEquals(0, bd.getLength()); in testEmptyParagraph() 151 assertEquals(0, bd.getLevelAt(0)); in testEmptyParagraph() 152 assertEquals(0, bd.getLevelAt(1000)); in testEmptyParagraph() 153 assertEquals(1, bd.getRunCount()); in testEmptyParagraph() 161 assertEquals(1, bd.getBaseLevel()); in testEmptyParagraph() 162 assertEquals(0, bd.getLength()); in testEmptyParagraph() 163 assertEquals(1, bd.getLevelAt(0)); in testEmptyParagraph() 164 assertEquals(1, bd.getLevelAt(1000)); in testEmptyParagraph() [all …]
|
| /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/ext/ |
| D | Attributes2ImplTest.java | 70 assertEquals(0, attrs.getLength()); in testSetAttributes() 74 assertEquals(multi.getURI(i), attrs.getURI(i)); in testSetAttributes() 75 assertEquals(multi.getLocalName(i), attrs.getLocalName(i)); in testSetAttributes() 76 assertEquals(multi.getQName(i), attrs.getQName(i)); in testSetAttributes() 77 assertEquals(multi.getType(i), attrs.getType(i)); in testSetAttributes() 78 assertEquals(multi.getValue(i), attrs.getValue(i)); in testSetAttributes() 79 assertEquals(multi.isDeclared(i), attrs.isDeclared(i)); in testSetAttributes() 80 assertEquals(multi.isSpecified(i), attrs.isSpecified(i)); in testSetAttributes() 84 assertEquals(0, attrs.getLength()); in testSetAttributes() 88 assertEquals(multi.getLength(), attrs.getLength()); in testSetAttributes() [all …]
|