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 TypeMethodDescriptionvoid
BulkKnownPackTest.Listener.onEnabled
(TestFramework framework, Test test, @Nullable Entity changer) -
Uses of Test in net.neoforged.testframework
Subinterfaces of Test in net.neoforged.testframeworkModifier and TypeInterfaceDescriptioninterface
Methods 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 TypeMethodDescriptionvoid
TestFramework.changeStatus
(Test test, Test.Status newStatus, @Nullable Entity changer) Changes the status of a test.default void
TestListener.onDisabled
(TestFramework framework, Test test, @Nullable Entity changer) This method is called when a test is disabled.default void
TestListener.onEnabled
(TestFramework framework, Test test, @Nullable Entity changer) This method is called when a test is enabled.default void
TestListener.onStatusChange
(TestFramework framework, Test test, Test.Status oldStatus, Test.Status newStatus, @Nullable Entity changer) This method is called when a test changes its status.void
Registers a test to the framework.void
TestFramework.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 Test
AbstractTestScreen.GroupableList.TestEntry.test
Fields in net.neoforged.testframework.client with type parameters of type TestModifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.Object2FloatMap
<Test> TestsOverlay.fading
TestsOverlay.lastRenderedTests
Methods in net.neoforged.testframework.client with parameters of type TestModifier and TypeMethodDescriptionprivate TestsOverlay.XY
TestsOverlay.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.allView
TestFrameworkImpl.TestsImpl.tests
Methods 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 TypeMethodDescriptionvoid
TestFrameworkImpl.changeStatus
(Test test, Test.Status newStatus, @Nullable Entity changer) void
void
TestFrameworkImpl.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 TypeClassDescriptionclass
static class
class
class
class