[cvs] / jsr166 / src / test / tck / PriorityBlockingQueueTest.java Repository:
ViewVC logotype

Log of /jsr166/src/test/tck/PriorityBlockingQueueTest.java

Parent Directory Parent Directory


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

Revision 1.79 - (view) (download) (annotate) - [select for diffs]
Fri Aug 4 03:30:21 2017 UTC (4 months, 1 week ago) by jsr166
Branch: MAIN
CVS Tags: HEAD
Changes since 1.78: +1 -1 lines
Diff to previous 1.78
improve javadoc wording for testSerialization methods

Revision 1.78 - (view) (download) (annotate) - [select for diffs]
Mon May 29 22:44:27 2017 UTC (6 months, 2 weeks ago) by jsr166
Branch: MAIN
Changes since 1.77: +2 -2 lines
Diff to previous 1.77
more timeout handling rework; remove most uses of MEDIUM_DELAY_MS; randomize timeouts and TimeUnits; write out IAE and ISE

Revision 1.77 - (view) (download) (annotate) - [select for diffs]
Sun May 14 04:14:10 2017 UTC (7 months ago) by jsr166
Branch: MAIN
Changes since 1.76: +1 -1 lines
Diff to previous 1.76
improve testTimedOffer

Revision 1.76 - (view) (download) (annotate) - [select for diffs]
Sun May 14 01:30:34 2017 UTC (7 months ago) by jsr166
Branch: MAIN
Changes since 1.75: +8 -2 lines
Diff to previous 1.75
improve testInterruptedTimedPoll

Revision 1.75 - (view) (download) (annotate) - [select for diffs]
Sun May 14 00:48:20 2017 UTC (7 months ago) by jsr166
Branch: MAIN
Changes since 1.74: +8 -6 lines
Diff to previous 1.74
improve testInterruptedTimedPoll

Revision 1.74 - (view) (download) (annotate) - [select for diffs]
Sat May 13 22:49:01 2017 UTC (7 months ago) by jsr166
Branch: MAIN
Changes since 1.73: +1 -1 lines
Diff to previous 1.73
claw back some millis using assertThreadBlocks

Revision 1.73 - (view) (download) (annotate) - [select for diffs]
Sat May 13 21:43:51 2017 UTC (7 months ago) by jsr166
Branch: MAIN
Changes since 1.72: +2 -4 lines
Diff to previous 1.72
claw back some millis using assertThreadBlocks

Revision 1.72 - (view) (download) (annotate) - [select for diffs]
Sat Mar 25 21:41:10 2017 UTC (8 months, 2 weeks ago) by jsr166
Branch: MAIN
Changes since 1.71: +1 -1 lines
Diff to previous 1.71
use await(CountDownLatch) pervasively

Revision 1.71 - (view) (download) (annotate) - [select for diffs]
Sat Mar 11 18:20:47 2017 UTC (9 months ago) by jsr166
Branch: MAIN
Changes since 1.70: +1 -1 lines
Diff to previous 1.70
make some methods static as suggested by errorprone [MethodCanBeStatic]

Revision 1.70 - (view) (download) (annotate) - [select for diffs]
Tue Nov 22 16:48:36 2016 UTC (12 months, 3 weeks ago) by jsr166
Branch: MAIN
Changes since 1.69: +9 -1 lines
Diff to previous 1.69
use CollectionImplementation

Revision 1.69 - (view) (download) (annotate) - [select for diffs]
Sun Oct 16 20:44:18 2016 UTC (13 months, 4 weeks ago) by jsr166
Branch: MAIN
Changes since 1.68: +2 -1 lines
Diff to previous 1.68
improve populatedFoo methods

Revision 1.68 - (view) (download) (annotate) - [select for diffs]
Sat Aug 6 17:02:49 2016 UTC (16 months, 1 week ago) by jsr166
Branch: MAIN
Changes since 1.67: +1 -1 lines
Diff to previous 1.67
simplify calls to waitForThreadToEnterWaitState

Revision 1.67 - (view) (download) (annotate) - [select for diffs]
Wed Jun 1 16:08:04 2016 UTC (18 months, 1 week ago) by jsr166
Branch: MAIN
Changes since 1.66: +5 -2 lines
Diff to previous 1.66
8066070: PriorityQueue corrupted when adding non-Comparable

