# | 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 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |