Package net.neoforged.testframework.impl
Interface MutableTestFramework
- All Superinterfaces:
TestFramework
- All Known Implementing Classes:
TestFrameworkImpl
Interface with directly mutating methods for
TestFrameworks
.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.neoforged.testframework.TestFramework
TestFramework.Tests
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
buildCommand
(String subCommand) collectTests
(net.neoforged.fml.ModContainer container) default ClickEvent
disableCommand
(String id) default ClickEvent
enableCommand
(String id) void
init
(net.neoforged.bus.api.IEventBus modBus, net.neoforged.fml.ModContainer container) void
registerCommands
(com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> node) default ClickEvent
setStatusCommand
(String testId, Test.Result result, String message) tests()
Returns the Tests instance of this framework.Methods inherited from interface net.neoforged.testframework.TestFramework
changeStatus, container, dynamicStructures, id, logger, modEventBus, setEnabled
-
Field Details
-
REFERENCE_CODEC
-
-
Method Details
-
configuration
FrameworkConfiguration configuration() -
init
void init(net.neoforged.bus.api.IEventBus modBus, net.neoforged.fml.ModContainer container) -
registerCommands
-
collectTests
-
playerTestStore
PlayerTestStore playerTestStore() -
commandName
String commandName() -
buildCommand
-
setStatusCommand
-
enableCommand
-
disableCommand
-
tests
Description copied from interface:TestFramework
Returns the Tests instance of this framework.- Specified by:
tests
in interfaceTestFramework
- Returns:
- the Tests instance of this framework
-