[cvs] / jsr166 / src / test / tck / ConcurrentSkipListSetTest.java Repository:
ViewVC logotype

Diff of /jsr166/src/test/tck/ConcurrentSkipListSetTest.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.21, Thu Apr 14 22:55:08 2011 UTC revision 1.22, Fri May 27 19:21:27 2011 UTC
# Line 269  Line 269 
269          assertNull(q.pollFirst());          assertNull(q.pollFirst());
270      }      }
271    
   
272      /**      /**
273       * remove(x) removes x and returns true if present       * remove(x) removes x and returns true if present
274       */       */
# Line 366  Line 365 
365          }          }
366      }      }
367    
   
   
368      /**      /**
369       * lower returns preceding element       * lower returns preceding element
370       */       */
# Line 509  Line 506 
506          assertFalse(it.hasNext());          assertFalse(it.hasNext());
507      }      }
508    
   
509      /**      /**
510       * toString contains toStrings of elements       * toString contains toStrings of elements
511       */       */
# Line 517  Line 513 
513          ConcurrentSkipListSet q = populatedSet(SIZE);          ConcurrentSkipListSet q = populatedSet(SIZE);
514          String s = q.toString();          String s = q.toString();
515          for (int i = 0; i < SIZE; ++i) {          for (int i = 0; i < SIZE; ++i) {
516              assertTrue(s.indexOf(String.valueOf(i)) >= 0);              assertTrue(s.contains(String.valueOf(i)));
517          }          }
518      }      }
519    

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8