MCPcopy Create free account
hub / github.com/apache/arrow / SetUp

Method SetUp

cpp/src/arrow/filesystem/s3fs_test.cc:168–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166class AwsTestMixin : public ::testing::Test {
167 public:
168 void SetUp() override {
169#ifdef AWS_CPP_SDK_S3_PRIVATE_STATIC
170 auto aws_log_level = Aws::Utils::Logging::LogLevel::Fatal;
171 aws_options_.loggingOptions.logLevel = aws_log_level;
172 aws_options_.loggingOptions.logger_create_fn = [&aws_log_level] {
173 return std::make_shared<Aws::Utils::Logging::ConsoleLogSystem>(aws_log_level);
174 };
175 Aws::InitAPI(aws_options_);
176#endif
177 }
178
179 void TearDown() override {
180#ifdef AWS_CPP_SDK_S3_PRIVATE_STATIC

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected