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

Comparing jsr166/src/test/tck/ExecutorsTest.java (file contents):
Revision 1.43 by jsr166, Wed Dec 31 19:05:42 2014 UTC vs.
Revision 1.45 by jsr166, Sat Apr 25 04:55:30 2015 UTC

# Line 28 | Line 28 | import junit.framework.TestSuite;
28  
29   public class ExecutorsTest extends JSR166TestCase {
30      public static void main(String[] args) {
31 <        junit.textui.TestRunner.run(suite());
31 >        main(suite(), args);
32      }
33      public static Test suite() {
34          return new TestSuite(ExecutorsTest.class);
# Line 285 | Line 285 | public class ExecutorsTest extends JSR16
285          for (final ExecutorService executor : executors) {
286              threads.add(newStartedThread(new CheckedRunnable() {
287                  public void realRun() {
288                    long startTime = System.nanoTime();
288                      Future future = executor.submit(sleeper);
289                      assertFutureTimesOut(future);
290                  }}));

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines