Package thrift.test

Examples of thrift.test.Opt80


    assertEquals(true, x.isSetDef64());
    assertEquals(false, x.isSetDef63());
  }

  public void testOpt80() throws Exception {
    Opt80 x = new Opt80();
    assertEquals(false, x.isSetDef1());
    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

Related Classes of thrift.test.Opt80

Copyright © 2018 www.massapicom. 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.