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

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Thu Sep 5 21:46:35 2019 UTC (4 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.49: +1 -1 lines
Diff to previous 1.49
use consistent test method naming style

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Thu Sep 5 21:44:15 2019 UTC (4 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.48: +3 -7 lines
Diff to previous 1.48
testAwaitAdvanceInterruptibly_interruptible: rely on awaitTermination together with LONGER_DELAY_MS

Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Sun Aug 11 22:29:27 2019 UTC (4 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.47: +6 -2 lines
Diff to previous 1.47
more assertions; more interleavings

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Sun May 14 03:07:53 2017 UTC (6 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.46: +2 -1 lines
Diff to previous 1.46
improve testAwaitAdvanceInterruptibly_interruptible

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Sat May 13 23:05:02 2017 UTC (6 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.45: +5 -5 lines
Diff to previous 1.45
claw back some millis using assertThreadBlocks

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Sat Feb 18 15:05:55 2017 UTC (7 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.44: +10 -10 lines
Diff to previous 1.44
use default timeout of LONG_DELAY_MS with waitForThreadToEnterWaitState

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Wed Jan 4 06:09:58 2017 UTC (7 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.43: +8 -8 lines
Diff to previous 1.43
convert to Diamond

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Mon Oct 5 22:38:38 2015 UTC (8 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.42: +6 -6 lines
Diff to previous 1.42
bump up timeout

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Sun May 24 01:42:14 2015 UTC (8 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.41: +4 -4 lines
Diff to previous 1.41
whitespace

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Fri May 15 18:21:19 2015 UTC (8 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40
try/catch block scope hygiene

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Sat Apr 25 04:55:31 2015 UTC (9 years ago) by jsr166
Branch: MAIN
Changes since 1.39: +1 -1 lines
Diff to previous 1.39
improve main methods; respect system properties; actually fail if a test fails

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Wed Dec 31 19:05:43 2014 UTC (9 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.38: +6 -3 lines
Diff to previous 1.38
no wildcard imports

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Wed Dec 31 16:44:02 2014 UTC (9 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.37: +0 -2 lines
Diff to previous 1.37
remove unused imports

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Sat Nov 26 05:42:14 2011 UTC (12 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.36: +1 -1 lines
Diff to previous 1.36
assertEquals argument order

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Fri Nov 18 20:11:17 2011 UTC (12 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.35: +12 -0 lines
Diff to previous 1.35
testRegisterEmptySubPhaser: more assertions

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Wed Sep 21 12:33:56 2011 UTC (12 years, 7 months ago) by dl
Branch: MAIN
Changes since 1.34: +1 -2 lines
Diff to previous 1.34
Enable test case for multiple subphaser register/deregister

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Mon Jun 27 04:07:51 2011 UTC (12 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.33: +22 -6 lines
Diff to previous 1.33
add failing test XXXXtestRegisterEmptySubPhaser

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Wed Jun 22 07:46:57 2011 UTC (12 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.32: +113 -59 lines
Diff to previous 1.32
various test improvements

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Tue May 31 16:16:24 2011 UTC (12 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.31: +5 -5 lines
Diff to previous 1.31
use serialClone in serialization tests; update imports

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Tue Mar 15 19:47:07 2011 UTC (13 years, 1 month ago) by jsr166
Branch: MAIN
CVS Tags: release-1_7_0
Changes since 1.30: +1 -1 lines
Diff to previous 1.30
Update Creative Commons license URL in legal notices

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Mon Dec 13 07:44:16 2010 UTC (13 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.29: +5 -0 lines
Diff to previous 1.29
add testlets for bulkRegister(0)

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Fri Dec 3 23:55:55 2010 UTC (13 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.28: +47 -0 lines
Diff to previous 1.28
new test testAwaitAdvanceTieredPhaser (currently failing)

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Fri Dec 3 21:54:32 2010 UTC (13 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.27: +5 -6 lines
Diff to previous 1.27
remove unused unarrived arg to assertTerminated

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Fri Dec 3 02:09:40 2010 UTC (13 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.26: +1 -2 lines
Diff to previous 1.26
testAwaitAdvance6 small improvement

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Wed Dec 1 17:20:51 2010 UTC (13 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.25: +2 -1 lines
Diff to previous 1.25
Fix case of re-registering root; forceTermination spec

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Tue Nov 30 01:56:12 2010 UTC (13 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.24: +17 -18 lines
Diff to previous 1.24
more assertions, now that we have TERMINATION_BIT

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Mon Nov 29 15:47:29 2010 UTC (13 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.23: +6 -0 lines
Diff to previous 1.23
improve javadocs; strengthen getPhase spec; streamline waiting

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Sat Nov 27 16:47:05 2010 UTC (13 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22
Remove constraints on tiered deregistration

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Mon Nov 8 20:02:57 2010 UTC (13 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.21: +1 -1 lines
Diff to previous 1.21
whitespace

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Sun Nov 7 18:08:22 2010 UTC (13 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.20: +45 -17 lines
Diff to previous 1.20
improve maxParties tests

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Thu Oct 21 23:28:13 2010 UTC (13 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.19: +94 -32 lines
Diff to previous 1.19
Make "interrupt before/while waiting" tests more deterministic; fails deterministically with current Phaser implementation!

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Fri Oct 15 22:43:02 2010 UTC (13 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.18: +189 -112 lines
Diff to previous 1.18
add assertions; improve reliabililty and performance

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Tue Oct 12 06:19:44 2010 UTC (13 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.17: +29 -36 lines
Diff to previous 1.17
performance and reliability improvements

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Mon Oct 11 07:43:53 2010 UTC (13 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.16: +5 -5 lines
Diff to previous 1.16
testAwaitAdvance3 was not testing the assertion; move interrupt check into test thread

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Mon Oct 11 05:35:19 2010 UTC (13 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.15: +19 -7 lines
Diff to previous 1.15
optimize and prevent rare failure in testArriveAndAwaitAdvance2

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Sat Oct 9 19:30:35 2010 UTC (13 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.14: +1 -1 lines
Diff to previous 1.14
whitespace

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Thu Sep 16 00:52:49 2010 UTC (13 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.13: +5 -5 lines
Diff to previous 1.13
testcase hygiene: introduce CheckedRecursiveAction and CheckedRecursiveTask; eliminate almost all threadAssertXXX; use preferred junit conventions;narrow the scope of exception checking code; make sure test failures in non-junit threads produce proper stacktraces

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Wed Dec 2 19:02:37 2009 UTC (14 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.12: +1 -1 lines
Diff to previous 1.12
reduce delay in testArriveAndAwaitAdvance3

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Wed Dec 2 10:50:48 2009 UTC (14 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11
testArriveAndAwaitAdvance3

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Wed Dec 2 01:08:30 2009 UTC (14 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.10: +8 -13 lines
Diff to previous 1.10
Fix/simplify testArriveAndAwaitAdvance3

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Tue Dec 1 10:03:59 2009 UTC (14 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.9: +7 -7 lines
Diff to previous 1.9
avoid threadAssertXXX

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Thu Nov 26 15:42:15 2009 UTC (14 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.8: +9 -9 lines
Diff to previous 1.8
change access modifiers to allow access from multiple packages

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Sat Nov 21 20:58:45 2009 UTC (14 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.7: +7 -14 lines
Diff to previous 1.7
whitespace

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Wed Aug 5 00:48:28 2009 UTC (14 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.6: +56 -70 lines
Diff to previous 1.6
Ensure threads started by tests are join()ed; perf improvements

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Mon Aug 3 22:06:50 2009 UTC (14 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.5: +15 -29 lines
Diff to previous 1.5
remove calls to unexpectedException

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Mon Aug 3 20:33:57 2009 UTC (14 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.4: +45 -70 lines
Diff to previous 1.4
use checked runnables

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Sat Aug 1 22:09:13 2009 UTC (14 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.3: +4 -4 lines
Diff to previous 1.3
typo fixes

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Sat Aug 1 21:56:02 2009 UTC (14 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.2: +3 -3 lines
Diff to previous 1.2
javadoc cleanup

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Fri Jul 31 23:37:31 2009 UTC (14 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.1: +3 -3 lines
Diff to previous 1.1
whitespace

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Fri Jul 31 23:02:50 2009 UTC (14 years, 8 months ago) by dl
Branch: MAIN
Add new TCK tests for JDK7

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