Package com.tomtom.ivi.appsuite.media.api.testing.functional

This package contains functionality to interact with the FakeMusic media source app, which is used to test the stock media components.

Types

Link copied to clipboard
class FakeMusicCatalogBuilder(    val id: String,     title: String? = null,     playable: Boolean,     browsable: Boolean)

Test catalog to perform tests with the FakeMusic media source.

Link copied to clipboard
enum FakeMusicCatalogIcon : Enum<FakeMusicCatalogIcon>

Icon types provided as Uri for catalog items. NONE disables automatic selection of an item icon, for tests which require a specific icon.

Link copied to clipboard
data class FakeMusicCatalogItem(val item: IviMediaItem, val children: List<FakeMusicCatalogItem> = emptyList()) : Parcelable

FakeMusic media source catalog entry.

Link copied to clipboard
object FakeMusicCommandExtras
Link copied to clipboard
enum FakeMusicCustomActions : Enum<FakeMusicCustomActions>
Link copied to clipboard
object FakeMusicMediaServiceInfo

Package and class name usable to connect to the FakeMusic media source. The source, located in appsuite_media_standalone_testingsupport_fakemusic, makes it possible to test media-related scenarios without using a real, unpredictable, third-party media source.

Link copied to clipboard
object FakeMusicMediaSourceController

Controller to send commands to the FakeMusic media source.

Link copied to clipboard
class FakeMusicMediaSourceRule : ResourceRule

Ensures that the FakeMusic media source service is started before any test requiring it. It is not necessary to stop it after a test, as it will be reset for the next one. Set shouldRequireLogin to require FakeMusic media source users to log in before browsing is allowed.

Link copied to clipboard
typealias ItemBuilderConfig = FakeMusicCatalogBuilder.(metadata: IviMediaItemBuilder) -> Unit