Revision 1.66 - (view) (download) (annotate) - [select for diffs]
Tue Oct 6 00:03:55 2015 UTC (2 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.65: +4 -6 lines
Diff to previous 1.65
improve testInterruptedTimedPoll

Revision 1.65 - (view) (download) (annotate) - [select for diffs]
Sun Oct 4 18:49:02 2015 UTC (2 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.64: +16 -16 lines
Diff to previous 1.64
PoolCleaning

Revision 1.64 - (view) (download) (annotate) - [select for diffs]
Sun May 24 01:42:14 2015 UTC (2 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.63: +1 -1 lines
Diff to previous 1.63
whitespace

Revision 1.63 - (view) (download) (annotate) - [select for diffs]
Sat May 23 00:53:08 2015 UTC (2 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.62: +9 -9 lines
Diff to previous 1.62
whitespace

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

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

Revision 1.60 - (view) (download) (annotate) - [select for diffs]
Sat Feb 28 20:13:46 2015 UTC (2 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.59: +1 -2 lines
Diff to previous 1.59
improve testAddNonComparable

Revision 1.59 - (view) (download) (annotate) - [select for diffs]
Sat Feb 28 19:59:23 2015 UTC (2 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.58: +11 -13 lines
Diff to previous 1.58
improve testRemainingCapacity

Revision 1.58 - (view) (download) (annotate) - [select for diffs]
Sat Jan 17 22:55:06 2015 UTC (2 years, 10 months ago) by jsr166
Branch: MAIN
Changes since 1.57: +10 -4 lines
Diff to previous 1.57
add more tests of exhausted iterators

Revision 1.57 - (view) (download) (annotate) - [select for diffs]
Wed Dec 31 20:17:39 2014 UTC (2 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.56: +5 -5 lines
Diff to previous 1.56
coding style

Revision 1.56 - (view) (download) (annotate) - [select for diffs]
Wed Dec 31 20:09:08 2014 UTC (2 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.55: +2 -2 lines
Diff to previous 1.55
whitespace

Revision 1.55 - (view) (download) (annotate) - [select for diffs]
Wed Dec 31 19:21:20 2014 UTC (2 years, 11 months ago) by jsr166
Branch: MAIN
Changes since 1.54: +1 -1 lines
Diff to previous 1.54
prefer do {} while (...); to while (...);

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

Revision 1.53 - (view) (download) (annotate) - [select for diffs]
Sun Nov 23 22:27:06 2014 UTC (3 years ago) by jsr166
Branch: MAIN
Changes since 1.52: +15 -0 lines
Diff to previous 1.52
add tests for contains(null), remove(null)

Revision 1.52 - (view) (download) (annotate) - [select for diffs]
Thu May 30 03:28:55 2013 UTC (4 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.51: +1 -1 lines
Diff to previous 1.51
prefer assertNotSame, assertNotNull to assertTrue

Revision 1.51 - (view) (download) (annotate) - [select for diffs]
Tue Feb 21 02:04:17 2012 UTC (5 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.50: +1 -1 lines
Diff to previous 1.50
slightly clearer javadoc

Revision 1.50 - (view) (download) (annotate) - [select for diffs]
Tue Feb 21 01:54:04 2012 UTC (5 years, 9 months ago) by jsr166
Branch: MAIN
Changes since 1.49: +1 -1 lines
Diff to previous 1.49
use third person in javadoc first sentence

Revision 1.49 - (view) (download) (annotate) - [select for diffs]
Sat Nov 26 05:42:14 2011 UTC (6 years ago) by jsr166
Branch: MAIN
Changes since 1.48: +2 -2 lines
Diff to previous 1.48
assertEquals argument order

Revision 1.48 - (view) (download) (annotate) - [select for diffs]
Sat Nov 26 05:19:17 2011 UTC (6 years ago) by jsr166
Branch: MAIN
Changes since 1.47: +4 -4 lines
Diff to previous 1.47
assertEquals argument order

Revision 1.47 - (view) (download) (annotate) - [select for diffs]
Fri Jul 15 18:49:31 2011 UTC (6 years, 5 months ago) by jsr166
Branch: MAIN
Changes since 1.46: +1 -22 lines
Diff to previous 1.46
Robust weak consistency for ArrayBlockingQueue iterators

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

Revision 1.45 - (view) (download) (annotate) - [select for diffs]
Mon May 30 22:43:20 2011 UTC (6 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.44: +21 -122 lines
Diff to previous 1.44
refactor more generic BlockingQueue tests into BlockingQueueTest.java

Revision 1.44 - (view) (download) (annotate) - [select for diffs]
Fri May 27 20:07:24 2011 UTC (6 years, 6 months ago) by jsr166
Branch: MAIN
Changes since 1.43: +37 -27 lines
Diff to previous 1.43
performance and robustness improvements to queue tests

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

Revision 1.42 - (view) (download) (annotate) - [select for diffs]
Thu Apr 14 22:55:08 2011 UTC (6 years, 8 months ago) by jsr166
Branch: MAIN
Changes since 1.41: +10 -10 lines
Diff to previous 1.41
whitespace

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

Revision 1.40 - (view) (download) (annotate) - [select for diffs]
Sun Nov 28 08:43:53 2010 UTC (7 years ago) by jsr166
Branch: MAIN
Changes since 1.39: +15 -8 lines
Diff to previous 1.39
update testInterruptedTimedPoll

Revision 1.39 - (view) (download) (annotate) - [select for diffs]
Thu Nov 18 20:21:53 2010 UTC (7 years ago) by jsr166
Branch: MAIN
Changes since 1.38: +9 -3 lines
Diff to previous 1.38
add more assertions to testRemoveElement

Revision 1.38 - (view) (download) (annotate) - [select for diffs]
Fri Nov 5 00:17:22 2010 UTC (7 years, 1 month ago) by jsr166
Branch: MAIN
Changes since 1.37: +6 -4 lines
Diff to previous 1.37
very small improvements to testToArray2

Revision 1.37 - (view) (download) (annotate) - [select for diffs]
Thu Nov 4 01:04:54 2010 UTC (7 years, 1 month ago) by jsr166
Branch: MAIN
Changes since 1.36: +3 -3 lines
Diff to previous 1.36
strengthen toArray tests

Revision 1.36 - (view) (download) (annotate) - [select for diffs]
Wed Nov 3 16:46:34 2010 UTC (7 years, 1 month ago) by jsr166
Branch: MAIN
Changes since 1.35: +3 -3 lines
Diff to previous 1.35
minor improvements to testToArray_BadArg

Revision 1.35 - (view) (download) (annotate) - [select for diffs]
Wed Nov 3 07:54:52 2010 UTC (7 years, 1 month ago) by jsr166
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34
fix javadoc of testToArray1_BadArg

Revision 1.34 - (view) (download) (annotate) - [select for diffs]
Thu Oct 28 22:20:47 2010 UTC (7 years, 1 month ago) by jsr166
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33
typo

Revision 1.33 - (view) (download) (annotate) - [select for diffs]
Thu Oct 28 17:57:26 2010 UTC (7 years, 1 month ago) by jsr166
Branch: MAIN
Changes since 1.32: +0 -16 lines
Diff to previous 1.32
refactor testTakeFromEmpty into BlockingQueueTest

Revision 1.32 - (view) (download) (annotate) - [select for diffs]
Tue Oct 19 00:43:49 2010 UTC (7 years, 1 month ago) by jsr166
Branch: MAIN
Changes since 1.31: +1 -1 lines
Diff to previous 1.31
whitespace

Revision 1.31 - (view) (download) (annotate) - [select for diffs]
Tue Oct 19 00:41:14 2010 UTC (7 years, 1 month ago) by jsr166
Branch: MAIN
Changes since 1.30: +1 -1 lines
Diff to previous 1.30
fix description of testDrainToN

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

Revision 1.29 - (view) (download) (annotate) - [select for diffs]
Wed Oct 6 07:49:23 2010 UTC (7 years, 2 months ago) by jsr166
Branch: MAIN
Changes since 1.28: +17 -25 lines
Diff to previous 1.28
start of a big refactoring, with only one test refactored: testTimedPollWithOffer

Revision 1.28 - (view) (download) (annotate) - [select for diffs]
Wed Sep 29 12:33:48 2010 UTC (7 years, 2 months ago) by dl
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27
Allow InterruptedException during initial checks in *TimedPollWithOffer

Revision 1.27 - (view) (download) (annotate) - [select for diffs]
Wed Aug 25 01:44:48 2010 UTC (7 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.26: +1 -0 lines
Diff to previous 1.26
whitespace

Revision 1.26 - (view) (download) (annotate) - [select for diffs]
Wed Aug 25 00:07:03 2010 UTC (7 years, 3 months ago) by jsr166
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25
whitespace

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

Revision 1.24 - (view) (download) (annotate) - [select for diffs]
Sun Nov 22 18:57:17 2009 UTC (8 years ago) by jsr166
Branch: MAIN
Changes since 1.23: +15 -19 lines
Diff to previous 1.23
use autoboxing judiciously for readability

Revision 1.23 - (view) (download) (annotate) - [select for diffs]
Sun Nov 22 00:17:37 2009 UTC (8 years ago) by jsr166
Branch: MAIN
Changes since 1.22: +7 -4 lines
Diff to previous 1.22
reduce scope of check for IE in testBlocking{Put,Take}*

Revision 1.22 - (view) (download) (annotate) - [select for diffs]
Sat Nov 21 22:00:46 2009 UTC (8 years ago) by jsr166
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21
reduce scope of check for IE in testTimedOffer*

Revision 1.21 - (view) (download) (annotate) - [select for diffs]
Sat Nov 21 21:00:34 2009 UTC (8 years ago) by jsr166
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20
reduce scope of check for IE in test*WithOffer*

Revision 1.20 - (view) (download) (annotate) - [select for diffs]
Sat Nov 21 19:11:53 2009 UTC (8 years ago) by jsr166
Branch: MAIN
Changes since 1.19: +1 -1 lines
Diff to previous 1.19
reduce scope of check for IE in testInterruptedTimedPoll*

Revision 1.19 - (view) (download) (annotate) - [select for diffs]
Sat Nov 21 10:25:05 2009 UTC (8 years ago) by jsr166
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18
improve exception handling

Revision 1.18 - (view) (download) (annotate) - [select for diffs]
Sat Nov 21 09:28:16 2009 UTC (8 years ago) by jsr166
Branch: MAIN
Changes since 1.17: +12 -15 lines
Diff to previous 1.17
improve exception handling

Revision 1.17 - (view) (download) (annotate) - [select for diffs]
Sat Nov 21 02:33:20 2009 UTC (8 years ago) by jsr166
Branch: MAIN
Changes since 1.16: +14 -13 lines
Diff to previous 1.16
import static TimeUnit.MILLISECONDS

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

Revision 1.15 - (view) (download) (annotate) - [select for diffs]
Sat Nov 21 00:04:40 2009 UTC (8 years ago) by jsr166
Branch: MAIN
Changes since 1.14: +180 -291 lines
Diff to previous 1.14
better exception handling

Revision 1.14 - (view) (download) (annotate) - [select for diffs]
Mon Nov 16 05:30:08 2009 UTC (8 years, 1 month ago) by jsr166
Branch: MAIN
Changes since 1.13: +18 -18 lines
Diff to previous 1.13
whitespace

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

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

Revision 1.11 - (view) (download) (annotate) - [select for diffs]
Sun Oct 31 14:55:14 2004 UTC (13 years, 1 month ago) by dl
Branch: MAIN
Changes since 1.10: +19 -5 lines
Diff to previous 1.10
Expand tests for clear and drainTo to check multiple invocations

Revision 1.10 - (view) (download) (annotate) - [select for diffs]
Wed Jan 7 01:13:50 2004 UTC (13 years, 11 months ago) by dl
Branch: MAIN
CVS Tags: JSR166_PFD
Changes since 1.9: +1 -1 lines
Diff to previous 1.9
Fixed drainTo tests

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

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

Revision 1.7 - (view) (download) (annotate) - [select for diffs]
Sun Oct 5 23:00:40 2003 UTC (14 years, 2 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: +148 -0 lines
Diff to previous 1.6
Added tests and documentation

Revision 1.6 - (view) (download) (annotate) - [select for diffs]
Thu Sep 25 11:02:41 2003 UTC (14 years, 2 months ago) by dl
Branch: MAIN
Changes since 1.5: +53 -56 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:08 2003 UTC (14 years, 2 months ago) by dl
Branch: MAIN
Changes since 1.4: +200 -67 lines
Diff to previous 1.4
Documentation scaffolding

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

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

Revision 1.2 - (view) (download) (annotate) - [select for diffs]
Sun Sep 7 20:39:11 2003 UTC (14 years, 3 months ago) by dl
Branch: MAIN
Changes since 1.1: +21 -1 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 (14 years, 3 months ago) by dl
Branch: MAIN
First check-in of tests to be in tck

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

Sort log by:

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8