ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/ReentrantLockTest.java
Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Sat May 7 19:03:26 2011 UTC (13 years ago) by jsr166
Branch: MAIN
CVS Tags: release-1_7_0
Changes since 1.44: +292 -193 lines
Diff to previous 1.44
Improve ReentrantLock and ReentrantReadWriteLock tests

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Sat May 7 03:40:45 2011 UTC (13 years ago) by jsr166
Branch: MAIN
Changes since 1.43: +36 -6 lines
Diff to previous 1.43
improve testAwait_*

Revision 1.43 - (view) (download) (annotate) - [select for diffs]
Sat May 7 03:36:23 2011 UTC (13 years ago) by jsr166
Branch: MAIN
Changes since 1.42: +40 -3 lines
Diff to previous 1.42
improve testAwait_Interrupt

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Sat May 7 03:12:48 2011 UTC (13 years ago) by jsr166
Branch: MAIN
Changes since 1.41: +29 -42 lines
Diff to previous 1.41
use awaitTermination

Revision 1.41 - (view) (download) (annotate) - [select for diffs]
Sat May 7 02:51:33 2011 UTC (13 years ago) by jsr166
Branch: MAIN
Changes since 1.40: +19 -35 lines
Diff to previous 1.40
use newStartedThread

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Fri May 6 11:22:07 2011 UTC (13 years ago) by dl
Branch: MAIN
Changes since 1.39: +42 -42 lines
Diff to previous 1.39
Add/use delay() instead of Thread.sleep to ensure sleeps are long enough

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

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

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Thu Sep 16 00:52:49 2010 UTC (13 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.36: +14 -14 lines
Diff to previous 1.36
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.36 - (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.35: +1 -1 lines
Diff to previous 1.35
whitespace

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Tue Dec 1 23:16:23 2009 UTC (14 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.34: +1 -1 lines
Diff to previous 1.34
whitespace

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Tue Dec 1 09:48:12 2009 UTC (14 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.33: +0 -2 lines
Diff to previous 1.33
whitespace

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Tue Dec 1 06:03:49 2009 UTC (14 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.32: +1 -1 lines
Diff to previous 1.32
Use MILLISECONDS.toNanos instead of multiplying by 1000*1000; use explicit assertEquals instead of assertTrue(...!= null); improve testPutWithTake

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Mon Nov 30 08:31:09 2009 UTC (14 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.31: +3 -1 lines
Diff to previous 1.31
replace absolute waits with _DELAY_MS; 1000 => 1000L; short delay after starting a thread before interrupting it

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Sat Nov 21 02:33:20 2009 UTC (14 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.30: +4 -3 lines
Diff to previous 1.30
import static TimeUnit.MILLISECONDS

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

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Tue Nov 17 13:31:53 2009 UTC (14 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.28: +427 -678 lines
Diff to previous 1.28
cleanup exception handling

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

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

Revision 1.26 - (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.25: +70 -70 lines
Diff to previous 1.25
whitespace

Revision 1.25 - (view) (download) (annotate) - [select for diffs]
Thu May 18 10:29:23 2006 UTC (18 years ago) by dl
Branch: MAIN
Changes since 1.24: +1 -0 lines
Diff to previous 1.24
Add sleeps after interrupts to force ordering

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Fri Feb 24 00:03:16 2006 UTC (18 years, 2 months ago) by dl
Branch: MAIN
Changes since 1.23: +1 -0 lines
Diff to previous 1.23
Make Interruptible locking tests obey delay conventions

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Sun Aug 14 15:25:22 2005 UTC (18 years, 9 months ago) by dl
Branch: MAIN
Changes since 1.22: +55 -0 lines
Diff to previous 1.22
Add reentrancy test for await

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Tue May 3 16:02:00 2005 UTC (19 years ago) by dl
Branch: MAIN
Changes since 1.21: +46 -19 lines
Diff to previous 1.21
Fix some asserts and awaitUninterruptibly tests

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Mon May 2 19:20:00 2005 UTC (19 years ago) by dl
Branch: MAIN
Changes since 1.20: +1 -1 lines
Diff to previous 1.20
Fix sawit test

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Sun Dec 5 21:56:41 2004 UTC (19 years, 5 months ago) by dl
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19
Weaken overly strong assert for timeout tests

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Sun Jan 25 13:25:28 2004 UTC (20 years, 3 months ago) by dl
Branch: MAIN
CVS Tags: JSR166_PFD
Changes since 1.18: +47 -0 lines
Diff to previous 1.18
test hasQueuedThread

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Sat Jan 10 01:41:59 2004 UTC (20 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.17: +12 -0 lines
Diff to previous 1.17
Test toString

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Wed Jan 7 20:49:53 2004 UTC (20 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.16: +1 -1 lines
Diff to previous 1.16
Add tests

Revision 1.16 - (view) (download) (annotate) - [select for diffs]
Wed Jan 7 01:02:17 2004 UTC (20 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.15: +29 -0 lines
Diff to previous 1.15
Added and fised testcases

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

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Sun Dec 28 22:44:59 2003 UTC (20 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.13: +44 -0 lines
Diff to previous 1.13
test for throws of NullPointerExceptions

Revision 1.13 - (view) (download) (annotate) - [select for diffs]
Sun Dec 28 21:56:18 2003 UTC (20 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.12: +212 -17 lines
Diff to previous 1.12
Add tests for AQS extensions; adjust others for protected condition methods

Revision 1.12 - (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.11: +5 -4 lines
Diff to previous 1.11
Headers reference Creative Commons

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Sat Dec 27 18:27:02 2003 UTC (20 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.10: +3 -76 lines
Diff to previous 1.10
Adjust protected method tests

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Sat Dec 27 14:16:33 2003 UTC (20 years, 4 months ago) by dl
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9
Adjust protected method test class

Revision 1.9 - (view) (download) (annotate) - [select for diffs]
Mon Nov 3 13:50:07 2003 UTC (20 years, 6 months ago) by dl
Branch: MAIN
CVS Tags: JSR166_DEC9_POST_ES_SUBMIT, JSR166_DEC9_PRE_ES_SUBMIT, JSR166_NOV3_FREEZE
Changes since 1.8: +10 -0 lines
Diff to previous 1.8
Merged FairSemaphore into Semaphore

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

Revision 1.7 - (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.6: +7 -7 lines
Diff to previous 1.6
improve tck javadocs; rename and add a few tests

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

Revision 1.5 - (view) (download) (annotate) - [select for diffs]
Sat Sep 20 00:31:57 2003 UTC (20 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.4: +286 -35 lines
Diff to previous 1.4
Added tests

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

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

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Sat Sep 6 19:36:05 2003 UTC (20 years, 8 months ago) by dl
Branch: MAIN
Changes since 1.1: +256 -1 lines
Diff to previous 1.1
Added 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) Links to release-1_7_0: (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