| 47 | WasmEdge_VMContext *VM; |
| 48 | WasmEdge_ModuleInstanceContext *TestModCxt; |
| 49 | TestContext(const WasmEdge::Configure &C) { |
| 50 | WasmEdge_ConfigureContext *ConfCxt = createConf(C); |
| 51 | VM = WasmEdge_VMCreate(ConfCxt, nullptr); |
| 52 | WasmEdge_ConfigureDelete(ConfCxt); |
| 53 | TestModCxt = createSpecTestModule(); |
| 54 | WasmEdge_VMRegisterModuleFromImport(VM, TestModCxt); |
| 55 | } |
| 56 | ~TestContext() { |
| 57 | WasmEdge_VMDelete(VM); |
| 58 | WasmEdge_ModuleInstanceDelete(TestModCxt); |
nothing calls this directly
no test coverage detected