Searched refs:expectedLength (Results 1 – 6 of 6) sorted by relevance
65 int expectedLength; in runTest() local71 expectedLength = (int) childList.getLength(); in runTest()72 expectedLength += 1; in runTest()76 assertEquals("childNodeLength", expectedLength, length); in runTest()
50 int expectedLength = 2 /* prefix and postfix */ in testAddString() local53 assertEquals(expectedLength, sj.length()); in testAddString()63 int expectedLength = 2 /* prefix and postfix */ in testAddStringBuilder() local66 assertEquals(expectedLength, sj.length()); in testAddStringBuilder()
60 int expectedLength = expectedBytes.length; in test() local74 check(expectedLength == readBytes.length, in test()75 "Expected length " + expectedLength + ", got " + readBytes.length); in test()
55 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()
140 int expectedLength = 5; in testStoredEntrySize() local142 byte[] buffer = new byte[expectedLength]; in testStoredEntrySize()162 ze.setCompressedSize(expectedLength - 1); in testStoredEntrySize()171 assertEquals(expectedLength, count); in testStoredEntrySize()
1620 int expectedLength = limit < 1 ? 2 : limit; in splitTest() local1627 assertEquals(result.length, expectedLength); in splitTest()1633 if (expectedLength > 1) { // Check segment 2 in splitTest()