Expand description
In-process CloudHome implementation for tests. Records every write keyed by cloud_key so tests can read back exactly what landed, and serves reads from the same map — enough to simulate two devices sharing a cloud bucket.
Available under #[cfg(test)] in this crate itself and to the crates above
it that enable the test-utils feature.
Structs§
- InMemory
Cloud Home - In-memory CloudHome backed by a HashMap.
Cloneshares one backing store, so clones act as separate devices reading and writing the same cloud bucket, and a test can keep its own handle for direct at-rest assertions while each device owns an exact cloud-home clone.
Functions§
- test_
cloud_ home - An
InMemoryCloudHomebound to a fixed Google Drive provider, for the tests that need a cloud home but do not care which provider it claims to be. - test_
cloud_ home_ with_ binding