| 763 | namespace cel_conformance { |
| 764 | |
| 765 | absl::StatusOr<std::unique_ptr<ConformanceServiceInterface>> |
| 766 | NewConformanceService(const ConformanceServiceOptions& options) { |
| 767 | if (options.modern) { |
| 768 | return google::api::expr::runtime::ModernConformanceServiceImpl::Create( |
| 769 | options.optimize, options.recursive, options.select_optimization); |
| 770 | } else { |
| 771 | return google::api::expr::runtime::LegacyConformanceServiceImpl::Create( |
| 772 | options.optimize, options.recursive, options.select_optimization); |
| 773 | } |
| 774 | } |
| 775 | |
| 776 | } // namespace cel_conformance |
no outgoing calls
no test coverage detected