Package net.minecraft.test
Class TestExecutor
- java.lang.Object
-
- net.minecraft.test.TestExecutor
-
public class TestExecutor extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<TestTracker>
allTestInfos
private java.util.List<com.mojang.datafixers.util.Pair<TestBatch,java.util.Collection<TestTracker>>>
batches
private int
currentBatchIndex
private TestResultList
currentBatchTracker
private BlockPos
firstTestNorthWestCorner
private ServerWorld
level
private static org.apache.logging.log4j.Logger
LOGGER
private BlockPos.Mutable
nextTestNorthWestCorner
private java.util.Map<TestTracker,BlockPos>
northWestCorners
private int
testsPerRow
private TestCollection
testTicker
-
Constructor Summary
Constructors Constructor Description TestExecutor(java.util.Collection<TestBatch> p_i232555_1_, BlockPos p_i232555_2_, Rotation p_i232555_3_, ServerWorld p_i232555_4_, TestCollection p_i232555_5_, int p_i232555_6_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
createStructuresForBatch(java.util.Collection<TestTracker> p_229480_1_)
java.util.List<TestTracker>
getTestInfos()
private void
runBatch(int p_229477_1_)
void
start()
private void
testCompleted(TestTracker p_229479_1_)
-
-
-
Field Detail
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
firstTestNorthWestCorner
private final BlockPos firstTestNorthWestCorner
-
level
private final ServerWorld level
-
testTicker
private final TestCollection testTicker
-
testsPerRow
private final int testsPerRow
-
allTestInfos
private final java.util.List<TestTracker> allTestInfos
-
northWestCorners
private final java.util.Map<TestTracker,BlockPos> northWestCorners
-
batches
private final java.util.List<com.mojang.datafixers.util.Pair<TestBatch,java.util.Collection<TestTracker>>> batches
-
currentBatchTracker
private TestResultList currentBatchTracker
-
currentBatchIndex
private int currentBatchIndex
-
nextTestNorthWestCorner
private BlockPos.Mutable nextTestNorthWestCorner
-
-
Constructor Detail
-
TestExecutor
public TestExecutor(java.util.Collection<TestBatch> p_i232555_1_, BlockPos p_i232555_2_, Rotation p_i232555_3_, ServerWorld p_i232555_4_, TestCollection p_i232555_5_, int p_i232555_6_)
-
-
Method Detail
-
getTestInfos
public java.util.List<TestTracker> getTestInfos()
-
start
public void start()
-
runBatch
private void runBatch(int p_229477_1_)
-
testCompleted
private void testCompleted(TestTracker p_229479_1_)
-
createStructuresForBatch
private void createStructuresForBatch(java.util.Collection<TestTracker> p_229480_1_)
-
-