Package net.minecraft.test
Class TestRunner
java.lang.Object
net.minecraft.test.TestRunner
public class TestRunner extends Object
-
Field Summary
Fields Modifier and Type Field Description private List<com.mojang.datafixers.util.Pair<GameTestBatch,Collection<GameTestState>>>batchesprivate intcurrentBatchIndexprivate TestSetcurrentBatchTestsprivate Map<GameTestState,BlockPos>field_25300private static LoggerLOGGERprivate BlockPosposprivate BlockPos.MutablereusablePosprivate intsizeZprivate TestManagertestManagerprivate List<GameTestState>testsprivate ServerWorldworld -
Constructor Summary
Constructors Constructor Description TestRunner(Collection<GameTestBatch> batches, BlockPos pos, BlockRotation rotation, ServerWorld world, TestManager testManager, int sizeZ) -
Method Summary
Modifier and Type Method Description List<GameTestState>getTests()private voidmethod_29401(Collection<GameTestState> collection)private voidonTestCompleted(GameTestState test)voidrun()private voidrunBatch(int index)
-
Field Details
-
LOGGER
-
pos
-
world
-
testManager
-
sizeZ
private final int sizeZ -
tests
-
field_25300
-
batches
private final List<com.mojang.datafixers.util.Pair<GameTestBatch,Collection<GameTestState>>> batches -
currentBatchTests
-
currentBatchIndex
private int currentBatchIndex -
reusablePos
-
-
Constructor Details
-
TestRunner
public TestRunner(Collection<GameTestBatch> batches, BlockPos pos, BlockRotation rotation, ServerWorld world, TestManager testManager, int sizeZ)
-
-
Method Details
-
getTests
-
run
public void run() -
runBatch
private void runBatch(int index) -
onTestCompleted
-
method_29401
-