MCPcopy Create free account
hub / github.com/Snapchat/Valdi / TestModule2Factory

Class TestModule2Factory

valdi/test/integration/Runtime_tests.cpp:8792–8804  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8790class TestModuleFactory : public snap::valdi_core::ModuleFactory {
8791public:
8792 TestModuleFactory() = default;
8793 ~TestModuleFactory() override = default;
8794
8795 StringBox getModulePath() final {
8796 return STRING_LITERAL("my_module/src/TestModule");
8797 }
8798
8799 Value loadModule() final {
8800 return Value().setMapValue("CONSTANT", Value(21));
8801 }
8802};
8803
8804class TestModule2Factory : public snap::valdi_core::ModuleFactory {
8805public:
8806 TestModule2Factory() = default;
8807 ~TestModule2Factory() override = default;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected