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

Method SetUp

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

Source from the content-addressed store, hash-verified

433class TestBasicAuthHandler : public ::testing::Test {
434 public:
435 void SetUp() {
436 ASSERT_OK(MakeServer<AuthTestServer>(
437 &server_, &client_,
438 [](FlightServerOptions* options) {
439 options->auth_handler =
440 std::make_unique<TestServerBasicAuthHandler>("user", "p4ssw0rd");
441 return Status::OK();
442 },
443 [](FlightClientOptions* options) { return Status::OK(); }));
444 }
445
446 void TearDown() {
447 ASSERT_OK(client_->Close());

Callers

nothing calls this directly

Calls 1

OKFunction · 0.50

Tested by

no test coverage detected