MCPcopy Create free account
hub / github.com/chirpstack/chirpstack / set_mock

Function set_mock

chirpstack/src/integration/mod.rs:84–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82
83#[cfg(test)]
84pub async fn set_mock() {
85 let mut m = MOCK_INTEGRATION.write().await;
86 *m = true;
87}
88
89#[async_trait]
90pub trait Integration {

Callers 12

run_testFunction · 0.85
run_testFunction · 0.85
run_scheduler_testFunction · 0.85
run_uplink_testFunction · 0.85
run_scheduler_testFunction · 0.85
run_testFunction · 0.85
run_scheduler_testFunction · 0.85
test_lorawan_10Function · 0.85
run_testFunction · 0.85
test_handleFunction · 0.85
test_handleFunction · 0.85

Calls

no outgoing calls

Tested by 12

run_testFunction · 0.68
run_testFunction · 0.68
run_scheduler_testFunction · 0.68
run_uplink_testFunction · 0.68
run_scheduler_testFunction · 0.68
run_testFunction · 0.68
run_scheduler_testFunction · 0.68
test_lorawan_10Function · 0.68
run_testFunction · 0.68
test_handleFunction · 0.68
test_handleFunction · 0.68