(value: bool)
| 1963 | use std::sync::atomic::{AtomicBool, Ordering}; |
| 1964 | |
| 1965 | fn effective_bool(value: bool) -> openshell_core::proto::EffectiveSetting { |
| 1966 | openshell_core::proto::EffectiveSetting { |
| 1967 | value: Some(openshell_core::proto::SettingValue { |
| 1968 | value: Some(openshell_core::proto::setting_value::Value::BoolValue( |
| 1969 | value, |
| 1970 | )), |
| 1971 | }), |
| 1972 | scope: openshell_core::proto::SettingScope::Global.into(), |
| 1973 | } |
| 1974 | } |
| 1975 | |
| 1976 | #[test] |
| 1977 | fn apply_ocsf_json_setting_enables_from_initial_settings_snapshot() { |
no outgoing calls