MCPcopy Create free account
hub / github.com/golang/mobile / testInterfaceMethodTakesStructPointer

Method testInterfaceMethodTakesStructPointer

bind/java/SeqTest.java:295–301  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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();

Callers

nothing calls this directly

Calls 2

stoStringMethod · 0.95
stringMethod · 0.45

Tested by

no test coverage detected