pub trait MediaStoreInnerIntegrationTests {
// Required methods
async fn test_store_media_retention_policy(&self);
async fn test_media_max_file_size(&self);
async fn test_media_max_cache_size(&self);
async fn test_media_expiry(&self);
async fn test_media_ignore_max_size(&self);
async fn test_media_ignore_expiry(&self);
async fn test_store_last_media_cleanup_time(&self);
}Available on crate features
testing only.Expand description
MediaStoreInner integration tests.
This trait is not meant to be used directly, but will be used with the
media_store_inner_integration_tests! macro.
Required Methods§
Sourceasync fn test_store_media_retention_policy(&self)
async fn test_store_media_retention_policy(&self)
Test media retention policy storage.
Sourceasync fn test_media_max_file_size(&self)
async fn test_media_max_file_size(&self)
Test media content’s retention policy max file size.
Sourceasync fn test_media_max_cache_size(&self)
async fn test_media_max_cache_size(&self)
Test media content’s retention policy max cache size.
Sourceasync fn test_media_expiry(&self)
async fn test_media_expiry(&self)
Test media content’s retention policy expiry.
Sourceasync fn test_media_ignore_max_size(&self)
async fn test_media_ignore_max_size(&self)
Test IgnoreMediaRetentionPolicy with the media content’s retention
policy max sizes.
Sourceasync fn test_media_ignore_expiry(&self)
async fn test_media_ignore_expiry(&self)
Test IgnoreMediaRetentionPolicy with the media content’s retention
policy expiry.
Sourceasync fn test_store_last_media_cleanup_time(&self)
async fn test_store_last_media_cleanup_time(&self)
Test last media cleanup time storage.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".