()
| 112 | |
| 113 | // should pass -- catches E, but E thrown |
| 114 | public void testPass() { |
| 115 | try { |
| 116 | for (int i = 0; i < 1000; i++) |
| 117 | for (int j = i; j < 1000; j++) |
| 118 | throwsNothing(); |
| 119 | throw new Exception(); |
| 120 | } catch (Exception e) { |
| 121 | dontTriggerEmptyExceptionHandler(); |
| 122 | } |
| 123 | } |
| 124 | |
| 125 | // should pass -- catches E, but E thrown indirectly |
| 126 | public void testPass2() { |
nothing calls this directly
no test coverage detected