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.5 by dl, Thu Sep 25 11:02:41 2003 UTC vs.
Revision 1.7 by dl, Sat Dec 27 19:26:43 2003 UTC

# Line 1 | Line 1
1   /*
2 < * Written by members of JCP JSR-166 Expert Group and released to the
3 < * public domain. Use, modify, and redistribute this code in any way
4 < * without acknowledgement. Other contributors include Andrew Wright,
5 < * Jeffrey Hayes, Pat Fischer, Mike Judd.
2 > * Written by Doug Lea with assistance from members of JCP JSR-166
3 > * Expert Group and released to the public domain, as explained at
4 > * http://creativecommons.org/licenses/publicdomain
5 > * Other contributors include Andrew Wright, Jeffrey Hayes,
6 > * Pat Fisher, Mike Judd.
7   */
8  
9   import junit.framework.*;
# Line 211 | Line 212 | public class LinkedListTest extends JSR1
212      }
213  
214      /**
215 <     *
215 >     * element returns next element, or throws NSEE if empty
216       */
217      public void testElement() {
218          LinkedList q = populatedQueue(SIZE);
# Line 227 | Line 228 | public class LinkedListTest extends JSR1
228      }
229  
230      /**
231 <     * element returns next element, or throws NSEE if empty
231 >     *  remove removes next element, or throws NSEE if empty
232       */
233      public void testRemove() {
234          LinkedList q = populatedQueue(SIZE);
# Line 316 | Line 317 | public class LinkedListTest extends JSR1
317      }
318  
319      /**
320 <     *  removeAll(c) removes only those elements of c and reports true if changed
320 >     * removeAll(c) removes only those elements of c and reports true if changed
321       */
322      public void testRemoveAll() {
323          for (int i = 1; i < SIZE; ++i) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines