Uses of Interface
net.neoforged.testframework.Test
Packages that use Test
Package
Description
-
Uses of Test in net.neoforged.neoforge.debug.resources
Methods in net.neoforged.neoforge.debug.resources with parameters of type TestModifier and TypeMethodDescriptionvoidBulkKnownPackTest.Listener.onEnabled(TestFramework framework, Test test, @Nullable Entity changer) -
Uses of Test in net.neoforged.testframework
Subinterfaces of Test in net.neoforged.testframeworkModifier and TypeInterfaceDescriptioninterfaceMethods in net.neoforged.testframework that return types with arguments of type TestModifier and TypeMethodDescription@UnmodifiableView Collection<Test> TestFramework.Tests.all()Returns an unmodifiable view of all the tests registered this this instance.Queries a test by its ID.Test.resolveAll()Resolves all tests in this groupable element.Test.resolveAsStream()Resolves all tests in this groupable element as aStream.Methods in net.neoforged.testframework with parameters of type TestModifier and TypeMethodDescriptionvoidTestFramework.changeStatus(Test test, Test.Status newStatus, @Nullable Entity changer) Changes the status of a test.default voidTestListener.onDisabled(TestFramework framework, Test test, @Nullable Entity changer) This method is called when a test is disabled.default voidTestListener.onEnabled(TestFramework framework, Test test, @Nullable Entity changer) This method is called when a test is enabled.default voidTestListener.onStatusChange(TestFramework framework, Test test, Test.Status oldStatus, Test.Status newStatus, @Nullable Entity changer) This method is called when a test changes its status.voidRegisters a test to the framework.voidTestFramework.setEnabled(Test test, boolean enabled, @Nullable Entity changer) Enables or disables a test. -
Uses of Test in net.neoforged.testframework.client
Fields in net.neoforged.testframework.client declared as TestModifier and TypeFieldDescriptionprivate final TestAbstractTestScreen.GroupableList.TestEntry.testFields in net.neoforged.testframework.client with type parameters of type TestModifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.Object2FloatMap<Test> TestsOverlay.fadingTestsOverlay.lastRenderedTestsMethods in net.neoforged.testframework.client with parameters of type TestModifier and TypeMethodDescriptionprivate TestsOverlay.XYTestsOverlay.renderTest(Font font, Test test, GuiGraphics stack, int maxWidth, int x, int y, int colour, List<Runnable> rendering) Method parameters in net.neoforged.testframework.client with type arguments of type TestModifier and TypeMethodDescriptionprivate Stream<? extends AbstractTestScreen.GroupableList.Entry> AbstractTestScreen.GroupableList.withGroups(Stream<Test> tests, List<Group> groups) Constructors in net.neoforged.testframework.client with parameters of type TestConstructor parameters in net.neoforged.testframework.client with type arguments of type TestModifierConstructorDescriptionGroupableList(BooleanSupplier isGrouped, List<Group> groups, Supplier<Stream<Test>> tests, Minecraft pMinecraft, int pWidth, int pHeight, int pY, int pItemHeight) -
Uses of Test in net.neoforged.testframework.group
Methods in net.neoforged.testframework.group that return types with arguments of type TestModifier and TypeMethodDescriptionGroupable.resolveAll()Resolves all tests in this groupable element.Group.resolveAsStream()Groupable.resolveAsStream()Resolves all tests in this groupable element as aStream. -
Uses of Test in net.neoforged.testframework.impl
Fields in net.neoforged.testframework.impl with type parameters of type TestModifier and TypeFieldDescriptionprivate final Collection<Test> TestFrameworkImpl.TestsImpl.allViewTestFrameworkImpl.TestsImpl.testsMethods in net.neoforged.testframework.impl that return types with arguments of type TestModifier and TypeMethodDescriptionTestFrameworkImpl.TestsImpl.all()MutableTestFramework.collectTests(net.neoforged.fml.ModContainer container) TestFrameworkImpl.collectTests(net.neoforged.fml.ModContainer container) MutableTestFramework.MutableTests.enabled()TestFrameworkImpl.TestsImpl.enabled()FrameworkCollectors.Tests.eventTestMethodsWithAnnotation(net.neoforged.fml.ModContainer container, Class<? extends Annotation> annotation) FrameworkCollectors.Tests.forClassesWithAnnotation(net.neoforged.fml.ModContainer container, Class<? extends Annotation> annotation) FrameworkCollectors.Tests.forGameTestMethodsWithAnnotation(net.neoforged.fml.ModContainer container, Class<? extends Annotation> annotation) FrameworkCollectors.Tests.forMethodsWithAnnotation(net.neoforged.fml.ModContainer container, Class<? extends Annotation> annotation) Methods in net.neoforged.testframework.impl with parameters of type TestModifier and TypeMethodDescriptionvoidTestFrameworkImpl.changeStatus(Test test, Test.Status newStatus, @Nullable Entity changer) voidvoidTestFrameworkImpl.setEnabled(Test test, boolean enabled, @Nullable Entity changer) Method parameters in net.neoforged.testframework.impl with type arguments of type TestModifier and TypeMethodDescriptionprivate <T> com.mojang.brigadier.suggestion.SuggestionProvider<T> Commands.suggestTest(Predicate<Test> predicate) -
Uses of Test in net.neoforged.testframework.impl.test
Classes in net.neoforged.testframework.impl.test that implement TestModifier and TypeClassDescriptionclassstatic classclassclassclass