| 55 | "expression string. For 'file' and 'checked', it's the file path."); |
| 56 | |
| 57 | ABSL_FLAG(bool, collect_coverage, false, "Whether to collect code coverage."); |
| 58 | |
| 59 | namespace { |
| 60 | |
| 61 | using ::cel::expr::conformance::test::TestCase; |
| 62 | using ::cel::expr::conformance::test::TestSuite; |
| 63 | using ::cel::test::CelExpressionSource; |
| 64 | using ::cel::test::CelTestContext; |
| 65 | using ::cel::test::CoverageIndex; |
| 66 | using ::cel::test::TestRunner; |
| 67 | using ::cel::expr::CheckedExpr; |
| 68 | using ::google::api::expr::runtime::CelExpressionBuilder; |
| 69 | |
| 70 | class CelTest : public testing::Test { |
| 71 | public: |
| 72 | explicit CelTest(std::shared_ptr<TestRunner> test_runner, |
| 73 | const TestCase& test_case) |
| 74 | : test_runner_(std::move(test_runner)), test_case_(test_case) {} |
| 75 | |
| 76 | void TestBody() override { test_runner_->RunTest(test_case_); } |
| 77 |
no outgoing calls
no test coverage detected