FakeRuntimeFactory


class FakeRuntimeFactory


Factory for creating test-only instances of Runtime.

Summary

Public companion properties

Boolean

Will be passed to the FakeLifecycleManager constructor during testing

Public constructors

Public functions

open FakeRuntime

Creates a Runtime instance

Public properties

open Set<Feature>

The set of features that this service requires.

Public companion properties

hasCreatePermission

Added in 1.0.0-alpha04
var hasCreatePermissionBoolean

Will be passed to the FakeLifecycleManager constructor during testing

Public constructors

FakeRuntimeFactory

Added in 1.0.0-alpha04
FakeRuntimeFactory()

Public functions

createRuntime

Added in 1.0.0-alpha04
open fun createRuntime(activity: Activity): FakeRuntime

Creates a Runtime instance

Public properties

requirements

Added in 1.0.0-alpha04
open val requirementsSet<Feature>

The set of features that this service requires.