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

Method SetUp

cpp/src/arrow/flight/flight_test.cc:412–421  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

410class TestAuthHandler : public ::testing::Test {
411 public:
412 void SetUp() {
413 ASSERT_OK(MakeServer<AuthTestServer>(
414 &server_, &client_,
415 [](FlightServerOptions* options) {
416 options->auth_handler =
417 std::make_unique<TestServerAuthHandler>("user", "p4ssw0rd");
418 return Status::OK();
419 },
420 [](FlightClientOptions* options) { return Status::OK(); }));
421 }
422
423 void TearDown() {
424 ASSERT_OK(client_->Close());

Callers

nothing calls this directly

Calls 1

OKFunction · 0.50

Tested by

no test coverage detected