Couple of breaks left to be fixed with tweaks to deleteRange and insertGap.
783/789 pass.
testIterator1AtThird(joe.collect.CircularArrayListTest$ListIteratorTests)
java.lang.AssertionError:
Expected: is <[0, 1, 2, 47, 3, 4, 5, 6, 7, 8, 9]>
got: <[0, 0, 1, 47, 3, 4, 5, 6, 7, 8, 9]>
at org.junit.Assert.assertThat(Assert.java:778)
at org.junit.Assert.assertThat(Assert.java:736)
at
joe.collect.CircularArrayListTest$ListIteratorTests.runListIteratorMidpointInser
tionTest(CircularArrayListTest.java:103)
at joe.collect.CircularArrayListTest$ListIteratorTests.testIterator1AtThird(CircularArrayListTest.java:76)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at junit.framework.TestCase.runTest(TestCase.java:168)
at junit.framework.TestCase.runBare(TestCase.java:134)
at junit.framework.TestResult$1.protect(TestResult.java:110)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at junit.framework.TestResult.run(TestResult.java:113)
at junit.framework.TestCase.run(TestCase.java:124)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:49)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
testIterator2AtThird(joe.collect.CircularArrayListTest$ListIteratorTests)
java.lang.AssertionError:
Expected: is <[0, 1, 2, 47, 47, 3, 4, 5, 6, 7, 8, 9]>
got: <[0, 0, 1, 47, 47, 3, 4, 5, 6, 7, 8, 9]>
at org.junit.Assert.assertThat(Assert.java:778)
at org.junit.Assert.assertThat(Assert.java:736)
at
joe.collect.CircularArrayListTest$ListIteratorTests.runListIteratorMidpointInser
tionTest(CircularArrayListTest.java:103)
at joe.collect.CircularArrayListTest$ListIteratorTests.testIterator2AtThird(CircularArrayListTest.java:80)
testIterator3AtThird(joe.collect.CircularArrayListTest$ListIteratorTests)
java.lang.AssertionError:
Expected: is <[0, 1, 2, 47, 47, 3, 4, 5, 6, 7, 8, 9]>
got: <[0, 0, 1, 47, 47, 3, 4, 5, 6, 7, 8, 9]>
at org.junit.Assert.assertThat(Assert.java:778)
at org.junit.Assert.assertThat(Assert.java:736)
at
joe.collect.CircularArrayListTest$ListIteratorTests.runListIteratorMidpointInser
tionTest(CircularArrayListTest.java:103)
at joe.collect.CircularArrayListTest$ListIteratorTests.testIterator3AtThird(CircularArrayListTest.java:84)
testIterator10AtThird(joe.collect.CircularArrayListTest$ListIteratorTests)
java.lang.AssertionError:
Expected: is <[0, 1, 2, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 3, 4, 5, 6, 7,
8, 9]>
got: <[0, 0, 1, 47, 47, 47, 47, 47, 47, 47, 47, 47, 47, 3, 4, 5, 6, 7, 8, 9]>
at org.junit.Assert.assertThat(Assert.java:778)
at org.junit.Assert.assertThat(Assert.java:736)
at
joe.collect.CircularArrayListTest$ListIteratorTests.runListIteratorMidpointInser
tionTest(CircularArrayListTest.java:103)
at joe.collect.CircularArrayListTest$ListIteratorTests.testIterator10AtThird(CircularArrayListTest.java:88)
CircularArrayList
CircularArrayList [collection size: several]
com.google.common.collect.testing.testers.ListAddAllAtIndexTester
testAddAllAtIndex_middle[CircularArrayList [collection size:
several]](com.google.common.collect.testing.testers.ListAddAllAtIndexTester)
java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at joe.collect.CircularArrayList.addAll(CircularArrayList.java:870)
at
com.google.common.collect.testing.testers.ListAddAllAtIndexTester.testAddAllAtIn
dex_middle(ListAddAllAtIndexTester.java:136)
CircularArrayList offset[1] [collection size: several]
com.google.common.collect.testing.testers.ListAddAllAtIndexTester
testAddAllAtIndex_middle[CircularArrayList offset[1] [collection size:
several]](com.google.common.collect.testing.testers.ListAddAllAtIndexTester)
java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at joe.collect.CircularArrayList.addAll(CircularArrayList.java:870)
at
com.google.common.collect.testing.testers.ListAddAllAtIndexTester.testAddAllAtIn
dex_middle(ListAddAllAtIndexTester.java:136)
Original issue reported on code.google.com by joe.j.kearney on 12 Apr 2010 at 6:39
Original issue reported on code.google.com by
joe.j.kearney
on 12 Apr 2010 at 6:39