use of com.google.common.util.concurrent.ExecutionList in project guava by hceylan.
the class ExecutionListTest method testNulls.
public void testNulls() throws Exception {
NullPointerTester tester = new NullPointerTester();
tester.setDefault(Executor.class, sameThreadExecutor());
tester.setDefault(Runnable.class, DO_NOTHING);
tester.testAllPublicInstanceMethods(new ExecutionList());
}
use of com.google.common.util.concurrent.ExecutionList in project guava by hceylan.
the class ExecutionListTest method testExceptionsCaught.
public void testExceptionsCaught() {
ExecutionList list = new ExecutionList();
list.add(THROWING_RUNNABLE, sameThreadExecutor());
list.execute();
list.add(THROWING_RUNNABLE, sameThreadExecutor());
}
Aggregations