com.xtremelabs.robolectric.shadows
Class ShadowLooper

java.lang.Object
  extended by com.xtremelabs.robolectric.shadows.ShadowLooper

@Implements(value=android.os.Looper.class)
public class ShadowLooper
extends java.lang.Object


Constructor Summary
ShadowLooper()
           
 
Method Summary
static android.os.Looper getMainLooper()
           
 Scheduler getScheduler()
           
 void idle()
           
static android.os.Looper myLooper()
           
 void post(java.lang.Runnable r, long delayMillis)
           
 void reset()
           
static void resetAll()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShadowLooper

public ShadowLooper()
Method Detail

resetAll

public static void resetAll()

getMainLooper

@Implementation
public static android.os.Looper getMainLooper()

myLooper

@Implementation
public static android.os.Looper myLooper()

idle

public void idle()

post

public void post(java.lang.Runnable r,
                 long delayMillis)

reset

public void reset()

getScheduler

public Scheduler getScheduler()