Beispiel #1
0
 /** Wrapper around {@link AwTestBase#poll()} but runs the callable on the UI thread. */
 public void pollOnUiThread(final Callable<Boolean> callable) throws Exception {
   poll(
       new Callable<Boolean>() {
         @Override
         public Boolean call() throws Exception {
           return runTestOnUiThreadAndGetResult(callable);
         }
       });
 }