LCOV - code coverage report
Current view: top level - source/extensions/wasm_runtime/null - config.cc (source / functions) Hit Total Coverage
Test: coverage.dat Lines: 1 2 50.0 %
Date: 2024-01-05 06:35:25 Functions: 1 2 50.0 %

          Line data    Source code
       1             : #include "envoy/registry/registry.h"
       2             : 
       3             : #include "source/extensions/common/wasm/wasm_runtime_factory.h"
       4             : 
       5             : #include "include/proxy-wasm/null.h"
       6             : 
       7             : namespace Envoy {
       8             : namespace Extensions {
       9             : namespace Common {
      10             : namespace Wasm {
      11             : 
      12             : class NullRuntimeFactory : public WasmRuntimeFactory {
      13             : public:
      14           0 :   WasmVmPtr createWasmVm() override { return proxy_wasm::createNullVm(); }
      15             : 
      16           2 :   std::string name() const override { return "envoy.wasm.runtime.null"; }
      17             : };
      18             : 
      19             : REGISTER_FACTORY(NullRuntimeFactory, WasmRuntimeFactory);
      20             : 
      21             : } // namespace Wasm
      22             : } // namespace Common
      23             : } // namespace Extensions
      24             : } // namespace Envoy

Generated by: LCOV version 1.15