use of com.facebook.drift.protocol.TCompactProtocol in project presto by prestodb.
the class TestThriftResourceGroupInfo method testRoundTripSerializeTCompactProtocol.
@Test(dataProvider = "codecCombinations")
public void testRoundTripSerializeTCompactProtocol(ThriftCodec<ResourceGroupInfo> readCodec, ThriftCodec<ResourceGroupInfo> writeCodec) throws Exception {
ResourceGroupInfo groupInfo = getRoundTripSerialize(readCodec, writeCodec, TCompactProtocol::new);
assertSerde(groupInfo);
}
use of com.facebook.drift.protocol.TCompactProtocol in project presto by prestodb.
the class TestThriftClusterStats method testRoundTripSerializeTCompactProtocol.
@Test(dataProvider = "codecCombinations")
public void testRoundTripSerializeTCompactProtocol(ThriftCodec<ClusterStats> readCodec, ThriftCodec<ClusterStats> writeCodec) throws Exception {
ClusterStats clusterStats = getRoundTripSerialize(readCodec, writeCodec, TCompactProtocol::new);
assertSerde(clusterStats);
}
Aggregations