MCPcopy Create free account
hub / github.com/SeaQL/FireDBG.for.Rust / test_names

Method test_names

parser/src/def/workspace.rs:141–152  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

139 }
140
141 pub fn test_names(&self) -> Vec<&str> {
142 self.packages
143 .iter()
144 .flat_map(|package| {
145 package
146 .tests
147 .iter()
148 .map(|test| test.name.as_str())
149 .collect::<Vec<_>>()
150 })
151 .collect()
152 }
153
154 pub fn example_names(&self) -> Vec<&str> {
155 self.packages

Callers

nothing calls this directly

Calls 2

iterMethod · 0.45
as_strMethod · 0.45

Tested by

no test coverage detected