Package-level declarations

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

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

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

Controller to send commands to the FakeMusic media source.

Link copied to clipboard

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.