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

Comparing jsr166/src/test/tck/Collection8Test.java (file contents):
Revision 1.58 by jsr166, Fri Feb 22 19:27:47 2019 UTC vs.
Revision 1.60 by jsr166, Mon Dec 16 21:22:33 2019 UTC

# Line 413 | Line 413 | public class Collection8Test extends JSR
413              if (rnd.nextBoolean()) assertTrue(it.hasNext());
414              it.next();
415          }
416        Consumer alwaysThrows = e -> { throw new AssertionError(); };
416          // TODO: many more removal methods
417          if (rnd.nextBoolean()) {
418              for (Iterator z = c.iterator(); z.hasNext(); ) {
# Line 634 | Line 633 | public class Collection8Test extends JSR
633       */
634      public void testStreamForEach() throws Throwable {
635          final Collection c = impl.emptyCollection();
637        final AtomicLong count = new AtomicLong(0L);
636          final Object x = impl.makeElement(1);
637          final Object y = impl.makeElement(2);
638          final ArrayList found = new ArrayList();
# Line 692 | Line 690 | public class Collection8Test extends JSR
690       */
691      public void testForEach() throws Throwable {
692          final Collection c = impl.emptyCollection();
695        final AtomicLong count = new AtomicLong(0L);
693          final Object x = impl.makeElement(1);
694          final Object y = impl.makeElement(2);
695          final ArrayList found = new ArrayList();
# Line 928 | Line 925 | public class Collection8Test extends JSR
925          } catch (java.io.NotSerializableException acceptable) {}
926      }
927  
928 <    public void testReplaceAllIsNotStructuralModification() {
928 >    /**
929 >     * TODO: move out of limbo
930 >     * 8203662: remove increment of modCount from ArrayList and Vector replaceAll()
931 >     */
932 >    public void DISABLED_testReplaceAllIsNotStructuralModification() {
933          Collection c = impl.emptyCollection();
934          if (!(c instanceof List))
935              return;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines