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

Comparing jsr166/src/test/tck/AbstractExecutorServiceTest.java (file contents):
Revision 1.29 by jsr166, Mon Oct 11 08:30:50 2010 UTC vs.
Revision 1.31 by jsr166, Sat May 28 22:33:35 2011 UTC

# Line 1 | Line 1
1   /*
2   * Written by Doug Lea with assistance from members of JCP JSR-166
3   * Expert Group and released to the public domain, as explained at
4 < * http://creativecommons.org/licenses/publicdomain
4 > * http://creativecommons.org/publicdomain/zero/1.0/
5   * Other contributors include Andrew Wright, Jeffrey Hayes,
6   * Pat Fisher, Mike Judd.
7   */
8  
9
9   import junit.framework.*;
10   import java.util.*;
11   import java.util.concurrent.*;
# Line 53 | Line 52 | public class AbstractExecutorServiceTest
52          assertTrue(task.done);
53      }
54  
56
55      /**
56       * Completed submit(callable) returns result
57       */
# Line 84 | Line 82 | public class AbstractExecutorServiceTest
82          assertSame(TEST_STRING, result);
83      }
84  
87
85      /**
86       * A submitted privileged action runs to completion
87       */
# Line 157 | Line 154 | public class AbstractExecutorServiceTest
154          } catch (NullPointerException success) {}
155      }
156  
160
157      /**
158       * submit(null callable) throws NPE
159       */
# Line 384 | Line 380 | public class AbstractExecutorServiceTest
380          }
381      }
382  
387
383      /**
384       * timed invokeAny(null) throws NPE
385       */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines