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

Comparing jsr166/src/test/tck/JSR166TestCase.java (file contents):
Revision 1.17 by dl, Wed Jan 7 20:49:53 2004 UTC vs.
Revision 1.20 by dl, Sun Jan 11 23:20:21 2004 UTC

# Line 23 | Line 23 | import java.security.*;
23   * <ol>
24   *
25   * <li> All assertions in code running in generated threads must use
26 < * the forms {@link threadFail} , {@link threadAssertTrue} {@link
27 < * threadAssertEquals}, or {@link threadAssertNull}, (not
26 > * the forms {@link #threadFail} , {@link #threadAssertTrue} {@link
27 > * #threadAssertEquals}, or {@link #threadAssertNull}, (not
28   * <tt>fail</tt>, <tt>assertTrue</tt>, etc.) It is OK (but not
29   * particularly recommended) for other code to use these forms too.
30   * Only the most typically used JUnit assertion methods are defined
31   * this way, but enough to live with.</li>
32   *
33 < * <li> If you override {@link setUp} or {@link tearDown}, make sure
33 > * <li> If you override {@link #setUp} or {@link #tearDown}, make sure
34   * to invoke <tt>super.setUp</tt> and <tt>super.tearDown</tt> within
35   * them. These methods are used to clear and check for thread
36   * assertion failures.</li>
# Line 105 | Line 105 | public class JSR166TestCase extends Test
105          TestSuite suite = new TestSuite("JSR166 Unit Tests");
106          
107          suite.addTest(new TestSuite(AbstractExecutorServiceTest.class));
108 +        suite.addTest(new TestSuite(AbstractQueueTest.class));
109          suite.addTest(new TestSuite(AbstractQueuedSynchronizerTest.class));
110          suite.addTest(new TestSuite(ArrayBlockingQueueTest.class));
111          suite.addTest(new TestSuite(AtomicBooleanTest.class));
# Line 161 | Line 162 | public class JSR166TestCase extends Test
162       * be reimplemented to use for example a Property.
163       */
164      protected long getShortDelay() {
165 <        return 10;
165 >        return 25;
166      }
167  
168  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines