()
| 100 | // should fail -- try catch could throw either of two exceptions, catches E, |
| 101 | // but E not thrown |
| 102 | public void testFail6() { |
| 103 | try { |
| 104 | for (int i = 0; i < 1000; i++) |
| 105 | for (int j = i; j < 1000; j++) |
| 106 | throwsNothing(); |
| 107 | throwsTwoExceptions(); |
| 108 | } catch (Exception e) { |
| 109 | dontTriggerEmptyExceptionHandler(); |
| 110 | } |
| 111 | } |
| 112 | |
| 113 | // should pass -- catches E, but E thrown |
| 114 | public void testPass() { |
nothing calls this directly
no test coverage detected