()
| 50 | |
| 51 | // should fail -- catches E, but E not thrown |
| 52 | public void testFail2() { |
| 53 | try { |
| 54 | for (int i = 0; i < 1000; i++) |
| 55 | for (int j = i; j < 1000; j++) |
| 56 | throwsNothing(); |
| 57 | throw new IOException(); |
| 58 | } catch (Exception e) { |
| 59 | dontTriggerEmptyExceptionHandler(); |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | // should fail -- catches E, but E not thrown |
| 64 | public void testFail3() { |
nothing calls this directly
no test coverage detected