Package net.minecraft.gametest.framework
Class GameTestRunner
java.lang.Object
net.minecraft.gametest.framework.GameTestRunner
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static interface
static interface
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List
<GameTestInfo> private com.google.common.collect.ImmutableList
<GameTestBatch> (package private) final List
<GameTestBatchListener> (package private) GameTestBatch
static final int
private final GameTestRunner.StructureSpawner
(package private) final boolean
(package private) final ServerLevel
private static final org.slf4j.Logger
private final GameTestRunner.StructureSpawner
private final List
<GameTestInfo> private boolean
private final GameTestRunner.GameTestBatcher
private final GameTestTicker
-
Constructor Summary
ModifierConstructorDescriptionprotected
GameTestRunner
(GameTestRunner.GameTestBatcher p_320713_, Collection<GameTestBatch> p_320022_, ServerLevel p_320570_, GameTestTicker p_320736_, GameTestRunner.StructureSpawner p_320336_, GameTestRunner.StructureSpawner p_320643_, boolean p_352218_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addListener
(GameTestBatchListener p_320573_) static void
clearMarkers
(ServerLevel p_127686_) private Collection
<GameTestInfo> createStructuresForBatch
(Collection<GameTestInfo> p_320080_) void
rerunTest
(GameTestInfo p_320525_) (package private) void
runBatch
(int p_319917_) private void
private Optional
<GameTestInfo> spawn
(GameTestInfo p_320187_) void
start()
void
stop()
-
Field Details
-
DEFAULT_TESTS_PER_ROW
public static final int DEFAULT_TESTS_PER_ROW- See Also:
-
LOGGER
private static final org.slf4j.Logger LOGGER -
level
-
testTicker
-
allTestInfos
-
batches
-
batchListeners
-
scheduledForRerun
-
testBatcher
-
stopped
private boolean stopped -
currentBatch
-
existingStructureSpawner
-
newStructureSpawner
-
haltOnError
final boolean haltOnError
-
-
Constructor Details
-
GameTestRunner
protected GameTestRunner(GameTestRunner.GameTestBatcher p_320713_, Collection<GameTestBatch> p_320022_, ServerLevel p_320570_, GameTestTicker p_320736_, GameTestRunner.StructureSpawner p_320336_, GameTestRunner.StructureSpawner p_320643_, boolean p_352218_)
-
-
Method Details
-
getTestInfos
-
start
public void start() -
stop
public void stop() -
rerunTest
-
runBatch
void runBatch(int p_319917_) -
runScheduledRerunTests
private void runScheduledRerunTests() -
addListener
-
createStructuresForBatch
-
spawn
-
clearMarkers
-