| 155 | } |
| 156 | |
| 157 | void CheckErrorTestCases(const std::vector<FunctionTestCase>& error_cases) { |
| 158 | for (const FunctionTestCase& test_case : error_cases) { |
| 159 | ARROW_SCOPED_TRACE("func=", test_case.function_id.uri, "#", |
| 160 | test_case.function_id.name); |
| 161 | std::shared_ptr<Table> output_table; |
| 162 | ASSERT_OK_AND_ASSIGN(std::shared_ptr<acero::ExecPlan> plan, |
| 163 | PlanFromTestCase(test_case, &output_table)); |
| 164 | plan->StartProducing(); |
| 165 | ASSERT_FINISHES_AND_RAISES(Invalid, plan->finished()); |
| 166 | } |
| 167 | } |
| 168 | |
| 169 | template <typename ErrorMatcher> |
| 170 | void CheckNotYetImplementedTestCase(const FunctionTestCase& test_case, |
no test coverage detected