()
| 180 | |
| 181 | #[tokio::test] |
| 182 | async fn parse_example_without_workspace() -> anyhow::Result<()> { |
| 183 | run_workspace_parsing( |
| 184 | concat!( |
| 185 | env!("CARGO_MANIFEST_DIR"), |
| 186 | "/tests/example-without-workspace" |
| 187 | ), |
| 188 | Workspace { |
| 189 | packages: vec![Package { |
| 190 | name: "example-without-workspace".into(), |
| 191 | version: "0.1.0".into(), |
| 192 | root_dir: concat!( |
| 193 | env!("CARGO_MANIFEST_DIR"), |
| 194 | "/tests/example-without-workspace" |
| 195 | ) |
| 196 | .into(), |
| 197 | dependencies: vec![], |
| 198 | binaries: vec![Binary { |
| 199 | name: "example-without-workspace".into(), |
| 200 | src_path: concat!( |
| 201 | env!("CARGO_MANIFEST_DIR"), |
| 202 | "/tests/example-without-workspace/src/main.rs" |
| 203 | ) |
| 204 | .into(), |
| 205 | required_features: vec![], |
| 206 | }], |
| 207 | tests: vec![], |
| 208 | examples: vec![], |
| 209 | has_lib: false, |
| 210 | }], |
| 211 | target_dir: concat!( |
| 212 | env!("CARGO_MANIFEST_DIR"), |
| 213 | "/tests/example-without-workspace/target" |
| 214 | ) |
| 215 | .into(), |
| 216 | root_dir: concat!( |
| 217 | env!("CARGO_MANIFEST_DIR"), |
| 218 | "/tests/example-without-workspace" |
| 219 | ) |
| 220 | .into(), |
| 221 | }, |
| 222 | ) |
| 223 | .await?; |
| 224 | Ok(()) |
| 225 | } |
| 226 | |
| 227 | #[tokio::test] |
| 228 | async fn parse_sea_streamer() -> anyhow::Result<()> { |
nothing calls this directly
no test coverage detected