Lines Matching refs:future
69 TestFuture future = futures.get(node); in isCancelled() local
70 return future != null && future.isCancelled(); in isCancelled()
95 for (TestFuture future : futures.values()) { in assertNoStartedNodes()
96 assertWithMessage("%s is started", future).that(future.isStarted()).isFalse(); in assertNoStartedNodes()
103 TestFuture future = getOrCreate(node); in assertAboutNodes() local
104 assertWithMessage("%s is %s", future, assertion).that(assertion.test(future)).isTrue(); in assertAboutNodes()
105 builder.add(future); in assertAboutNodes()
129 for (TestFuture future : futures.values()) { in only()
130 if (!expected.contains(future)) { in only()
131 assertWithMessage("%s is %s", future, assertion).that(assertion.test(future)).isFalse(); in only()
175 public boolean test(TestFuture future) {
176 return future.isStarted();
188 public boolean test(TestFuture future) {
189 return future.isCancelled();