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

Comparing jsr166/src/test/tck/CountDownLatchTest.java (file contents):
Revision 1.4 by dl, Thu Sep 25 11:02:41 2003 UTC vs.
Revision 1.5 by dl, Sun Oct 5 23:00:40 2003 UTC

# Line 38 | Line 38 | public class CountDownLatchTest extends
38      }
39  
40      /**
41 <     * countDown has no effect when count is zero
41 >     * countDown decrements count when positive and has no effect when zero
42       */
43 <    public void testcountDown() {
43 >    public void testCountDown() {
44          final CountDownLatch l = new CountDownLatch(1);
45          assertEquals(1, l.getCount());
46          l.countDown();
# Line 112 | Line 112 | public class CountDownLatchTest extends
112      }
113      
114      /**
115 <     * await throws IE ig interrupted before counted down
115 >     * await throws IE if interrupted before counted down
116       */
117      public void testAwait_InterruptedException() {
118          final CountDownLatch l = new CountDownLatch(1);
# Line 136 | Line 136 | public class CountDownLatchTest extends
136      }
137  
138      /**
139 <     * timed await throws IE ig interrupted before counted down
139 >     * timed await throws IE if interrupted before counted down
140       */
141      public void testTimedAwait_InterruptedException() {
142          final CountDownLatch l = new CountDownLatch(1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines