| 249 | CheckDoGet(descr, expected_batches, check_endpoints); |
| 250 | } |
| 251 | void 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 | } |
| 264 | void DataTest::TestDoGetDicts() { |
| 265 | auto descr = FlightDescriptor::Path({"examples", "dicts"}); |
| 266 | RecordBatchVector expected_batches; |
nothing calls this directly
no test coverage detected