TestWorkerBuilder
open class TestWorkerBuilder<W : Worker!> : TestListenableWorkerBuilder<W>
kotlin.Any | ||
↳ | androidx.work.testing.TestListenableWorkerBuilder<W> | |
↳ | androidx.work.testing.TestWorkerBuilder |
Builds instances of Worker
which can be used for testing.
Summary
Public methods | |
---|---|
open static TestWorkerBuilder<out Worker!> |
from(@NonNull context: Context, @NonNull workRequest: WorkRequest, @NonNull executor: Executor) Creates a new instance of a |
open static TestWorkerBuilder<W> |
Creates a new instance of a |
Inherited functions | |
---|---|