Package-level declarations
Types
Link copied to clipboard
A controllable install Session test double for usage with TestPackageInstaller.
Link copied to clipboard
Factory for creating install test sessions.
Link copied to clipboard
class TestPackageInstaller @JvmOverloads constructor(sessionFactory: TestInstallSessionFactory = TestInstallSessionFactory.withScript(
TestSessionScript.auto(Session.State.Succeeded)
)) : PackageInstaller
An in-memory PackageInstaller test double.
Link copied to clipboard
class TestPackageUninstaller @JvmOverloads constructor(sessionFactory: TestUninstallSessionFactory = TestUninstallSessionFactory.withScript(
TestSessionScript.auto(Session.State.Succeeded)
)) : PackageUninstaller
An in-memory PackageUninstaller test double.
Link copied to clipboard
class TestProgressSession<F : Failure> @JvmOverloads constructor(script: TestSessionScript<F>, id: UUID = UUID.randomUUID(), initialState: Session.State<F> = Pending, initialProgress: Progress = Progress()) : TestSession<F> , ProgressSession<F>
A controllable ProgressSession test double.
Link copied to clipboard
object TestSdkInt
A holder of current Android SDK version for tests.
Link copied to clipboard
open class TestSession<F : Failure> @JvmOverloads constructor(script: TestSessionScript<F> = TestSessionScript.auto(Session.State.Succeeded), val id: UUID = UUID.randomUUID(), initialState: Session.State<F> = Pending) : Session<F>
A controllable Session test double.
Link copied to clipboard
Drives a TestSession state and progress in tests.
Link copied to clipboard
Scripted transitions used to drive session state updates in tests.
Link copied to clipboard
A controllable uninstall Session test double for usage with TestPackageUninstaller.
Link copied to clipboard
Factory for creating uninstall test sessions.