()
| 293 | } |
| 294 | |
| 295 | public void testInterfaceMethodTakesStructPointer() { |
| 296 | final AnI obj = new AnI(); |
| 297 | S s = Testpkg.callS(obj); |
| 298 | String got = obj.stoString(s); |
| 299 | String want = s.string(); |
| 300 | assertEquals("Want AnI.StoString(s) to call s's String", want, got); |
| 301 | } |
| 302 | |
| 303 | public void testInterfaceMethodReturnsInt() { |
| 304 | final AnI obj = new AnI(); |