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

Function TEST_F

gpcontrib/gpcloud/test/s3key_reader_test.cpp:219–225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217}
218
219TEST_F(S3KeyReaderTest, OpenWithZeroChunk) {
220 S3Params params("s3://abc/def");
221
222 params.setNumOfChunks(0);
223
224 EXPECT_THROW(this->open(params), S3RuntimeError);
225}
226
227// Mock function object of fetchData
228// Precise control return value and content of data buffer.

Callers

nothing calls this directly

Calls 12

MockFetchDataClass · 0.85
S3FailedAfterRetryClass · 0.85
setNumOfChunksMethod · 0.80
getCurReadingChunkMethod · 0.80
getTransferredKeyLenMethod · 0.80
isSharedErrorMethod · 0.80
openMethod · 0.45
setKeySizeMethod · 0.45
setChunkSizeMethod · 0.45
readMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected