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.57 by jsr166, Fri Feb 27 21:43:18 2015 UTC vs.
Revision 1.59 by jsr166, Sun May 24 01:42:14 2015 UTC

# Line 22 | Line 22 | import junit.framework.TestSuite;
22  
23   public class ReentrantLockTest extends JSR166TestCase {
24      public static void main(String[] args) {
25 <        junit.textui.TestRunner.run(suite());
25 >        main(suite(), args);
26      }
27      public static Test suite() {
28          return new TestSuite(ReentrantLockTest.class);
# Line 424 | Line 424 | public class ReentrantLockTest extends J
424          }
425          for (int i = SIZE; i > 0; i--) {
426              lock.unlock();
427 <            assertEquals(i-1, lock.getHoldCount());
427 >            assertEquals(i - 1, lock.getHoldCount());
428          }
429      }
430  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines