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

Method SetUp

test/meminstance/MemInstanceTest.cpp:148–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146class MemCopyOverlapTest : public ::testing::Test {
147protected:
148 void SetUp() override {
149 WasmEdge::Configure Conf;
150 VMPtr = std::make_unique<VM::VM>(Conf);
151 ASSERT_TRUE(VMPtr->loadWasm(OverlapTestWasm));
152 ASSERT_TRUE(VMPtr->validate());
153 ASSERT_TRUE(VMPtr->instantiate());
154 }
155
156 VM::VM &vm() { return *VMPtr; }
157

Callers

nothing calls this directly

Calls 3

loadWasmMethod · 0.80
validateMethod · 0.45
instantiateMethod · 0.45

Tested by

no test coverage detected