ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/Collection8Test.java
Revision 1.61 - (view) (download) (annotate) - [select for diffs]
Tue Jan 26 13:33:05 2021 UTC (3 years, 3 months ago) by dl
Branch: MAIN
CVS Tags: HEAD
Changes since 1.60: +60 -59 lines
Diff to previous 1.60
Replace Integer with Item class

Revision 1.60 - (view) (download) (annotate) - [select for diffs]
Mon Dec 16 21:22:33 2019 UTC (4 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.59: +0 -3 lines
Diff to previous 1.59
removed unused locals

Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Tue Apr 30 00:50:31 2019 UTC (4 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.58: +5 -1 lines
Diff to previous 1.58
DISABLE testReplaceAllIsNotStructuralModification

Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Fri Feb 22 19:27:47 2019 UTC (5 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.57: +6 -30 lines
Diff to previous 1.57
improve assertThrows tests

Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Fri Jun 22 00:04:58 2018 UTC (5 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.56: +1 -1 lines
Diff to previous 1.56
sync upstream changes

Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Wed May 23 05:24:05 2018 UTC (5 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.55: +1 -1 lines
Diff to previous 1.55
8203662: remove increment of modCount from ArrayList and Vector replaceAll()

Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Tue May 22 15:51:31 2018 UTC (5 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.54: +1 -1 lines
Diff to previous 1.54
temporarily (?) revert to historic replaceAll modCount behavior

Revision 1.54 - (view) (download) (annotate) - [select for diffs]
Sun May 6 22:33:06 2018 UTC (5 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.53: +1 -0 lines
Diff to previous 1.53
testRemoveAfterForEachRemaining: add an assertion

Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Sun May 6 22:09:42 2018 UTC (5 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.52: +28 -9 lines
Diff to previous 1.52
Add tests for PriorityQueue with Comparator

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Sat May 5 18:29:53 2018 UTC (5 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.51: +19 -0 lines
Diff to previous 1.51
8202685: Improve ArrayList replaceAll

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Thu Apr 5 03:36:54 2018 UTC (6 years ago) by jsr166
Branch: MAIN
Changes since 1.50: +19 -13 lines
Diff to previous 1.50
better testing of collection copies

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Wed Apr 4 03:35:13 2018 UTC (6 years ago) by jsr166
Branch: MAIN
Changes since 1.49: +20 -0 lines
Diff to previous 1.49
add testObjectMethods

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Mon Mar 26 21:06:51 2018 UTC (6 years, 1 month ago) by jsr166
Branch: MAIN
Changes since 1.48: +4 -0 lines
Diff to previous 1.48
emptyMeansEmpty: more List assertions

Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Sat Mar 24 14:46:18 2018 UTC (6 years, 1 month ago) by jsr166
Branch: MAIN
Changes since 1.47: +27 -2 lines
Diff to previous 1.47
add assertions for List

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Mon Aug 21 20:12:36 2017 UTC (6 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.46: +3 -3 lines
Diff to previous 1.46
whitespace

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Mon May 29 19:15:02 2017 UTC (6 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.45: +3 -3 lines
Diff to previous 1.45
more timeout handling rework; remove most uses of SMALL_DELAY_MS; randomize timeouts and TimeUnits; remove hardcoded 5 second timeouts

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Mon Dec 26 19:54:46 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.44: +25 -0 lines
Diff to previous 1.44
rewrite spliterators to address 8172023: Concurrent spliterators fail to handle exhaustion properly

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Sun Dec 18 20:47:28 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.43: +1 -4 lines
Diff to previous 1.43
stop catching UOE

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Thu Dec 15 01:21:22 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.42: +0 -1 lines
Diff to previous 1.42
remove debugging print

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Mon Dec 12 20:49:34 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.41: +42 -0 lines
Diff to previous 1.41
add testForEachRemainingConsistentWithDefaultImplementation

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Mon Dec 12 03:50:15 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.40: +1 -1 lines
Diff to previous 1.40
testIteratorEquivalence -> testTraversalEquivalence

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Sun Dec 11 22:29:45 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.39: +16 -0 lines
Diff to previous 1.39
add testGetComparator_IllegalStateException

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Sun Dec 11 19:59:51 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.38: +103 -0 lines
Diff to previous 1.38
8171051: LinkedBlockingQueue spliterator needs to support node self-linking

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Wed Dec 7 22:03:41 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.37: +49 -11 lines
Diff to previous 1.37
testDetectRaces: more random frobbers

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Tue Nov 29 05:23:31 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.36: +1 -1 lines
Diff to previous 1.36
remove invalid assertion

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Mon Nov 28 17:59:47 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.35: +6 -2 lines
Diff to previous 1.35
testDetectRaces: refactor toArray tests

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Mon Nov 28 17:53:59 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.34: +1 -1 lines
Diff to previous 1.34
code clarity

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Mon Nov 28 17:44:26 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.33: +2 -1 lines
Diff to previous 1.33
run stress tests for LONG_DELAY_MS when expensiveTests

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Mon Nov 28 15:31:40 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.32: +8 -0 lines
Diff to previous 1.32
testIteratorEquivalence: add "strict prefix" spliterator test

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Mon Nov 28 03:30:28 2016 UTC (7 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.31: +18 -14 lines
Diff to previous 1.31
add stream and parallelStream tests

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Wed Nov 23 02:20:56 2016 UTC (7 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.30: +1 -0 lines
Diff to previous 1.30
bandaid to fix 4jdk8-tck

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Wed Nov 23 00:25:16 2016 UTC (7 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.29: +33 -0 lines
Diff to previous 1.29
add testLateBindingStyle

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Tue Nov 22 01:08:14 2016 UTC (7 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.28: +8 -0 lines
Diff to previous 1.28
testDetectRaces: add toArray calls

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Fri Nov 18 17:23:29 2016 UTC (7 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.27: +6 -6 lines
Diff to previous 1.27
use Remi's rule: use a method reference if you can and a lambda otherwise

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Tue Nov 15 23:08:30 2016 UTC (7 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.26: +5 -3 lines
Diff to previous 1.26
too early to use jdk9 APIs in tests

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Tue Nov 15 22:59:09 2016 UTC (7 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.25: +54 -18 lines
Diff to previous 1.25
spiffy testDetectRaces test detects races!

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Tue Nov 15 00:08:25 2016 UTC (7 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.24: +5 -2 lines
Diff to previous 1.24
add CopyOnWriteArrayList generic Collection tests

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Mon Nov 14 23:52:22 2016 UTC (7 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.23: +14 -3 lines
Diff to previous 1.23
add Vector subList tests

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Mon Nov 14 21:33:58 2016 UTC (7 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.22: +3 -1 lines
Diff to previous 1.22
testRemoveIf: enhanced debuggability

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Sun Nov 13 02:10:10 2016 UTC (7 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.21: +20 -3 lines
Diff to previous 1.21
Tolerate reentrant read access in removeIf

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Mon Nov 7 00:37:53 2016 UTC (7 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.20: +21 -13 lines
Diff to previous 1.20
Optimize Iterator.forEachRemaining, as in ArrayDeque

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Sun Nov 6 22:50:32 2016 UTC (7 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.19: +4 -4 lines
Diff to previous 1.19
elide unnecessary braces

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Sun Nov 6 22:42:10 2016 UTC (7 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.18: +8 -8 lines
Diff to previous 1.18
elide parens in unary lambdas

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Sun Nov 6 20:53:53 2016 UTC (7 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.17: +36 -12 lines
Diff to previous 1.17
improve testRemoveIf

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Sun Nov 6 18:51:53 2016 UTC (7 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.16: +0 -1 lines
Diff to previous 1.16
remove bogus assertion

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Sun Nov 6 05:45:09 2016 UTC (7 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.15: +4 -3 lines
Diff to previous 1.15
improve testNullPointerExceptions

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Sun Nov 6 04:15:45 2016 UTC (7 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.14: +17 -2 lines
Diff to previous 1.14
improve testNullPointerExceptions

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Sun Nov 6 03:35:25 2016 UTC (7 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.13: +43 -9 lines
Diff to previous 1.13
add BlockingQueue tests

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Sat Nov 5 19:56:46 2016 UTC (7 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.12: +13 -4 lines
Diff to previous 1.12
testIteratorEquivalence: add removeIf and tryAdvance tests

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Sat Nov 5 16:10:38 2016 UTC (7 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.11: +11 -0 lines
Diff to previous 1.11
test clones of empty collections

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Sat Nov 5 05:09:57 2016 UTC (7 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10
simplify

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Sat Nov 5 01:27:00 2016 UTC (7 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.9: +11 -0 lines
Diff to previous 1.9
testEmptyMeansEmpty: more assertions

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Thu Nov 3 16:53:13 2016 UTC (7 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.8: +3 -0 lines
Diff to previous 1.8
more assertions

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Thu Nov 3 15:31:25 2016 UTC (7 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.7: +2 -1 lines
Diff to previous 1.7
improve testRemoveIf

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Mon Oct 31 20:08:40 2016 UTC (7 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.6: +22 -19 lines
Diff to previous 1.6
testRemoveIf: better diagnostics on failure

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Sat Oct 29 22:47:55 2016 UTC (7 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.5: +6 -1 lines
Diff to previous 1.5
null actions should throw NPE even when nothing to do

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Tue Oct 25 01:32:55 2016 UTC (7 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.4: +248 -0 lines
Diff to previous 1.4
fix 4jdk7-test ant target

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Mon Oct 17 01:55:48 2016 UTC (7 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.3: +3 -1 lines
Diff to previous 1.3
debuggability

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Sun Oct 9 05:25:09 2016 UTC (7 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.2: +60 -2 lines
Diff to previous 1.2
add tests for Collection#forEach

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Mon Feb 22 19:43:54 2016 UTC (8 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.1: +22 -18 lines
Diff to previous 1.1
improve testForEachConcurrentStressTest

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Sun Jun 14 20:58:14 2015 UTC (8 years, 10 months ago) by jsr166
Branch: MAIN
add support for parameterized test execution; add support for automatically executing jdk8+ tests; add tests for JDK-8085978

Convenience Links

Links to HEAD: (view) (download) (annotate)

Compare Revisions

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a