Debian Codegraph @

src/tests/mod.rs

raw symbols SCIP
1 // Copyright (c) 2022 Harry [Majored] [[email protected]]
2 // MIT License (https://github.com/Majored/rs-async-zip/blob/main/LICENSE)
3
4 pub(craterust-analyzer cargo async_zip 0.0.18 crate/) mod combinedrust-analyzer cargo async_zip 0.0.18 tests/combined/;
5 pub(craterust-analyzer cargo async_zip 0.0.18 crate/) mod readrust-analyzer cargo async_zip 0.0.18 tests/read/;
6 pub(craterust-analyzer cargo async_zip 0.0.18 crate/) mod specrust-analyzer cargo async_zip 0.0.18 tests/spec/;
7 pub(craterust-analyzer cargo async_zip 0.0.18 crate/) mod writerust-analyzer cargo async_zip 0.0.18 tests/write/;
8
9 use stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::syncrust-analyzer cargo std https://github.com/rust-lang/rust/library/std sync/::Oncerust-analyzer cargo std https://github.com/rust-lang/rust/library/std sync/once/Once#;
10 static ENV_LOGGERrust-analyzer cargo async_zip 0.0.18 tests/ENV_LOGGER.: Oncerust-analyzer cargo std https://github.com/rust-lang/rust/library/std sync/once/Once# = Oncerust-analyzer cargo std https://github.com/rust-lang/rust/library/std sync/once/Once#::newrust-analyzer cargo std https://github.com/rust-lang/rust/library/std sync/once/impl#[Once]new().();
11
12 /// Initialize the env logger for any tests that require it.
13 /// Safe to call multiple times.
14 fn init_loggerrust-analyzer cargo async_zip 0.0.18 tests/init_logger().() {
15 ENV_LOGGERrust-analyzer cargo async_zip 0.0.18 tests/ENV_LOGGER..call_oncerust-analyzer cargo std https://github.com/rust-lang/rust/library/std sync/once/impl#[Once]call_once().(|| env_loggerrust-analyzer cargo env_logger 0.11.3 crate/::Builderrust-analyzer cargo env_logger 0.11.3 logger/Builder#::from_default_envrust-analyzer cargo env_logger 0.11.3 logger/impl#[Builder]from_default_env().().format_module_pathrust-analyzer cargo env_logger 0.11.3 logger/impl#[Builder]format_module_path().(true).initrust-analyzer cargo env_logger 0.11.3 logger/impl#[Builder]init().());
16 }