MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / TestContext

Method TestContext

test/llvm/LLVMcoreTest.cpp:64–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62 WasmEdge::SpecTestModule SpecTestMod;
63 WasmEdge::Configure Conf;
64 TestContext(const WasmEdge::Configure &C) : VM(C), Conf(C) {
65 VM.registerModule(SpecTestMod);
66 }
67 Expect<std::string> compile(const std::string &FileName) {
68 WasmEdge::Configure CopyConf = Conf;
69 WasmEdge::Loader::Loader Loader(Conf);

Callers

nothing calls this directly

Calls 1

registerModuleMethod · 0.45

Tested by

no test coverage detected