CustomTestCompiler returns a TestRunnerOption which configures the test runner with a custom compiler.
(c compiler.Compiler)
| 462 | // CustomTestCompiler returns a TestRunnerOption which configures the test runner with |
| 463 | // a custom compiler. |
| 464 | func CustomTestCompiler(c compiler.Compiler) TestRunnerOption { |
| 465 | return func(tr *TestRunner) (*TestRunner, error) { |
| 466 | tr.Compiler = c |
| 467 | return tr, nil |
| 468 | } |
| 469 | } |
| 470 | |
| 471 | // FileDescriptorSet creates a Test Runner Option which adds a file descriptor set to the test |
| 472 | // runner. The file descriptor set is used to register proto messages in the global proto registry. |
no outgoing calls