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

Method TestDoGetInts

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

Source from the content-addressed store, hash-verified

236}
237
238void 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}
251void DataTest::TestDoGetFloats() {
252 auto descr = FlightDescriptor::Path({"examples", "floats"});
253 RecordBatchVector expected_batches;

Callers

nothing calls this directly

Calls 3

ExampleIntBatchesFunction · 0.85
PathFunction · 0.70
sizeMethod · 0.45

Tested by

no test coverage detected