public static void resetStaticState() { ShadowWrangler.getInstance().silence(); Robolectric.application = new Application(); ShadowBitmapFactory.reset(); ShadowDrawable.reset(); ShadowMediaStore.reset(); ShadowLog.reset(); ShadowContext.clearFilesAndCache(); ShadowLooper.resetThreadLoopers(); }
public static void resetStaticState() { ShadowWrangler.getInstance().silence(); Robolectric.application = new Application(); ShadowBitmapFactory.reset(); ShadowDrawable.reset(); ShadowMediaStore.reset(); ShadowLog.reset(); ShadowContext.clearFilesAndCache(); ShadowLooper.resetThreadLoopers(); ShadowDialog.reset(); ShadowContentResolver.reset(); ShadowLocalBroadcastManager.reset(); ShadowMimeTypeMap.reset(); ShadowPowerManager.reset(); ShadowStatFs.reset(); ShadowTypeface.reset(); }
public static void idleMainLooper(int interval) { ShadowLooper.idleMainLooper(interval); }
public static void unPauseMainLooper() { ShadowLooper.unPauseMainLooper(); }
public static void pauseMainLooper() { ShadowLooper.pauseMainLooper(); }
public static void unPauseLooper(Looper looper) { ShadowLooper.unPauseLooper(looper); }
public static void pauseLooper(Looper looper) { ShadowLooper.pauseLooper(looper); }
public static void idleMainLooperConstantly(boolean shouldIdleConstantly) { ShadowLooper.idleMainLooperConstantly(shouldIdleConstantly); }