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

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

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

revision 1.22, Tue Mar 15 19:47:06 2011 UTC revision 1.23, Fri May 27 19:26:42 2011 UTC
# Line 494  Line 494 
494          assertNull(q.peekLast());          assertNull(q.peekLast());
495      }      }
496    
   
497      /**      /**
498       * removeFirst() removes first element, or throws NSEE if empty       * removeFirst() removes first element, or throws NSEE if empty
499       */       */
# Line 797  Line 796 
796          }          }
797      }      }
798    
   
799      /**      /**
800       * toString() contains toStrings of elements       * toString() contains toStrings of elements
801       */       */
# Line 805  Line 803 
803          ArrayDeque q = populatedDeque(SIZE);          ArrayDeque q = populatedDeque(SIZE);
804          String s = q.toString();          String s = q.toString();
805          for (int i = 0; i < SIZE; ++i) {          for (int i = 0; i < SIZE; ++i) {
806              assertTrue(s.indexOf(String.valueOf(i)) >= 0);              assertTrue(s.contains(String.valueOf(i)));
807          }          }
808      }      }
809    

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

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8