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

Method TestDoGetFloats

cpp/src/arrow/flight/test_definitions.cc:251–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249 CheckDoGet(descr, expected_batches, check_endpoints);
250}
251void DataTest::TestDoGetFloats() {
252 auto descr = FlightDescriptor::Path({"examples", "floats"});
253 RecordBatchVector expected_batches;
254 ASSERT_OK(ExampleFloatBatches(&expected_batches));
255
256 auto check_endpoints = [](const std::vector<FlightEndpoint>& endpoints) {
257 // One endpoint in the example FlightInfo
258 ASSERT_EQ(1, endpoints.size());
259 ASSERT_EQ(Ticket{"ticket-floats-1"}, endpoints[0].ticket);
260 };
261
262 CheckDoGet(descr, expected_batches, check_endpoints);
263}
264void DataTest::TestDoGetDicts() {
265 auto descr = FlightDescriptor::Path({"examples", "dicts"});
266 RecordBatchVector expected_batches;

Callers

nothing calls this directly

Calls 3

ExampleFloatBatchesFunction · 0.85
PathFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected