qubit_clock/test_util/mod.rs
1// =============================================================================
2// Copyright (c) 2025 - 2026 Haixing Hu.
3//
4// SPDX-License-Identifier: Apache-2.0
5//
6// Licensed under the Apache License, Version 2.0.
7// =============================================================================
8//! Test-only Timer implementations for deterministic failure injection.
9//!
10//! Enable the `test-util` Cargo feature from development dependencies. The
11//! feature is disabled by default and does not require an asynchronous runtime.
12
13mod fault_injecting_timer;
14mod timer_failure_point;
15
16#[cfg(all(loom, feature = "loom-model"))]
17#[doc(hidden)]
18pub mod loom;
19
20pub use fault_injecting_timer::FaultInjectingTimer;
21pub use timer_failure_point::TimerFailurePoint;