FakeMusicMediaSourceRule

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.

Constructors

Link copied to clipboard
fun FakeMusicMediaSourceRule()

Functions

Link copied to clipboard
fun requireLogin()

Inherited functions

Link copied to clipboard
open override fun apply(baseStatement: Statement, description: Description): Statement