net.minecraft.gametest.framework

public class GameTestRegistry

tu
net.minecraft.gametest.framework.GameTestRegistry
net.minecraft.class_4519
net.minecraft.test.TestFunctions
net.minecraft.gametest.framework.GameTestHarnessRegistry

Field summary

Modifier and TypeField
private static final Collection<TestFunction>
a
TEST_FUNCTIONS
field_20570
TEST_FUNCTIONS
private static final Set<String>
b
TEST_CLASS_NAMES
field_20571
TEST_CLASSES
private static final Map<String, Consumer<ServerLevel>>
c
BEFORE_BATCH_FUNCTIONS
field_20572
BEFORE_BATCH_CONSUMERS
private static final Map<String, Consumer<ServerLevel>>
d
AFTER_BATCH_FUNCTIONS
field_27806
AFTER_BATCH_CONSUMERS
private static final Set<TestFunction>
e
LAST_FAILED_TESTS
field_25302
FAILED_TEST_FUNCTIONS

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(Class<?> arg0)
register(Class<?> arg0)
method_36068(Class<?> arg0)
register(Class<?> testClass)
public static void
a(Method arg0)
register(Method arg0)
method_36069(Method arg0)
register(Method method)
private static <T extends Annotation> void
a(Method arg0, Class<T> arg1, Function<T, String> arg2, Map<String, Consumer<ash>> 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)
registerBatchConsumers(Method method, Class<T> clazz, Function<T, String> batchIdFunction, Map<String, Consumer<ServerWorld>> batchConsumerMap)
public static Stream<TestFunction>
a(String arg0)
getTestFunctionsForClassName(String arg0)
method_22193(String arg0)
getTestFunctions(String testClass)
public static Collection<TestFunction>
a()
getAllTestFunctions()
method_22191()
getTestFunctions()
public static Collection<String>
b()
getAllTestClassNames()
method_22195()
getTestClasses()
public static boolean
b(String arg0)
isTestClass(String arg0)
method_22196(String arg0)
testClassExists(String testClass)
public static Consumer<ServerLevel>
c(String arg0)
getBeforeBatchFunction(String arg0)
method_22198(String arg0)
getBeforeBatchConsumer(String batchId)
public static Consumer<ServerLevel>
d(String arg0)
getAfterBatchFunction(String arg0)
method_32244(String arg0)
getAfterBatchConsumer(String batchId)
public static Optional<TestFunction>
e(String arg0)
findTestFunction(String arg0)
method_22199(String arg0)
getTestFunction(String structurePath)
public static TestFunction
f(String arg0)
getTestFunction(String arg0)
method_22200(String arg0)
getTestFunctionOrThrow(String structurePath)
private static Collection<TestFunction>
b(Method arg0)
useTestGeneratorMethod(Method arg0)
method_36072(Method arg0)
getCustomTestFunctions(Method method)
private static TestFunction
c(Method arg0)
turnMethodIntoTestFunction(Method arg0)
method_36073(Method arg0)
getTestFunction(Method method)
private static Consumer<?>
d(Method arg0)
turnMethodIntoConsumer(Method arg0)
method_36074(Method arg0)
getInvoker(Method method)
private static boolean
a(um arg0, String arg1)
isTestFunctionPartOfClass(TestFunction arg0, String arg1)
method_22192(class_4529 arg0, String arg1)
isInClass(TestFunction testFunction, String testClass)
public static Stream<TestFunction>
c()
getLastFailedTests()
method_29405()
getFailedTestFunctions()
public static void
a(um arg0)
rememberFailedTest(TestFunction arg0)
method_29404(class_4529 arg0)
addFailedTestFunction(TestFunction testFunction)
public static void
d()
forgetFailedTests()
method_29406()
clearFailedTestFunctions()