| 217 | } |
| 218 | |
| 219 | private class AnI implements I { |
| 220 | public void e() throws Exception { |
| 221 | throw new Exception("my exception from E"); |
| 222 | } |
| 223 | |
| 224 | boolean calledF; |
| 225 | public void f() { |
| 226 | calledF = true; |
| 227 | } |
| 228 | |
| 229 | public I i() { |
| 230 | return this; |
| 231 | } |
| 232 | |
| 233 | public S s() { |
| 234 | return Testpkg.new_(); |
| 235 | } |
| 236 | |
| 237 | public String stoString(S s) { |
| 238 | return s.string(); |
| 239 | } |
| 240 | |
| 241 | public long v() { |
| 242 | return 1234; |
| 243 | } |
| 244 | |
| 245 | public long ve() throws Exception { |
| 246 | throw new Exception("my exception from VE"); |
| 247 | } |
| 248 | |
| 249 | public String name; |
| 250 | |
| 251 | public String string() { |
| 252 | return name; |
| 253 | } |
| 254 | |
| 255 | } |
| 256 | |
| 257 | // TODO(hyangah): add tests for methods that take parameters. |
| 258 |
nothing calls this directly
no outgoing calls
no test coverage detected