Package org.robolectric.android.internal
Class LocalControlledLooper
java.lang.Object
org.robolectric.android.internal.LocalControlledLooper
- All Implemented Interfaces:
androidx.test.internal.platform.os.ControlledLooper
public class LocalControlledLooper extends Object implements androidx.test.internal.platform.os.ControlledLooper
-
Field Summary
-
Constructor Summary
Constructors Constructor Description LocalControlledLooper()
-
Method Summary
Modifier and Type Method Description void
drainMainThreadUntilIdle()
void
simulateWindowFocus(View decorView)
-
Constructor Details
-
LocalControlledLooper
public LocalControlledLooper()
-
-
Method Details
-
drainMainThreadUntilIdle
public void drainMainThreadUntilIdle()- Specified by:
drainMainThreadUntilIdle
in interfaceandroidx.test.internal.platform.os.ControlledLooper
-
simulateWindowFocus
- Specified by:
simulateWindowFocus
in interfaceandroidx.test.internal.platform.os.ControlledLooper
-