net.minecraft.test

public class TestSet

net.minecraft.gametest.framework.MultipleTestTracker
net.minecraft.class_4524
net.minecraft.test.TestSet

Field summary

Modifier and TypeField
private static final char
NOT_STARTED_TEST_CHAR
field_33168
NOT_STARTED
private static final char
ONGOING_TEST_CHAR
field_33169
RUNNING
private static final char
SUCCESSFUL_TEST_CHAR
field_33170
PASS
private static final char
FAILED_OPTIONAL_TEST_CHAR
field_33171
OPTIONAL_FAIL
private static final char
FAILED_REQUIRED_TEST_CHAR
field_33172
REQUIRED_FAIL
private final Collection<GameTestState>
tests
field_20577
tests
private final Collection<TestListener>
listeners
field_25303
listeners

Constructor summary

ModifierConstructor
public ()
public (Collection<GameTestState> tests)

Method summary

Modifier and TypeMethod
public void
addTestToTrack(GameTestInfo testInfo)
method_22230(class_4517 arg0)
add(GameTestState test)
public void
addListener(GameTestListener listener)
method_22231(class_4518 arg0)
addListener(TestListener listener)
public void
addFailureListener(Consumer<GameTestInfo> listener)
method_29407(Consumer<class_4517> arg0)
addListener(Consumer<GameTestState> onFailed)
public int
getFailedRequiredCount()
method_22229()
getFailedRequiredTestCount()
public int
getFailedOptionalCount()
method_22234()
getFailedOptionalTestCount()
public int
getDoneCount()
method_22235()
getCompletedTestCount()
public boolean
hasFailedRequired()
method_22236()
failed()
public boolean
hasFailedOptional()
method_22237()
hasFailedOptionalTests()
public Collection<GameTestState>
getFailedRequired()
method_36103()
getRequiredTests()
public Collection<GameTestState>
getFailedOptional()
method_36104()
getOptionalTests()
public int
getTotalCount()
method_22238()
getTestCount()
public boolean
isDone()
method_22239()
isDone()
public String
getProgressBar()
method_22240()
getResultString()
public void
remove(GameTestInfo testInfo)
method_56243(class_4517 arg0)
remove(GameTestState state)
private static void
lambda$getProgressBar$1(StringBuffer arg0, GameTestInfo arg1)
method_22233(StringBuffer arg0, class_4517 arg1)
method_22233(StringBuffer arg0, GameTestState test)
private static void
lambda$addListener$0(GameTestListener arg0, GameTestInfo arg1)
method_22232(class_4518 arg0, class_4517 arg1)
method_22232(TestListener arg0, GameTestState test)