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

Comparing jsr166/src/test/tck/ThreadTest.java (file contents):
Revision 1.4 by dl, Sat Sep 20 00:31:57 2003 UTC vs.
Revision 1.5 by dl, Sat Sep 20 18:20:08 2003 UTC

# Line 22 | Line 22 | public class ThreadTest extends JSR166Te
22          }
23      }
24      
25 +    /**
26 +     *
27 +     */
28      public void testGetAndSetUncaughtExceptionHandler() {
29          // these must be done all at once to avoid state
30          // dependencies across tests
# Line 35 | Line 38 | public class ThreadTest extends JSR166Te
38          assertEquals(tg, current.getUncaughtExceptionHandler());
39      }
40  
41 +    /**
42 +     *
43 +     */
44      public void testGetAndSetDefaultUncaughtExceptionHandler() {
45          assertEquals(null, Thread.getDefaultUncaughtExceptionHandler());
46          // failure due to securityException is OK.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines