Package net.minecraft.test
Class TestRegistry
java.lang.Object
net.minecraft.test.TestRegistry
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Map<String,
Consumer<ServerWorld>> private static final Collection<TestFunctionInfo>
private static final Collection<TestFunctionInfo>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<TestFunctionInfo>
findTestFunction
(String p_229537_0_) static void
static Collection<String>
static Collection<TestFunctionInfo>
static Consumer<ServerWorld>
getBeforeBatchFunction
(String p_229536_0_) static Collection<TestFunctionInfo>
static TestFunctionInfo
getTestFunction
(String p_229538_0_) static Collection<TestFunctionInfo>
getTestFunctionsForClassName
(String p_229530_0_) static boolean
isTestClass
(String p_229534_0_) private static boolean
isTestFunctionPartOfClass
(TestFunctionInfo p_229532_0_, String p_229532_1_) static void
rememberFailedTest
(TestFunctionInfo p_240548_0_)
-
Field Details
-
testFunctions
-
testClassNames
-
beforeBatchFunctions
-
lastFailedTests
-
-
Constructor Details
-
TestRegistry
public TestRegistry()
-
-
Method Details
-
getTestFunctionsForClassName
-
getAllTestFunctions
-
getAllTestClassNames
-
isTestClass
-
getBeforeBatchFunction
-
findTestFunction
-
getTestFunction
-
isTestFunctionPartOfClass
-
getLastFailedTests
-
rememberFailedTest
-
forgetFailedTests
public static void forgetFailedTests()
-