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
A Robolectric implementation for ControlledLooper.
  • Constructor Details

  • Method Details

    • drainMainThreadUntilIdle

      public void drainMainThreadUntilIdle()
      Specified by:
      drainMainThreadUntilIdle in interface androidx.test.internal.platform.os.ControlledLooper
    • simulateWindowFocus

      public void simulateWindowFocus​(View decorView)
      Specified by:
      simulateWindowFocus in interface androidx.test.internal.platform.os.ControlledLooper