Uses of Class
net.minecraft.gametest.framework.GameTestInfo
Package
Description
-
Uses of GameTestInfo in net.minecraft.gametest.framework
Modifier and TypeFieldDescription(package private) final GameTestInfo
GameTestSequence.parent
final GameTestInfo
GameTestHelper.testInfo
Modifier and TypeFieldDescriptionprivate final List
<GameTestInfo> GameTestRunner.allTestInfos
private final Collection
<GameTestInfo> GameTestBatch.gameTestInfos
The field for thegameTestInfos
record component.private final List
<GameTestInfo> GameTestRunner.scheduledForRerun
private final Collection
<GameTestInfo> GameTestTicker.testInfos
private final Collection
<GameTestInfo> MultipleTestTracker.tests
Modifier and TypeMethodDescriptionGameTestInfo.copyReset()
GameTestInfo.placeStructure()
GameTestInfo.prepareTestStructure()
GameTestInfo.startExecution
(int p_320211_) static GameTestInfo
GameTestBatchFactory.toGameTestInfo
(TestFunction p_320432_, int p_320796_, ServerLevel p_320136_) Modifier and TypeMethodDescriptionprivate static Optional
<GameTestInfo> TestCommand.createGameTestInfo
(BlockPos p_320172_, ServerLevel p_320346_, RetryOptions p_320822_) private Collection
<GameTestInfo> GameTestRunner.createStructuresForBatch
(Collection<GameTestInfo> p_320080_) GameTestBatch.gameTestInfos()
Returns the value of thegameTestInfos
record component.MultipleTestTracker.getFailedOptional()
MultipleTestTracker.getFailedRequired()
GameTestRunner.getTestInfos()
private Optional
<GameTestInfo> GameTestRunner.spawn
(GameTestInfo p_320187_) GameTestRunner.StructureSpawner.spawnStructure
(GameTestInfo p_320038_) StructureGridSpawner.spawnStructure
(GameTestInfo p_320875_) (package private) static Stream
<GameTestInfo> TestCommand.toGameTestInfo
(CommandSourceStack p_320465_, RetryOptions p_320183_, TestFunctionFinder p_320598_, int p_320854_) (package private) static Stream
<GameTestInfo> TestCommand.toGameTestInfos
(CommandSourceStack p_320827_, RetryOptions p_320932_, StructureBlockPosFinder p_320543_) Modifier and TypeMethodDescriptionvoid
GameTestTicker.add
(GameTestInfo p_127789_) void
MultipleTestTracker.addTestToTrack
(GameTestInfo p_127810_) private static StructureBlockEntity
StructureUtils.createStructureBlock
(GameTestInfo p_312256_, BlockPos p_127892_, Rotation p_127893_, ServerLevel p_127894_) private Element
JUnitLikeTestReporter.createTestCase
(GameTestInfo p_177671_, String p_177672_) private void
ReportGameListener.handleRetry
(GameTestInfo p_319864_, GameTestRunner p_319782_, boolean p_320742_) static void
GlobalTestReporter.onTestFailed
(GameTestInfo p_177654_) void
JUnitLikeTestReporter.onTestFailed
(GameTestInfo p_177669_) void
LogTestReporter.onTestFailed
(GameTestInfo p_127797_) void
TestReporter.onTestFailed
(GameTestInfo p_128100_) static void
GlobalTestReporter.onTestSuccess
(GameTestInfo p_177658_) void
JUnitLikeTestReporter.onTestSuccess
(GameTestInfo p_177674_) void
LogTestReporter.onTestSuccess
(GameTestInfo p_177676_) void
TestReporter.onTestSuccess
(GameTestInfo p_177831_) static StructureBlockEntity
StructureUtils.prepareTestStructure
(GameTestInfo p_312267_, BlockPos p_309600_, Rotation p_309541_, ServerLevel p_309609_) void
MultipleTestTracker.remove
(GameTestInfo p_320868_) protected static void
ReportGameListener.reportFailure
(GameTestInfo p_177726_, Throwable p_177727_) static void
ReportGameListener.reportPassed
(GameTestInfo p_177723_, String p_177724_) void
GameTestRunner.rerunTest
(GameTestInfo p_320525_) private static int
TestCommand.resetGameTestInfo
(GameTestInfo p_320507_) private Optional
<GameTestInfo> GameTestRunner.spawn
(GameTestInfo p_320187_) protected static void
ReportGameListener.spawnBeacon
(GameTestInfo p_177720_, Block p_177721_) private static void
ReportGameListener.spawnLectern
(GameTestInfo p_177739_, String p_177740_) GameTestRunner.StructureSpawner.spawnStructure
(GameTestInfo p_320038_) StructureGridSpawner.spawnStructure
(GameTestInfo p_320875_) void
GameTestListener.testAddedForRerun
(GameTestInfo p_320937_, GameTestInfo p_320294_, GameTestRunner p_320147_) void
ReportGameListener.testAddedForRerun
(GameTestInfo p_320478_, GameTestInfo p_320907_, GameTestRunner p_320607_) void
TestCommand.TestSummaryDisplayer.testAddedForRerun
(GameTestInfo p_319856_, GameTestInfo p_320528_, GameTestRunner p_319832_) void
GameTestListener.testFailed
(GameTestInfo p_127652_, GameTestRunner p_320238_) void
ReportGameListener.testFailed
(GameTestInfo p_177737_, GameTestRunner p_320181_) void
TestCommand.TestSummaryDisplayer.testFailed
(GameTestInfo p_128066_, GameTestRunner p_320567_) void
GameTestListener.testPassed
(GameTestInfo p_177494_, GameTestRunner p_320110_) void
ReportGameListener.testPassed
(GameTestInfo p_177729_, GameTestRunner p_320359_) void
TestCommand.TestSummaryDisplayer.testPassed
(GameTestInfo p_177797_, GameTestRunner p_320726_) void
GameTestListener.testStructureLoaded
(GameTestInfo p_127651_) void
ReportGameListener.testStructureLoaded
(GameTestInfo p_177718_) void
TestCommand.TestSummaryDisplayer.testStructureLoaded
(GameTestInfo p_128064_) protected static void
ReportGameListener.visualizeFailedTest
(GameTestInfo p_177734_, Throwable p_177735_) private static void
ReportGameListener.visualizePassedTest
(GameTestInfo p_177731_, String p_177732_) Modifier and TypeMethodDescriptionvoid
MultipleTestTracker.addFailureListener
(Consumer<GameTestInfo> p_127808_) GameTestRunner.GameTestBatcher.batch
(Collection<GameTestInfo> p_320173_) private Collection
<GameTestInfo> GameTestRunner.createStructuresForBatch
(Collection<GameTestInfo> p_320080_) static GameTestRunner.Builder
GameTestRunner.Builder.fromInfo
(Collection<GameTestInfo> p_319878_, ServerLevel p_320046_) private static GameTestBatch
GameTestBatchFactory.toGameTestBatch
(List<GameTestInfo> p_320150_, String p_320417_, long p_326505_) ModifierConstructorDescriptionExhaustedAttemptsException
(int p_177039_, int p_177040_, GameTestInfo p_177041_) GameTestHelper
(GameTestInfo p_127597_) GameTestSequence
(GameTestInfo p_177542_) ModifierConstructorDescriptionGameTestBatch
(String name, Collection<GameTestInfo> gameTestInfos, Consumer<ServerLevel> beforeBatchFunction, Consumer<ServerLevel> afterBatchFunction) Creates an instance of aGameTestBatch
record class.MultipleTestTracker
(Collection<GameTestInfo> p_127802_) -
Uses of GameTestInfo in net.neoforged.neoforge.debug
-
Uses of GameTestInfo in net.neoforged.testframework.gametest
Modifier and TypeFieldDescriptionprivate final GameTestInfo
ExtendedSequence.gameTestInfo
private final GameTestInfo
ParametrizedGameTestSequence.info
Modifier and TypeMethodDescriptionvoid
GameTestPlayer.testAddedForRerun
(GameTestInfo i, GameTestInfo i2, GameTestRunner runner) void
GameTestPlayer.testFailed
(GameTestInfo i, GameTestRunner runner) void
GameTestPlayer.testPassed
(GameTestInfo i, GameTestRunner runner) void
GameTestPlayer.testStructureLoaded
(GameTestInfo i) ModifierConstructorDescriptionExtendedSequence
(GameTestInfo p_177542_) ParametrizedGameTestSequence
(GameTestInfo info, ExtendedSequence sequence, Supplier<T> value)