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_332546_, Collection<GameTestBatch> p_332555_, ServerLevel p_331060_, GameTestTicker p_335326_, GameTestRunner.StructureSpawner p_336219_, GameTestRunner.StructureSpawner p_330306_, boolean p_342567_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addListener
(GameTestBatchListener p_329355_) static void
clearMarkers
(ServerLevel p_127686_) private Collection
<GameTestInfo> createStructuresForBatch
(Collection<GameTestInfo> p_335557_) void
rerunTest
(GameTestInfo p_335947_) (package private) void
runBatch
(int p_336310_) private void
private Optional
<GameTestInfo> spawn
(GameTestInfo p_330408_) 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_332546_, Collection<GameTestBatch> p_332555_, ServerLevel p_331060_, GameTestTicker p_335326_, GameTestRunner.StructureSpawner p_336219_, GameTestRunner.StructureSpawner p_330306_, boolean p_342567_)
-
-
Method Details
-
getTestInfos
-
start
public void start() -
stop
public void stop() -
rerunTest
-
runBatch
void runBatch(int p_336310_) -
runScheduledRerunTests
private void runScheduledRerunTests() -
addListener
-
createStructuresForBatch
-
spawn
-
clearMarkers
-