Module holochain_cascade::test_utils
source · Expand description
Test utils for holochain_cascade
Structs§
- A collection of fixtures used to create scenarios for testing the Cascade
- A collection of test fixtures used to test entry-related cascade functionality
- A mutex-guarded
MockHolochainP2pDnaT
- A network implementation which routes to the local databases, and can declare itself an authority either for all ops, or for no ops.
- A collection of fixtures for use in Cascade tests
Functions§
- Commit the chain to a test in-memory database, returning a handle to that DB
- Add the items to the provided scratch
- Insert ops directly into the database and mark integrated as valid
- Insert ops into the authored database
- Insert ops directly into the database and mark valid and pending integration
- Insert ops directly into the database and mark integrated as rejected
- Utility for network simulation response to get entry.
- Utility for network simulation response to get record.
- Utility for network simulation response to get.