pub trait StateStoreIntegrationTests {
Show 23 methods
// Required methods
async fn populate(&self) -> Result<()>;
async fn test_topic_redaction(&self) -> Result<()>;
async fn test_populate_store(&self) -> Result<()>;
async fn test_member_saving(&self);
async fn test_filter_saving(&self);
async fn test_user_avatar_url_saving(&self);
async fn test_sync_token_saving(&self);
async fn test_utd_hook_manager_data_saving(&self);
async fn test_stripped_member_saving(&self);
async fn test_power_level_saving(&self);
async fn test_receipts_saving(&self);
async fn test_custom_storage(&self) -> Result<()>;
async fn test_stripped_non_stripped(&self) -> Result<()>;
async fn test_room_removal(&self) -> Result<()>;
async fn test_profile_removal(&self) -> Result<()>;
async fn test_presence_saving(&self);
async fn test_display_names_saving(&self);
async fn test_send_queue(&self);
async fn test_send_queue_priority(&self);
async fn test_send_queue_dependents(&self);
async fn test_update_send_queue_dependent(&self);
async fn test_server_info_saving(&self);
async fn test_get_room_infos(&self);
}
testing
only.Expand description
StateStore
integration tests.
This trait is not meant to be used directly, but will be used with the
statestore_integration_tests!
macro.
Required Methods§
Sourceasync fn test_topic_redaction(&self) -> Result<()>
async fn test_topic_redaction(&self) -> Result<()>
Test room topic redaction.
Sourceasync fn test_populate_store(&self) -> Result<()>
async fn test_populate_store(&self) -> Result<()>
Test populating the store.
Sourceasync fn test_member_saving(&self)
async fn test_member_saving(&self)
Test room member saving.
Sourceasync fn test_filter_saving(&self)
async fn test_filter_saving(&self)
Test filter saving.
Sourceasync fn test_user_avatar_url_saving(&self)
async fn test_user_avatar_url_saving(&self)
Test saving a user avatar URL.
Sourceasync fn test_sync_token_saving(&self)
async fn test_sync_token_saving(&self)
Test sync token saving.
Sourceasync fn test_utd_hook_manager_data_saving(&self)
async fn test_utd_hook_manager_data_saving(&self)
Test UtdHookManagerData saving.
Sourceasync fn test_stripped_member_saving(&self)
async fn test_stripped_member_saving(&self)
Test stripped room member saving.
Sourceasync fn test_power_level_saving(&self)
async fn test_power_level_saving(&self)
Test room power levels saving.
Sourceasync fn test_receipts_saving(&self)
async fn test_receipts_saving(&self)
Test user receipts saving.
Sourceasync fn test_custom_storage(&self) -> Result<()>
async fn test_custom_storage(&self) -> Result<()>
Test custom storage.
Sourceasync fn test_stripped_non_stripped(&self) -> Result<()>
async fn test_stripped_non_stripped(&self) -> Result<()>
Test stripped and non-stripped room member saving.
Sourceasync fn test_room_removal(&self) -> Result<()>
async fn test_room_removal(&self) -> Result<()>
Test room removal.
Sourceasync fn test_profile_removal(&self) -> Result<()>
async fn test_profile_removal(&self) -> Result<()>
Test profile removal.
Sourceasync fn test_presence_saving(&self)
async fn test_presence_saving(&self)
Test presence saving.
Sourceasync fn test_display_names_saving(&self)
async fn test_display_names_saving(&self)
Test display names saving.
Sourceasync fn test_send_queue(&self)
async fn test_send_queue(&self)
Test operations with the send queue.
Sourceasync fn test_send_queue_priority(&self)
async fn test_send_queue_priority(&self)
Test priority of operations with the send queue.
Sourceasync fn test_send_queue_dependents(&self)
async fn test_send_queue_dependents(&self)
Test operations related to send queue dependents.
Sourceasync fn test_update_send_queue_dependent(&self)
async fn test_update_send_queue_dependent(&self)
Test an update to a send queue dependent request.
Sourceasync fn test_server_info_saving(&self)
async fn test_server_info_saving(&self)
Test saving/restoring server info.
Sourceasync fn test_get_room_infos(&self)
async fn test_get_room_infos(&self)
Test fetching room infos based on RoomLoadSettings
.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.