Examples of unsetDef1()


Examples of thrift.test.Opt4.unsetDef1()

    assertEquals(true, x.isSetDef1());
    assertEquals(false, x.isSetDef2());

    Opt4 copy = new Opt4(x);
    assertEquals(true, copy.isSetDef1());
    copy.unsetDef1();
    assertEquals(false, copy.isSetDef1());
    assertEquals(true, x.isSetDef1());
  }

  public void testOpt30() throws Exception {
View Full Code Here

Examples of thrift.test.Opt80.unsetDef1()

    x.setDef1(3);
    assertEquals(true, x.isSetDef1());
    assertEquals(false, x.isSetDef2());

    Opt80 copy = new Opt80(x);
    copy.unsetDef1();
    assertEquals(false, copy.isSetDef1());
    assertEquals(true, x.isSetDef1());
  }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.