refactor(review): shell current-thread runtime + единый дефолт; PowerClient parse_enum; тесты на ipc::names
- shell: new_current_thread рантайм (без пула на холодном старте, #11); единый Initial::default(). - PowerClient: generic parse_enum (убрал 3 копии map_err). - ipc::names::power::MOCK_IFACE; интеграционные тесты — через ipc::names (не хардкод). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Signed-off-by: Alexander <akotenev2003@gmail.com>
This commit is contained in:
@@ -5,6 +5,8 @@ pub mod power {
|
||||
pub const NAME: &str = "ru.shturman.Power";
|
||||
pub const PATH: &str = "/ru/shturman/Power";
|
||||
pub const IFACE: &str = "ru.shturman.Power1";
|
||||
/// dev-mock «fake-ACC» (интерфейс на том же объекте; только dev-сборка).
|
||||
pub const MOCK_IFACE: &str = "ru.shturman.dev.PowerMock1";
|
||||
}
|
||||
|
||||
pub mod settings {
|
||||
|
||||
Reference in New Issue
Block a user