public class NoOpThreadChecker extends Object implements androidx.test.internal.platform.ThreadChecker
In Robolectric environment, everything is executed on the main thread except for when you manually create and run your code on worker thread.
| Constructor and Description |
|---|
NoOpThreadChecker() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkMainThread() |
void |
checkNotMainThread() |