Package io.molr.mole.core.testing.strand
Class AbstractSingleMissionStrandExecutorTest
- java.lang.Object
-
- io.molr.mole.core.testing.strand.AbstractSingleMissionStrandExecutorTest
-
- All Implemented Interfaces:
LatchTestSupport
,MissionCreationTestSupport
,SingleMissionStrandExecutorTestSupport
,StrandExecutorTestSupport
public abstract class AbstractSingleMissionStrandExecutorTest extends Object implements SingleMissionStrandExecutorTestSupport, MissionCreationTestSupport, LatchTestSupport
Abstract support class for a test against one mission, specified via themission()
abstract method.
-
-
Field Summary
-
Fields inherited from interface io.molr.mole.core.testing.strand.StrandExecutorTestSupport
TIMEOUT
-
-
Constructor Summary
Constructors Constructor Description AbstractSingleMissionStrandExecutorTest()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description org.assertj.core.api.AbstractComparableAssert<?,Result>
assertThatRootResult()
protected LeafExecutor
leafExecutor()
protected abstract RunnableLeafsMission
mission()
StrandExecutor
rootStrandExecutor()
void
setUpAbstract()
void
setUpAbstract(ExecutionStrategy executionStrategy)
void
setUpAbstract(ExecutionStrategy executionStrategy, RunnableLeafsMission mission)
TreeTracker<Result>
treeResultTracker()
protected TreeStructure
treeStructure()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.molr.mole.core.testing.LatchTestSupport
await, await, unlatch, unlatch
-
Methods inherited from interface io.molr.mole.core.testing.strand.MissionCreationTestSupport
log, logger
-
Methods inherited from interface io.molr.mole.core.testing.strand.SingleMissionStrandExecutorTestSupport
assertThatResultOf, assertThatRootStrandBlock, assertThatRootStrandState, assertThatStrandRootAllowedCommands, instructRootStrandAsync, instructRootStrandSync, moveRootStrandTo, moveRootStrandToBySkippingLeafsAndParallelNodes, recordRootStrandErrors, rootStrandChildren, waitUntilResultOfBlockIs, waitUntilRootStrandBlockIs, waitUntilRootStrandIsFinished, waitUntilRootStrandStateIs
-
Methods inherited from interface io.molr.mole.core.testing.strand.StrandExecutorTestSupport
assertThat, assertThatAllowedCommandsOf, assertThatBlockOf, assertThatResultOf, assertThatStateOf, childrenStrandExecutorsOf, instructAsync, recordStrandErrors, waitForErrorOfType, waitUntilResultOfBlockIs, waitUntilStrandBlockIs, waitUntilStrandIsFinished, waitUntilStrandStateIs
-
-
-
-
Method Detail
-
mission
protected abstract RunnableLeafsMission mission()
-
setUpAbstract
public void setUpAbstract()
-
setUpAbstract
public void setUpAbstract(ExecutionStrategy executionStrategy)
-
setUpAbstract
public void setUpAbstract(ExecutionStrategy executionStrategy, RunnableLeafsMission mission)
-
rootStrandExecutor
public StrandExecutor rootStrandExecutor()
- Specified by:
rootStrandExecutor
in interfaceSingleMissionStrandExecutorTestSupport
-
treeResultTracker
public TreeTracker<Result> treeResultTracker()
- Specified by:
treeResultTracker
in interfaceSingleMissionStrandExecutorTestSupport
-
treeStructure
protected TreeStructure treeStructure()
-
leafExecutor
protected LeafExecutor leafExecutor()
-
assertThatRootResult
public org.assertj.core.api.AbstractComparableAssert<?,Result> assertThatRootResult()
-
-