TestInputActivationFactory updates the test runner with the provided activation factory. The activation factory is used to create a CEL activation from the provided variables.
(f ActivationFactory)
| 234 | // TestInputActivationFactory updates the test runner with the provided activation factory. |
| 235 | // The activation factory is used to create a CEL activation from the provided variables. |
| 236 | func TestInputActivationFactory(f ActivationFactory) TestRunnerOption { |
| 237 | return func(tr *TestRunner) (*TestRunner, error) { |
| 238 | tr.activationFactory = f |
| 239 | return tr, nil |
| 240 | } |
| 241 | } |
| 242 | |
| 243 | // TestSuiteParser is an interface for parsing a test suite: |
| 244 | // - ParseTextproto: Returns a cel.spec.expr.conformance.test.TestSuite message. |
nothing calls this directly
no outgoing calls
no test coverage detected