446447448449450451452453
mapmap.put(-4, neg); assertEquals(mapmap, mm); } private void testNestedStruct(ThriftTest.Client testClient) throws TException { Xtruct2 in2 = testClient.testNest(XSTRUCT2); assertEquals(XSTRUCT2, in2); }
441442443444445446447448
467468469470471472473474
438439440441442443444445
621622623624625626627628629630631632633634635
assertEquals(out, in); /** * NESTED STRUCT TEST */ Xtruct2 out2 = new Xtruct2(); out2.byte_thing = (short)1; out2.struct_thing = out; out2.i32_thing = 5; Xtruct2 in2 = testClient.testNest(out2); in = in2.struct_thing; assertEquals(out2, in2); /** * MAP TEST
471472473474475476477478