ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/FutureTaskTest.java
Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Wed Jan 27 01:57:24 2021 UTC (3 years, 3 months ago) by jsr166
Branch: MAIN
CVS Tags: HEAD
Changes since 1.57: +5 -6 lines
Diff to previous 1.57
use diamond <> pervasively

Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Tue Jan 26 13:33:06 2021 UTC (3 years, 3 months ago) by dl
Branch: MAIN
Changes since 1.56: +13 -13 lines
Diff to previous 1.56
Replace Integer with Item class

Revision 1.56 - (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.55: +2 -2 lines
Diff to previous 1.55
use consistent test method naming style

Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Thu Sep 5 21:37:25 2019 UTC (4 years, 7 months ago) by jsr166
Branch: MAIN
Changes since 1.54: +2 -5 lines
Diff to previous 1.54
testTimedGet_interruptible: rely on awaitTermination together with LONGER_DELAY_MS

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

Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Sun Jul 22 22:13:55 2018 UTC (5 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.52: +1 -1 lines
Diff to previous 1.52
use standard variable name "success" in catch clauses

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Sun Jul 22 21:04:56 2018 UTC (5 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.51: +10 -4 lines
Diff to previous 1.51
Fix errorprone warning [AssertionFailureIgnored]

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Sun Jan 7 22:59:18 2018 UTC (6 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.50: +4 -4 lines
Diff to previous 1.50
use <>

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Wed Nov 8 02:21:43 2017 UTC (6 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.49: +3 -3 lines
Diff to previous 1.49
rollback: better exception handling

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Sun Oct 22 01:26:49 2017 UTC (6 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.48: +2 -2 lines
Diff to previous 1.48
take errorprone [AssertionFailureIgnored] advice

Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Sat Oct 21 06:50:25 2017 UTC (6 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.47: +1 -1 lines
Diff to previous 1.47
better exception handling

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Wed Aug 16 17:18:34 2017 UTC (6 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.46: +41 -0 lines
Diff to previous 1.46
8186265: Make toString() methods of "task" objects more useful

Revision 1.46 - (view) (download) (annotate) - [select for diffs]
Mon May 29 19:15:02 2017 UTC (6 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.45: +3 -6 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]
Sun May 14 00:56:43 2017 UTC (6 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.44: +1 -0 lines
Diff to previous 1.44
add interrupt status assertions

Revision 1.44 - (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.43: +3 -3 lines
Diff to previous 1.43
whitespace

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

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Sat Feb 28 18:18:56 2015 UTC (9 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.41: +1 -1 lines
Diff to previous 1.41
narrow scope of try-catch

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Sun Feb 22 04:34:44 2015 UTC (9 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.40: +1 -1 lines
Diff to previous 1.40
unused variable cleanup

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

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Fri Aug 22 03:30:56 2014 UTC (9 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.38: +30 -2 lines
Diff to previous 1.38
Fix underflow when timeout = Long.MIN_VALUE

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Wed Jun 19 05:54:45 2013 UTC (10 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.37: +3 -4 lines
Diff to previous 1.37
improve testCancelInterrupt_taskFails

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Sun Apr 21 06:54:11 2013 UTC (11 years ago) by jsr166
Branch: MAIN
Changes since 1.36: +26 -6 lines
Diff to previous 1.36
fix rare failure in testTimedGet_Cancellation_interrupt

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Sun Apr 21 06:26:43 2013 UTC (11 years ago) by jsr166
Branch: MAIN
Changes since 1.35: +40 -36 lines
Diff to previous 1.35
split testTimedGet_Cancellation into two

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Mon Jan 14 21:54:42 2013 UTC (11 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.34: +5 -1 lines
Diff to previous 1.34
fix javac [finally] warning, while adding assertions

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Sat Dec 29 19:07:32 2012 UTC (11 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.33: +0 -1 lines
Diff to previous 1.33
remove unused import

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Thu Dec 20 04:58:53 2012 UTC (11 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.32: +17 -18 lines
Diff to previous 1.32
improve testCancelInterrupt_ThrowsSecurityException

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Sun Dec 16 18:52:27 2012 UTC (11 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.31: +59 -2 lines
Diff to previous 1.31
cancel(true) should take possible SecurityException on interrupt() into account

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Sat Dec 15 21:50:30 2012 UTC (11 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.30: +4 -4 lines
Diff to previous 1.30
whitespace

Revision 1.30 - (view) (download) (annotate) - [select for diffs]
Sat Dec 15 21:48:32 2012 UTC (11 years, 4 months ago) by jsr166
Branch: MAIN
Changes since 1.29: +4 -4 lines
Diff to previous 1.29
add some @Overrides

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Mon Jun 20 04:31:59 2011 UTC (12 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.28: +429 -214 lines
Diff to previous 1.28
various test coverage improvements

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Sat Jun 18 14:31:51 2011 UTC (12 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.27: +3 -3 lines
Diff to previous 1.27
standardize handling of awaitTermination

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Sat Jun 18 14:16:42 2011 UTC (12 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.26: +0 -3 lines
Diff to previous 1.26
whitespace

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Tue May 31 16:16:23 2011 UTC (12 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.25: +7 -1 lines
Diff to previous 1.25
use serialClone in serialization tests; update imports

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Fri May 6 11:22:07 2011 UTC (12 years, 11 months ago) by dl
Branch: MAIN
CVS Tags: release-1_7_0
Changes since 1.24: +2 -2 lines
Diff to previous 1.24
Add/use delay() instead of Thread.sleep to ensure sleeps are long enough

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

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Fri Jan 7 07:46:26 2011 UTC (13 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.22: +71 -7 lines
Diff to previous 1.22
add two tests

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Sun Nov 28 20:20:00 2010 UTC (13 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.21: +169 -91 lines
Diff to previous 1.21
optimize; add more assertions

Revision 1.21 - (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.20: +3 -3 lines
Diff to previous 1.20
whitespace

Revision 1.20 - (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.19: +6 -4 lines
Diff to previous 1.19
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.19 - (view) (download) (annotate) - [select for diffs]
Wed Aug 25 00:07:03 2010 UTC (13 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.18: +1 -1 lines
Diff to previous 1.18
whitespace

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Tue Dec 1 09:56:28 2009 UTC (14 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.17: +1 -1 lines
Diff to previous 1.17
use stricter assertions, e.g. assertSame

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Sat Nov 21 10:25:05 2009 UTC (14 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.16: +6 -6 lines
Diff to previous 1.16
improve exception handling

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Sat Nov 21 02:07:26 2009 UTC (14 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.15: +54 -54 lines
Diff to previous 1.15
untabify

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Fri Nov 20 00:58:01 2009 UTC (14 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.14: +155 -269 lines
Diff to previous 1.14
better exception handling

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Mon Nov 16 05:30:07 2009 UTC (14 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.13: +25 -25 lines
Diff to previous 1.13
whitespace

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Mon Nov 16 04:57:10 2009 UTC (14 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.12: +35 -35 lines
Diff to previous 1.12
whitespace

Revision 1.12 - (view) (download) (annotate) - [select for diffs]
Mon Nov 2 20:28:31 2009 UTC (14 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.11: +18 -18 lines
Diff to previous 1.11
whitespace

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Mon Dec 29 19:05:40 2003 UTC (20 years, 4 months ago) by dl
Branch: MAIN
CVS Tags: JSR166_PFD
Changes since 1.10: +1 -1 lines
Diff to previous 1.10
spellcheck

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Sat Dec 27 19:26:43 2003 UTC (20 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.9: +5 -4 lines
Diff to previous 1.9
Headers reference Creative Commons

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Mon Dec 22 16:25:38 2003 UTC (20 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.8: +6 -20 lines
Diff to previous 1.8
Add and improve tests

Revision 1.8 - (view) (download) (annotate) - [select for diffs]
Mon Dec 22 00:48:55 2003 UTC (20 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.7: +0 -10 lines
Diff to previous 1.7
Add and adjust tests reflecting API changes

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Fri Sep 26 15:33:13 2003 UTC (20 years, 7 months ago) by dl
Branch: MAIN
CVS Tags: JSR166_DEC9_POST_ES_SUBMIT, JSR166_DEC9_PRE_ES_SUBMIT, JSR166_NOV3_FREEZE
Changes since 1.6: +8 -8 lines
Diff to previous 1.6
Javadoc fixes

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Thu Sep 25 11:02:41 2003 UTC (20 years, 7 months ago) by dl
Branch: MAIN
Changes since 1.5: +60 -55 lines
Diff to previous 1.5
improve tck javadocs; rename and add a few tests

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Sat Sep 20 18:20:07 2003 UTC (20 years, 7 months ago) by dl
Branch: MAIN
Changes since 1.4: +158 -89 lines
Diff to previous 1.4
Documentation scaffolding

Revision 1.4 - (view) (download) (annotate) - [select for diffs]
Sun Sep 14 20:42:40 2003 UTC (20 years, 7 months ago) by dl
Branch: MAIN
Changes since 1.3: +100 -50 lines
Diff to previous 1.3
New base class JSR166TestCase

Revision 1.3 - (view) (download) (annotate) - [select for diffs]
Fri Sep 12 15:40:25 2003 UTC (20 years, 7 months ago) by dl
Branch: MAIN
Changes since 1.2: +18 -0 lines
Diff to previous 1.2
test for null runnables

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Sun Sep 7 20:39:11 2003 UTC (20 years, 7 months ago) by dl
Branch: MAIN
Changes since 1.1: +14 -14 lines
Diff to previous 1.1
Added serialization and lock tests

Revision 1.1 - (view) (download) (annotate) - [select for diffs]
Sun Aug 31 19:24:55 2003 UTC (20 years, 8 months ago) by dl
Branch: MAIN
First check-in of tests to be in tck

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