Stay organized with collections
Save and categorize content based on your preferences.
Classes
CountingTaskExecutorRule |
A JUnit Test Rule that swaps the background executor used by the Architecture Components with a different one which counts the tasks as they are start and finish.
|
InstantTaskExecutorRule |
A JUnit Test Rule that swaps the background executor used by the Architecture Components with a different one which executes each task synchronously.
|
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
[null,null,["Last updated 2025-05-15 UTC."],[],[],null,["# androidx.arch.core.executor.testing\n===================================\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/androidx/arch/core/executor/testing/package-summary \"View this page in Kotlin\") \\|Java\n\nClasses\n-------\n\n|-----------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [CountingTaskExecutorRule](/reference/androidx/arch/core/executor/testing/CountingTaskExecutorRule) | A JUnit Test Rule that swaps the background executor used by the Architecture Components with a different one which counts the tasks as they are start and finish. |\n| [InstantTaskExecutorRule](/reference/androidx/arch/core/executor/testing/InstantTaskExecutorRule) | A JUnit Test Rule that swaps the background executor used by the Architecture Components with a different one which executes each task synchronously. |"]]