Expand description
Test data for the matrix-sdk crates.
Exporting each const allows all the test data to have a single source of
truth. When running cargo publish no external folders are allowed so all
the test data needs to be contained within this crate.
Re-exports§
pub use api_responses::DEVICE;pub use api_responses::DEVICES;pub use api_responses::GET_ALIAS;pub use api_responses::KEYS_QUERY;pub use api_responses::KEYS_QUERY_TWO_DEVICES_ONE_SIGNED;pub use api_responses::KEYS_UPLOAD;pub use api_responses::LOGIN;pub use api_responses::LOGIN_RESPONSE_ERR;pub use api_responses::LOGIN_TYPES;pub use api_responses::LOGIN_WITH_DISCOVERY;pub use api_responses::LOGIN_WITH_REFRESH_TOKEN;pub use api_responses::NOT_FOUND;pub use api_responses::PUBLIC_ROOMS;pub use api_responses::PUBLIC_ROOMS_FINAL_PAGE;pub use api_responses::REFRESH_TOKEN;pub use api_responses::REFRESH_TOKEN_WITH_REFRESH_TOKEN;pub use api_responses::REGISTRATION_RESPONSE_ERR;pub use api_responses::UNKNOWN_TOKEN_SOFT_LOGOUT;pub use api_responses::VERSIONS;pub use api_responses::WELL_KNOWN;pub use api_responses::WHOAMI;pub use members::MEMBERS;pub use sync::DEFAULT_SYNC_SUMMARY;pub use sync::INVITE_SYNC;pub use sync::JOIN_SPACE_SYNC;pub use sync::LEAVE_SYNC;pub use sync::LEAVE_SYNC_EVENT;pub use sync::SYNC;
Modules§
- api_
responses - Responses to client API calls.
- keys_
query - Templates for simulating responses to
POST /_matrix/client/v3/keys/queryrequests. - keys_
query_ sets - members
- Example responses to
GET /_matrix/client/v3/rooms/{roomId}/members - search_
users - sync
- Complete sync responses.