MCPcopy Create free account
hub / github.com/ReadyTalk/avian / main

Method main

test/FutureTaskTest.java:11–18  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls 5

isDoneTestMethod · 0.95
getCallableResultTestMethod · 0.95
getRunnableResultTestMethod · 0.95
getTimeoutFailMethod · 0.95

Tested by

no test coverage detected