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

Function TEST

gpcontrib/gpcloud/test/s3conf_test.cpp:4–6  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2#include "gtest/gtest.h"
3
4TEST(Config, NonExistFile) {
5 EXPECT_THROW(InitConfig("s3://abc/a config=notexist/path/s3test.conf"), S3RuntimeError);
6}
7
8TEST(Config, Basic) {
9 S3Params params = InitConfig("s3://abc/a config=data/s3test.conf section=default");

Callers

nothing calls this directly

Calls 12

CheckEssentialConfigFunction · 0.85
getNumOfChunksMethod · 0.80
getLowSpeedLimitMethod · 0.80
getLowSpeedTimeMethod · 0.80
isDebugCurlMethod · 0.80
isAutoCompressMethod · 0.80
isVerifyCertMethod · 0.80
SectionExistMethod · 0.80
setCredMethod · 0.80
InitConfigFunction · 0.50
getChunkSizeMethod · 0.45
getKeySizeMethod · 0.45

Tested by

no test coverage detected