Lines Matching defs:TestLooper
35 * Creating a TestLooper will also install it as the looper for the current thread
37 public class TestLooper {
46 private static final String TAG = "TestLooper";
65 throw new RuntimeException("Failed to initialize TestLooper", e);
70 public TestLooper() {
91 throw new RuntimeException("Access failed in TestLooper: get - MessageQueue.mMessages",
108 throw new RuntimeException("Access failed in TestLooper: set - Message.when", e);
141 throw new RuntimeException("Access failed in TestLooper", e);
232 "TestLooper did not dispatch any messages before exiting.");
236 * Method allowing the TestLooper to pass any exceptions thrown by the thread to be passed