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

Diff of /jsr166/src/test/tck/AbstractQueuedSynchronizerTest.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3, Mon Dec 29 14:19:27 2003 UTC revision 1.4, Mon Dec 29 19:05:40 2003 UTC
# Line 119  Line 119 
119      }      }
120    
121      /**      /**
122       * trylock on an unlocked lock succeeds       * tryLock on an unlocked lock succeeds
123       */       */
124      public void testTryLock() {      public void testTryLock() {
125          Mutex rl = new Mutex();          Mutex rl = new Mutex();
# Line 158  Line 158 
158      }      }
159    
160      /**      /**
161       * timed trylock is interruptible.       * timed tryLock is interruptible.
162       */       */
163      public void testInterruptedException2() {      public void testInterruptedException2() {
164          final Mutex lock = new Mutex();          final Mutex lock = new Mutex();
# Line 181  Line 181 
181    
182    
183      /**      /**
184       * Trylock on a locked lock fails       * TryLock on a locked lock fails
185       */       */
186      public void testTryLockWhenLocked() {      public void testTryLockWhenLocked() {
187          final Mutex lock = new Mutex();          final Mutex lock = new Mutex();
# Line 201  Line 201 
201      }      }
202    
203      /**      /**
204       * Timed trylock on a locked lock times out       * Timed tryLock on a locked lock times out
205       */       */
206      public void testTryLock_Timeout() {      public void testTryLock_Timeout() {
207          final Mutex lock = new Mutex();          final Mutex lock = new Mutex();

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8