Home
last modified time | relevance | path

Searched refs:expectedLength (Results 1 – 6 of 6) sorted by relevance

/libcore/dom/src/test/java/org/w3c/domts/level1/core/
Dnodechildnodesappendchild.java65 int expectedLength; in runTest() local
71 expectedLength = (int) childList.getLength(); in runTest()
72 expectedLength += 1; in runTest()
76 assertEquals("childNodeLength", expectedLength, length); in runTest()
/libcore/luni/src/test/java/libcore/java/util/
DStringJoinerTest.java50 int expectedLength = 2 /* prefix and postfix */ in testAddString() local
53 assertEquals(expectedLength, sj.length()); in testAddString()
63 int expectedLength = 2 /* prefix and postfix */ in testAddStringBuilder() local
66 assertEquals(expectedLength, sj.length()); in testAddStringBuilder()
/libcore/ojluni/src/test/java/io/InputStream/
DReadAllBytes.java60 int expectedLength = expectedBytes.length; in test() local
74 check(expectedLength == readBytes.length, in test()
75 "Expected length " + expectedLength + ", got " + readBytes.length); in test()
/libcore/ojluni/src/test/java/lang/String/
DSplit.java55 int expectedLength = limit < 1 ? 2 : limit; in testSplit_byDigit()
65 if (result.length != expectedLength) { in testSplit_byDigit()
79 if (expectedLength > 1) { // Check segment 2 in testSplit_byDigit()
/libcore/luni/src/test/java/libcore/java/util/zip/
DAbstractZipFileTest.java140 int expectedLength = 5; in testStoredEntrySize() local
142 byte[] buffer = new byte[expectedLength]; in testStoredEntrySize()
162 ze.setCompressedSize(expectedLength - 1); in testStoredEntrySize()
171 assertEquals(expectedLength, count); in testStoredEntrySize()
/libcore/ojluni/src/test/java/util/regex/
DRegExTest.java1620 int expectedLength = limit < 1 ? 2 : limit; in splitTest() local
1627 assertEquals(result.length, expectedLength); in splitTest()
1633 if (expectedLength > 1) { // Check segment 2 in splitTest()