Uses of Record Class
net.neoforged.testframework.Test.Status
Package
Description
-
Uses of Test.Status in net.neoforged.testframework
Modifier and TypeFieldDescriptionstatic final Test.Status
Test.Status.DEFAULT
static final Test.Status
Test.Status.PASSED
Modifier and TypeMethodDescriptionstatic Test.Status
static Test.Status
Test.Status.passed()
static Test.Status
default Test.Status
DynamicTest.status()
Returns the status of this test.Modifier and TypeMethodDescriptionvoid
TestFramework.changeStatus
(Test test, Test.Status newStatus, @Nullable Entity changer) Changes the status of a test.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.default void
DynamicTest.updateStatus
(Test.Status newStatus, @Nullable Entity updater) Updates the status of the test. -
Uses of Test.Status in net.neoforged.testframework.client
Modifier and TypeMethodDescription(package private) static MutableComponent
TestsOverlay.statusColoured
(Component input, Test.Status status) -
Uses of Test.Status in net.neoforged.testframework.impl
Modifier and TypeFieldDescriptionprivate final Map
<String, Test.Status> TestFrameworkImpl.TestsImpl.statuses
Modifier and TypeMethodDescriptionModifier and TypeMethodDescriptionvoid
TestFrameworkImpl.changeStatus
(Test test, Test.Status newStatus, @Nullable Entity changer) private Component
Commands.formatStatus
(Test.Status status) void
MutableTestFramework.MutableTests.setStatus
(String testId, Test.Status status) void
TestFrameworkImpl.TestsImpl.setStatus
(String testId, Test.Status status) -
Uses of Test.Status in net.neoforged.testframework.impl.packet
Modifier and TypeFieldDescriptionprivate final Test.Status
ChangeStatusPayload.status
The field for thestatus
record component.Modifier and TypeMethodDescriptionChangeStatusPayload.status()
Returns the value of thestatus
record component.ModifierConstructorDescriptionChangeStatusPayload
(MutableTestFramework framework, String testId, Test.Status status) Creates an instance of aChangeStatusPayload
record class. -
Uses of Test.Status in net.neoforged.testframework.impl.test
Modifier and TypeMethodDescriptionvoid
AbstractTest.updateStatus
(Test.Status status, @Nullable Entity changer) -
Uses of Test.Status in net.neoforged.testframework.summary
Modifier and TypeFieldDescriptionprivate final Test.Status
TestSummary.TestInfo.status
The field for thestatus
record component.Modifier and TypeMethodDescriptionTestSummary.TestInfo.status()
Returns the value of thestatus
record component.