(String[] args)
| 9 | private static final int DELAY_TIME = 10; |
| 10 | |
| 11 | public static void main(String[] args) throws InterruptedException, ExecutionException { |
| 12 | isDoneTest(false); |
| 13 | isDoneTest(true); |
| 14 | getCallableResultTest(); |
| 15 | getRunnableResultTest(); |
| 16 | getTimeoutFail(); |
| 17 | getExecutionExceptionTest(); |
| 18 | } |
| 19 | |
| 20 | private static void isDoneTest(final boolean throwException) { |
| 21 | RunnableFuture<?> future = new FutureTask<Object>(new Runnable() { |
nothing calls this directly
no test coverage detected