Uses of Interface
net.neoforged.testframework.Test
Package
Description
-
Uses of Test in net.neoforged.testframework
Modifier and TypeInterfaceDescriptioninterface
Modifier 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
.Modifier 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, Entity changer) This method is called when a test is disabled.default void
TestListener.onEnabled
(TestFramework framework, Test test, 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, 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
Modifier and TypeFieldDescriptionprivate final Test
AbstractTestScreen.GroupableList.TestEntry.test
Modifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.Object2FloatMap<Test>
TestsOverlay.fading
TestsOverlay.lastRenderedTests
Modifier and TypeMethodDescriptionprivate TestsOverlay.XY
TestsOverlay.renderTest
(ExtendedGui gui, Font font, Test test, GuiGraphics stack, int maxWidth, int x, int y, int colour, List<Runnable> rendering) Modifier and TypeMethodDescriptionprivate Stream<? extends AbstractTestScreen.GroupableList.Entry>
AbstractTestScreen.GroupableList.withGroups
(Stream<Test> tests, List<Group> groups) ModifierConstructorDescriptionGroupableList
(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
Modifier 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
Modifier and TypeFieldDescriptionprivate final Collection<Test>
TestFrameworkImpl.TestsImpl.allView
TestFrameworkImpl.TestsImpl.tests
Modifier and TypeMethodDescriptionTestFrameworkImpl.TestsImpl.all()
MutableTestFramework.collectTests
(net.neoforged.fml.ModContainer container) TestFrameworkImpl.collectTests
(net.neoforged.fml.ModContainer container) MutableTestFramework.MutableTests.enabled()
TestFrameworkImpl.TestsImpl.enabled()
SummaryDumper.enabledTests()
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) SummaryDumper.unique()
Modifier and TypeMethodDescriptionvoid
TestFrameworkImpl.changeStatus
(Test test, Test.Status newStatus, @Nullable Entity changer) void
void
TestFrameworkImpl.setEnabled
(Test test, boolean enabled, @Nullable Entity changer) Modifier and TypeMethodDescriptionprivate <T> com.mojang.brigadier.suggestion.SuggestionProvider<T>
Commands.suggestTest
(Predicate<Test> predicate) -
Uses of Test in net.neoforged.testframework.impl.test
Modifier and TypeClassDescriptionclass
static class
class
class
class