Package dev.jorel.commandapi
Class CommandAPIVersionHandler
java.lang.Object
dev.jorel.commandapi.CommandAPIVersionHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidusePlatformImplementation(CommandAPIPlatform<?, ?, ?> platform) Configures the test kit to use the givenCommandAPIPlatformwhen the CommandAPI is loaded.
-
Constructor Details
-
CommandAPIVersionHandler
public CommandAPIVersionHandler()
-
-
Method Details
-
usePlatformImplementation
Configures the test kit to use the givenCommandAPIPlatformwhen the CommandAPI is loaded.- Parameters:
platform- TheCommandAPIPlatformto use for the next test. This will likely be a custom implementation ofMockCommandAPIBukkitthat overrides a method you need to run tests that doesn't have a proper implementation inMockCommandAPIBukkit.
-