Class CmdTextTest
- All Implemented Interfaces:
Active, PluginIdentifiableCommand
VersionedComponent emits, across the whole of its surface.
Every other verification in this library checks packaging: which classes are present, what
bytecode level they carry, which provider a version ladder selects. None of them reads a
serializer's output, and defects reached releases because of that, click() for nine of
them. Each case here builds a component, takes the form this server's tier sends, and asserts on
the structural shape the receiving end reads rather than on payload text appearing somewhere.
Console mode is the reason this exists. Verification that needs a person logged in does not get
run across a version matrix, so the assertions live where a script can drive them: one
PASS or FAIL line per case and a RESULT line carrying counts, with
failures logged at Level.SEVERE. Player mode sends the same components to a client, for
the one question a wire assertion cannot answer, which is whether the client draws them.
The msg. cases cover AbstractMessageManager, which is a second and entirely
separate click and hover implementation reached only through
AbstractMessageManager.processAndSend(CommandSender, KMessage). It shares no code with VersionedComponent,
so a defect in one is invisible to every case that exercises the other.
-
Nested Class Summary
Nested classes/interfaces inherited from class KamiCommand
KamiCommand.Config -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class KamiCommand
addAliases, addAliases, addChild, addChild, addChildAfter, addParameter, addParameter, addRequirements, addRequirements, applyConcatenating, argIsSet, argIsSet, execute, getActivePlugin, getAllInstances, getBukkitCommandPermission, getChain, getChild, getCommandLine, getConcatenationIndex, getCurrentCommandLine, getCurrentTemplateChainMini, getCurrentTemplateUsageMini, getDesc, getDescPermission, getFullTemplate, getHelpClickable, getHelpCommand, getHelpCommandLine, getPageParameterIndex, getParameter, getParameterCount, getParameterCountOptional, getParameterCountRequired, getParameterType, getParents, getPlugin, getRequirementsError, getRoot, getSuggestionClickable, getSuggestionCommandLine, getTabCompletions, getTabCompletionsArg, getTabCompletionsChild, getTemplateParameters, getVisibleChildren, hasChildren, hasParameterForIndex, hasParent, isActive, isChild, isFullChainMet, isLeaf, isParent, isRelevant, isRequirementsMet, isRoot, isVisibleTo, onUnmatchedArg, readArg, readArg, registerCommand, removeChild, removeParent, replaceChild, setActive, setActive, setActivePlugin, setAliases, setAliases, setBukkitCommandPermission, setConcatenating, setDesc, setHelpComments, setHelpComments, setOverflowSensitive, setParameter, setParent, setRequirements, setSwapping, setTokenizing, setUnsmart, unregisterCommand, validateActiveAndRoot
-
Constructor Details
-
CmdTextTest
public CmdTextTest()
-
-
Method Details
-
perform
- Overrides:
performin classKamiCommand
-