Ejemplo n.º 1
0
  public void test_all() {
    BaseHolder pkg = new BaseHolder();
    passer.pass_state(pkg);
    assertNotNull("passer returned null for state value", pkg.value);

    this.test_state(pkg.value);

    pkg.value = null;
    passer.pass_ops(pkg);
    assertNotNull("passer returned null for interface value", pkg.value);

    this.test_ops(pkg.value);

    this.test_exception(pkg.value);

    passer.pass_nil(pkg);

    assertNull("passer returned not null for null value", pkg.value);
  }