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 ClassesNested classes/interfaces inherited from interface net.neoforged.testframework.TestFramework
TestFramework.Tests -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault StringbuildCommand(String subCommand) collectTests(net.neoforged.fml.ModContainer container) default ClickEventdisableCommand(String id) default ClickEventenableCommand(String id) voidinit(net.neoforged.bus.api.IEventBus modBus, net.neoforged.fml.ModContainer container) voidregisterCommands(com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> node) default ClickEventsetStatusCommand(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:TestFrameworkReturns the Tests instance of this framework.- Specified by:
testsin interfaceTestFramework- Returns:
- the Tests instance of this framework
-