# | Line 288 | Line 288 | public class JSR166TestCase extends Test | |
---|---|---|
288 | * threadFail with message "should throw exception" | |
289 | */ | |
290 | public void threadShouldThrow() { | |
291 | < | try { |
292 | < | threadFailed = true; |
293 | < | fail("should throw exception"); |
294 | < | } catch (AssertionFailedError e) { |
295 | < | e.printStackTrace(); |
296 | < | throw e; |
297 | < | } |
291 | > | try { |
292 | > | threadFailed = true; |
293 | > | fail("should throw exception"); |
294 | > | } catch (AssertionFailedError e) { |
295 | > | e.printStackTrace(); |
296 | > | throw e; |
297 | > | } |
298 | } | |
299 | ||
300 | /** |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |