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

Method SetUp

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

Source from the content-addressed store, hash-verified

787class TestRejectServerMiddleware : public ::testing::Test {
788 public:
789 void SetUp() {
790 ASSERT_OK(MakeServer<AppMetadataTestServer>(
791 &server_, &client_,
792 [](FlightServerOptions* options) {
793 options->middleware.push_back(
794 {"reject", std::make_shared<RejectServerMiddlewareFactory>()});
795 return Status::OK();
796 },
797 [](FlightClientOptions* options) { return Status::OK(); }));
798 }
799
800 void TearDown() {
801 ASSERT_OK(client_->Close());

Callers

nothing calls this directly

Calls 2

push_backMethod · 0.80
OKFunction · 0.50

Tested by

no test coverage detected