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

Comparing jsr166/src/test/tck/ReentrantLockTest.java (file contents):
Revision 1.14 by dl, Sun Dec 28 22:44:59 2003 UTC vs.
Revision 1.15 by dl, Mon Dec 29 19:05:40 2003 UTC

# Line 107 | Line 107 | public class ReentrantLockTest extends J
107      }
108  
109      /**
110 <     * trylock on an unlocked lock succeeds
110 >     * tryLock on an unlocked lock succeeds
111       */
112      public void testTryLock() {
113          ReentrantLock rl = new ReentrantLock();
# Line 209 | Line 209 | public class ReentrantLockTest extends J
209  
210  
211      /**
212 <     * timed trylock is interruptible.
212 >     * timed tryLock is interruptible.
213       */
214      public void testInterruptedException2() {
215          final ReentrantLock lock = new ReentrantLock();
# Line 232 | Line 232 | public class ReentrantLockTest extends J
232  
233  
234      /**
235 <     * Trylock on a locked lock fails
235 >     * TryLock on a locked lock fails
236       */
237      public void testTryLockWhenLocked() {
238          final ReentrantLock lock = new ReentrantLock();
# Line 252 | Line 252 | public class ReentrantLockTest extends J
252      }
253  
254      /**
255 <     * Timed trylock on a locked lock times out
255 >     * Timed tryLock on a locked lock times out
256       */
257      public void testTryLock_Timeout() {
258          final ReentrantLock lock = new ReentrantLock();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines