Expand description
The storage::tests module contains test vectors that implementations of the Storage trait should pass. These can be called with a Storage implementation as part of a test.
These are public so that implementors of the Storage trait (in other libraries or binaries) can call them.
Functionsยง
- Test that a remove of a non-existent key causes no errors
- Test that the implementation returns None for a mismatch between value types
- Test that the implementation stores, retrieves, and clears bool values correctly.
- Test that the implementation stores, retrieves, and clears int values correctly.
- These are tests for verifying that a given Storage implementation acts as expected. Test that the implementation stores, retrieves, and clears String values correctly.
- Test that the implementation stores, retrieves, and clears bool values correctly.
- Test that the implementation stores, retrieves, and clears Option
values correctly.