ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/SemaphoreTest.java
(Generate patch)

Comparing jsr166/src/test/tck/SemaphoreTest.java (file contents):
Revision 1.24 by jsr166, Wed Aug 25 00:07:03 2010 UTC vs.
Revision 1.26 by jsr166, Tue Mar 15 19:47:07 2011 UTC

# Line 1 | Line 1
1   /*
2   * Written by Doug Lea with assistance from members of JCP JSR-166
3   * Expert Group and released to the public domain, as explained at
4 < * http://creativecommons.org/licenses/publicdomain
4 > * http://creativecommons.org/publicdomain/zero/1.0/
5   * Other contributors include Andrew Wright, Jeffrey Hayes,
6   * Pat Fisher, Mike Judd.
7   */
# Line 204 | Line 204 | public class SemaphoreTest extends JSR16
204  
205  
206      /**
207 <     *  A release in one thread enables a timed acquire in another thread
207 >     * A release in one thread enables a timed acquire in another thread
208       */
209      public void testTimedAcquireReleaseInDifferentThreads()
210          throws InterruptedException {
# Line 244 | Line 244 | public class SemaphoreTest extends JSR16
244      }
245  
246      /**
247 <     *  A waiting timed acquire blocks interruptibly
247 >     * A waiting timed acquire blocks interruptibly
248       */
249      public void testTryAcquire_InterruptedException()
250          throws InterruptedException {
# Line 667 | Line 667 | public class SemaphoreTest extends JSR16
667      }
668  
669      /**
670 <     *  A waiting tryAcquire blocks interruptibly
670 >     * A waiting tryAcquire blocks interruptibly
671       */
672      public void testTryAcquire_InterruptedException_fair()
673          throws InterruptedException {
# Line 684 | Line 684 | public class SemaphoreTest extends JSR16
684      }
685  
686      /**
687 <     *  A waiting tryAcquire(n) blocks interruptibly
687 >     * A waiting tryAcquire(n) blocks interruptibly
688       */
689      public void testTryAcquireN_InterruptedException_fair()
690          throws InterruptedException {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines