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