1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
use *;
use test;
// These tests assert std wall-clock behaviour, so they are gated behind
// `feature = "std"`: under `--no-default-features` the `std` feature is off,
// `SystemClock` is absent, and `unix_timestamp()` takes the no_std (epoch)
// branch where these assertions would not hold.
// The no-override and override cases share one test so they cannot observe
// each other's mutation of the process-global test override. (The suite runs
// under nextest, which isolates each test in its own process, but keeping the
// override roundtrip self-contained holds under any runner.)