| 236 | } |
| 237 | |
| 238 | void DataTest::TestDoGetInts() { |
| 239 | auto descr = FlightDescriptor::Path({"examples", "ints"}); |
| 240 | RecordBatchVector expected_batches; |
| 241 | ASSERT_OK(ExampleIntBatches(&expected_batches)); |
| 242 | |
| 243 | auto check_endpoints = [](const std::vector<FlightEndpoint>& endpoints) { |
| 244 | // Two endpoints in the example FlightInfo |
| 245 | ASSERT_EQ(2, endpoints.size()); |
| 246 | ASSERT_EQ(Ticket{"ticket-ints-1"}, endpoints[0].ticket); |
| 247 | }; |
| 248 | |
| 249 | CheckDoGet(descr, expected_batches, check_endpoints); |
| 250 | } |
| 251 | void DataTest::TestDoGetFloats() { |
| 252 | auto descr = FlightDescriptor::Path({"examples", "floats"}); |
| 253 | RecordBatchVector expected_batches; |
nothing calls this directly
no test coverage detected