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

Comparing jsr166/src/test/tck/FutureTaskTest.java (file contents):
Revision 1.41 by jsr166, Sun Feb 22 04:34:44 2015 UTC vs.
Revision 1.43 by jsr166, Sat Apr 25 04:55:30 2015 UTC

# Line 30 | Line 30 | import junit.framework.TestSuite;
30   public class FutureTaskTest extends JSR166TestCase {
31  
32      public static void main(String[] args) {
33 <        junit.textui.TestRunner.run(suite());
33 >        main(suite(), args);
34      }
35      public static Test suite() {
36          return new TestSuite(FutureTaskTest.class);
# Line 486 | Line 486 | public class FutureTaskTest extends JSR1
486          final PublicFutureTask task =
487              new PublicFutureTask(new Runnable() {
488                  public void run() {
489 +                    pleaseCancel.countDown();
490                      try {
490                        pleaseCancel.countDown();
491                          delay(LONG_DELAY_MS);
492                          threadShouldThrow();
493                      } catch (InterruptedException success) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines