Lines Matching full:started
33 * producer nodes and allows those nodes to be "started" (when returned from a producer method),
55 /** Returns whether or not the given node has been started. */
73 /** Asserts that the given nodes have been started. */
75 return assertAboutNodes(STARTED, nodes); in assertStarted()
83 /** Asserts that the given nodes have not been started. */
85 return assertAboutNodes(not(STARTED), nodes); in assertNotStarted()
93 /** Asserts that no nodes in this tester have been started. */
96 assertWithMessage("%s is started", future).that(future.isStarted()).isFalse(); in assertNoStartedNodes()
138 * A simple future for testing that can be marked as having been started and which can be
144 private volatile boolean started; field in ProducerTester.TestFuture
150 /** Marks this future as having been started and returns it. */
152 this.started = true; in start()
156 /** Returns whether or not this future's task was started. */
158 return started; in isStarted()
172 private static final Predicate<TestFuture> STARTED = field in ProducerTester
181 return "started";