MCPcopy Create free account
hub / github.com/explodingcamera/tinywasm / run_files

Method run_files

crates/tinywasm/tests/testsuite/mod.rs:63–69  ·  view source on GitHub ↗
(&mut self, tests: impl IntoIterator<Item = wasm_testsuite::data::TestFile<'a>>)

Source from the content-addressed store, hash-verified

61 }
62
63 pub fn run_files<'a>(&mut self, tests: impl IntoIterator<Item = wasm_testsuite::data::TestFile<'a>>) -> Result<()> {
64 self.runner.run_files(tests.into_iter().map(|file| RunnerTestFile {
65 name: file.name().to_string(),
66 parent: file.parent().to_string(),
67 contents: file.raw(),
68 }))
69 }
70
71 pub fn print_errors(&self) {
72 self.runner.print_errors();

Callers 15

mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls 4

mapMethod · 0.80
nameMethod · 0.80
parentMethod · 0.80
rawMethod · 0.45

Tested by

no test coverage detected