接口 MutableTestFramework
- 所有超级接口:
TestFramework
- 所有已知实现类:
TestFrameworkImpl
Interface with directly mutating methods for
TestFrameworks
.- 另请参阅:
-
嵌套类概要
嵌套类从接口继承的嵌套类/接口 net.neoforged.testframework.TestFramework
TestFramework.Tests
-
字段概要
字段 -
方法概要
修饰符和类型方法说明default 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()
返回 the Tests instance of this framework。从接口继承的方法 net.neoforged.testframework.TestFramework
changeStatus, container, dynamicStructures, id, logger, modEventBus, setEnabled
-
字段详细资料
-
REFERENCE_CODEC
-
-
方法详细资料
-
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
从接口复制的说明:TestFramework
返回 the Tests instance of this framework。- 指定者:
tests
在接口中TestFramework
- 返回:
- the Tests instance of this framework
-