Skip to main content

MediaStoreInnerIntegrationTests

Trait MediaStoreInnerIntegrationTests 

Source
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);
}
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§

Source

async fn test_store_media_retention_policy(&self)

Test media retention policy storage.

Source

async fn test_media_max_file_size(&self)

Test media content’s retention policy max file size.

Source

async fn test_media_max_cache_size(&self)

Test media content’s retention policy max cache size.

Source

async fn test_media_expiry(&self)

Test media content’s retention policy expiry.

Source

async fn test_media_ignore_max_size(&self)

Test IgnoreMediaRetentionPolicy with the media content’s retention policy max sizes.

Source

async fn test_media_ignore_expiry(&self)

Test IgnoreMediaRetentionPolicy with the media content’s retention policy expiry.

Source

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".

Implementors§