net.minecraft.gametest.framework

public class GameTestRegistry

pr
net.minecraft.gametest.framework.GameTestRegistry
net.minecraft.class_4519
net.minecraft.unmapped.C_todbioqv
net.minecraft.test.TestFunctions
net.minecraft.test.TestFunctions
net.minecraft.src.C_4891_
net.minecraft.gametest.framework.GameTestHarnessRegistry

Field summary

Modifier and TypeField
private static final Collection<TestFunction>
a
TEST_FUNCTIONS
field_20570
f_yaburyci
TEST_FUNCTIONS
TEST_FUNCTIONS
f_177495_
private static final Set<String>
b
TEST_CLASS_NAMES
field_20571
f_kpbolhee
TEST_CLASSES
TEST_CLASSES
f_177496_
private static final Map<String, Consumer<ServerLevel>>
c
BEFORE_BATCH_FUNCTIONS
field_20572
f_vnhysqul
BEFORE_BATCH_CONSUMERS
BEFORE_BATCH_CONSUMERS
f_177497_
private static final Map<String, Consumer<ServerLevel>>
d
AFTER_BATCH_FUNCTIONS
field_27806
f_imfbajmj
AFTER_BATCH_CONSUMERS
AFTER_BATCH_CONSUMERS
f_177498_
private static final Collection<TestFunction>
e
LAST_FAILED_TESTS
field_25302
f_adexhybm
FAILED_TEST_FUNCTIONS
FAILED_TEST_FUNCTIONS
f_177499_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(Class<?> arg0)
register(Class<?> arg0)
method_36068(Class<?> arg0)
m_xvzzalfy(Class<?> arg0)
register(Class<?> testClass)
register(Class<?> testClass)
m_177501_(Class<?> p_177502_)
public static void
a(Method arg0)
register(Method arg0)
method_36069(Method arg0)
m_qessuhgx(Method arg0)
register(Method method)
register(Method method)
m_177503_(Method p_177504_)
private static <T extends Annotation> void
a(Method arg0, Class<T> arg1, Function<T, String> arg2, Map<String, Consumer<ahm>> arg3)
registerBatchFunction(Method arg0, Class<T> arg1, Function<T, String> arg2, Map<String, Consumer<ServerLevel>> arg3)
method_36070(Method arg0, Class<T> arg1, Function<T, String> arg2, Map<String, Consumer<class_3218>> arg3)
m_hrvuvkwe(Method arg0, Class<T> arg1, Function<T, String> arg2, Map<String, Consumer<C_bdwnwhiu>> arg3)
registerBatchConsumers(Method method, Class<T> clazz, Function<T, String> batchIdFunction, Map<String, Consumer<ServerWorld>> batchConsumerMap)
registerBatchConsumers(Method method, Class<T> clazz, Function<T, String> batchIdFunction, Map<String, Consumer<ServerWorld>> batchConsumerMap)
m_177505_(Method p_177506_, Class<T> p_177507_, Function<T, String> p_177508_, Map<String, Consumer<C_12_>> p_177509_)
public static Collection<TestFunction>
a(String arg0)
getTestFunctionsForClassName(String arg0)
method_22193(String arg0)
m_ffptlqgd(String arg0)
getTestFunctions(String testClass)
getTestFunctions(String testClass)
m_127659_(String p_127660_)
public static Collection<TestFunction>
a()
getAllTestFunctions()
method_22191()
m_bcukpjbj()
getTestFunctions()
getTestFunctions()
m_127658_()
public static Collection<String>
b()
getAllTestClassNames()
method_22195()
m_ehtkqfpm()
getTestClasses()
getTestClasses()
m_127669_()
public static boolean
b(String arg0)
isTestClass(String arg0)
method_22196(String arg0)
m_hbbbdawa(String arg0)
testClassExists(String testClass)
testClassExists(String testClass)
m_127670_(String p_127671_)
public static Consumer<ServerLevel>
c(String arg0)
getBeforeBatchFunction(String arg0)
method_22198(String arg0)
m_rsuapxkm(String arg0)
getBeforeBatchConsumer(String batchId)
getBeforeBatchConsumer(String batchId)
m_127676_(String p_127677_)
public static Consumer<ServerLevel>
d(String arg0)
getAfterBatchFunction(String arg0)
method_32244(String arg0)
m_cxmuegns(String arg0)
getAfterBatchConsumer(String batchId)
getAfterBatchConsumer(String batchId)
m_177517_(String p_177518_)
public static Optional<TestFunction>
e(String arg0)
findTestFunction(String arg0)
method_22199(String arg0)
m_xxqzrfbb(String arg0)
getTestFunction(String structurePath)
getTestFunction(String structurePath)
m_127679_(String p_127680_)
public static TestFunction
f(String arg0)
getTestFunction(String arg0)
method_22200(String arg0)
m_llnxdkkc(String arg0)
getTestFunctionOrThrow(String structurePath)
getTestFunctionOrThrow(String structurePath)
m_127681_(String p_127682_)
private static Collection<TestFunction>
b(Method arg0)
useTestGeneratorMethod(Method arg0)
method_36072(Method arg0)
m_ienxtsis(Method arg0)
getCustomTestFunctions(Method method)
getCustomTestFunctions(Method method)
m_177513_(Method p_177514_)
private static TestFunction
c(Method arg0)
turnMethodIntoTestFunction(Method arg0)
method_36073(Method arg0)
m_tkkiwxle(Method arg0)
getTestFunction(Method method)
getTestFunction(Method method)
m_177515_(Method p_177516_)
private static Consumer<?>
d(Method arg0)
turnMethodIntoConsumer(Method arg0)
method_36074(Method arg0)
m_tqvecijt(Method arg0)
getInvoker(Method method)
getInvoker(Method method)
m_177519_(Method p_177520_)
private static boolean
a(qg arg0, String arg1)
isTestFunctionPartOfClass(TestFunction arg0, String arg1)
method_22192(class_4529 arg0, String arg1)
m_xrrtsito(C_pyqkxbzu arg0, String arg1)
isInClass(TestFunction testFunction, String testClass)
isInClass(TestFunction testFunction, String testClass)
m_127666_(C_4904_ p_127667_, String p_127668_)
public static Collection<TestFunction>
c()
getLastFailedTests()
method_29405()
m_odumnpkg()
getFailedTestFunctions()
getFailedTestFunctions()
m_127675_()
public static void
a(qg arg0)
rememberFailedTest(TestFunction arg0)
method_29404(class_4529 arg0)
m_zhuahcxt(C_pyqkxbzu arg0)
addFailedTestFunction(TestFunction testFunction)
addFailedTestFunction(TestFunction testFunction)
m_127664_(C_4904_ p_127665_)
public static void
d()
forgetFailedTests()
method_29406()
m_lhzwifhr()
clearFailedTestFunctions()
clearFailedTestFunctions()
m_127678_()