1 package org.robolectric.android.internal; 2 3 import androidx.test.internal.platform.ThreadChecker; 4 5 /** 6 * In Robolectric environment, everything is executed on the main thread except for when you 7 * manually create and run your code on worker thread. 8 */ 9 public class NoOpThreadChecker implements ThreadChecker { 10 @Override checkMainThread()11 public void checkMainThread() {} 12 13 @Override checkNotMainThread()14 public void checkNotMainThread() {} 15 } 16