Modules

Test data for the matrix-sdk crates.

Structs

The EventBuilder struct can be used to easily generate valid sync responses for testing. These can be then fed into either Client or Room.

Enums

Test events that can be added to the ephemeral events.
Test events that can be added to the global account data.
Test events that can be added to the presence events.
Test events that can be added to the room account data.
Test events that can be added to the state.
Test events that can be added to the stripped state.
Embedded sync response files
Test events that can be added to the timeline.

Functions

Create m.room.member events in the given range.
Get specific API responses for testing

Attribute Macros

Attribute to use wasm_bindgen_test for wasm32 targets and tokio::test for everything else with async-support and custom result-types