Package thrift.test

Examples of thrift.test.TupleProtocolTestStruct


  protected TProtocolFactory getFactory() {
    return new TTupleProtocol.Factory();
  }

  public void testBitsetLengthIssue() throws Exception {
    final TupleProtocolTestStruct t1 = new TupleProtocolTestStruct();
    t1.setField1(0);
    t1.setField2(12);
    new TDeserializer(new TTupleProtocol.Factory()).deserialize(new TupleProtocolTestStruct(), new TSerializer(new TTupleProtocol.Factory()).serialize(t1));
  }
View Full Code Here

TOP

Related Classes of thrift.test.TupleProtocolTestStruct

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.