MCPcopy Create free account
hub / github.com/apache/cloudberry / TEST_F

Function TEST_F

gpcontrib/gpcloud/test/decompress_reader_test.cpp:91–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89};
90
91TEST_F(DecompressReaderTest, AbleToDecompressEmptyData) {
92 unsigned char input[10] = {0};
93 bufReader.setData(input, 0);
94
95 char buf[10000];
96 uint64_t count = decompressReader.read(buf, sizeof(buf));
97
98 EXPECT_EQ((uint64_t)0, count);
99}
100
101TEST_F(DecompressReaderTest, AbleToDecompressSmallCompressedData) {
102 // 1. compressed data to decompress

Callers

nothing calls this directly

Calls 4

setDataMethod · 0.45
readMethod · 0.45
setChunkSizeMethod · 0.45

Tested by

no test coverage detected