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

Method testEmptyError

bind/java/SeqTest.java:561–577  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

559 }
560
561 public void testEmptyError() {
562 try {
563 Testpkg.emptyError();
564 fail("Empty error wasn't caught");
565 } catch (Exception e) {
566 }
567 EmptyErrorer empty = new EmptyErrorer() {
568 @Override public void emptyError() throws Exception {
569 throw new Exception("");
570 }
571 };
572 try {
573 Testpkg.callEmptyError(empty);
574 fail("Empty exception wasn't caught");
575 } catch (Exception e) {
576 }
577 }
578
579 public void testInitCaller() {
580 Testpkg.init();

Callers

nothing calls this directly

Calls 1

emptyErrorMethod · 0.80

Tested by

no test coverage detected