commit | 9fdd56c5a8dcd2a78d400efe9da2d38ced62fa7d | [log] [tgz] |
---|---|---|
author | Marc R. Hoffmann <hoffmann@mountainminds.com> | Sun Feb 27 17:07:42 2011 +0000 |
committer | Marc R. Hoffmann <hoffmann@mountainminds.com> | Sun Feb 27 17:07:42 2011 +0000 |
tree | f0e95259f2aa3444977b95a728948c6a0c19f267 | |
parent | da5a2092f306a78d2197a30a99db6d10cfcf74f3 [diff] |
Improve test coverage.
diff --git a/org.jacoco.report.test/src/org/jacoco/report/internal/html/table/SortIndexTest.java b/org.jacoco.report.test/src/org/jacoco/report/internal/html/table/SortIndexTest.java index 0164377..1712b33 100644 --- a/org.jacoco.report.test/src/org/jacoco/report/internal/html/table/SortIndexTest.java +++ b/org.jacoco.report.test/src/org/jacoco/report/internal/html/table/SortIndexTest.java
@@ -58,6 +58,14 @@ } @Test + public void testIncreaseBuffer() { + index.init(createList(15)); + final List<Integer> list = createList(20); + index.init(list); + assertSequence(list); + } + + @Test public void testReverse() { final List<Integer> list = createList(57); Collections.reverse(list);