public class BackgroundLayoutLooperRule
extends java.lang.Object
Constructor and Description |
---|
BackgroundLayoutLooperRule() |
Modifier and Type | Method and Description |
---|---|
Statement |
apply(Statement base,
Description description) |
void |
runOneTaskSync()
Runs one task on the background thread, blocking until it completes.
|
TimeOutSemaphore |
runToEndOfTasksAsync() |
void |
runToEndOfTasksSync()
Runs through all tasks on the background thread, blocking until it completes.
|
public Statement apply(Statement base, Description description)
public void runOneTaskSync()
public void runToEndOfTasksSync()
public TimeOutSemaphore runToEndOfTasksAsync()