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

Method pollNoResultTest

test/CompletionServiceTest.java:27–31  ·  view source on GitHub ↗
(Executor executor)

Source from the content-addressed store, hash-verified

25 }
26
27 private static void pollNoResultTest(Executor executor) {
28 ExecutorCompletionService<Object> ecs = new ExecutorCompletionService<Object>(executor);
29
30 verify(ecs.poll() == null);
31 }
32
33 private static void pollTimeoutNoResultTest(Executor executor) throws InterruptedException {
34 long delayTime = 0;

Callers 1

mainMethod · 0.95

Calls 2

verifyMethod · 0.95
pollMethod · 0.95

Tested by

no test coverage detected