MCPcopy Create free account
hub / github.com/ChromeDevTools/devtools-frontend / TEST

Function TEST

extensions/cxx_debugging/tests/WasmModule_test.cc:49–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47} // namespace
48
49TEST(WasmModuleTest, AddScript) {
50 llvm::Expected<std::unique_ptr<WasmModule>> module =
51 WasmModule::CreateFromFile("cxx_debugging/tests/inputs/hello.s.wasm");
52 ASSERT_TRUE(!!module);
53 EXPECT_TRUE((*module)->Valid());
54}
55
56TEST(WasmModuleTest, SourceScripts) {
57 auto module =

Callers

nothing calls this directly

Calls 13

MakeRangeFunction · 0.85
ValidMethod · 0.80
GetSourceScriptsMethod · 0.80
push_backMethod · 0.80
beginMethod · 0.80
GetVariablesInScopeMethod · 0.80
sizeMethod · 0.65
emptyMethod · 0.65

Tested by

no test coverage detected