[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.10, Wed Jan 7 20:49:53 2004 UTC revision 1.11, Thu Jan 8 01:29:46 2004 UTC
# Line 155  Line 155 
155      }      }
156    
157      /**      /**
158         * isQueued(null) throws NPE
159         */
160        public void testIsQueuedNPE() {
161            final Mutex lock = new Mutex();
162            try {
163                lock.isQueued(null);
164                shouldThrow();
165            } catch (NullPointerException success) {
166            }
167        }
168    
169        /**
170       * isQueued reports whether a thread is queued.       * isQueued reports whether a thread is queued.
171       */       */
172      public void testIsQueued() {      public void testIsQueued() {

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8