ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/LinkedListTest.java
(Generate patch)

Comparing jsr166/src/test/tck/LinkedListTest.java (file contents):
Revision 1.42 by jsr166, Mon Oct 17 00:56:11 2016 UTC vs.
Revision 1.43 by jsr166, Mon Nov 14 23:57:55 2016 UTC

# Line 28 | Line 28 | public class LinkedListTest extends JSR1
28              public boolean isConcurrent() { return false; }
29              public boolean permitsNulls() { return true; }
30          }
31 <        return newTestSuite(LinkedListTest.class,
32 <                            CollectionTest.testSuite(new Implementation()));
31 >        class SubListImplementation extends Implementation {
32 >            public Collection emptyCollection() {
33 >                return new LinkedList().subList(0, 0);
34 >            }
35 >        }
36 >        return newTestSuite(
37 >                LinkedListTest.class,
38 >                CollectionTest.testSuite(new Implementation()),
39 >                CollectionTest.testSuite(new SubListImplementation()));
40      }
41  
42      /**

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines