Parent Directory
|
Revision Log
|
Patch
| revision 1.36, Mon Aug 3 22:08:45 2009 UTC | revision 1.37, Tue Aug 4 00:23:18 2009 UTC | |
|---|---|---|
| # | Line 289 | Line 289 |
| 289 | * threadFail with message "should throw exception" | * threadFail with message "should throw exception" |
| 290 | */ | */ |
| 291 | public void threadShouldThrow() { | public void threadShouldThrow() { |
| try { | ||
| 292 | threadFailed = true; | threadFailed = true; |
| 293 | fail("should throw exception"); | fail("should throw exception"); |
| } catch (AssertionFailedError e) { | ||
| e.printStackTrace(); | ||
| throw e; | ||
| } | ||
| 294 | } | } |
| 295 | ||
| 296 | /** | /** |
|
||||||||
| Doug Lea | ViewVC Help |
| Powered by ViewVC 1.0.8 |