use of org.apache.ignite.internal.commandline.CommandList in project ignite by apache.
the class GridCommandHandlerClusterByClassTest method testHelp.
/**
*/
@Test
public void testHelp() throws Exception {
injectTestSystemOut();
assertEquals(EXIT_CODE_OK, execute("--help"));
String testOutStr = testOut.toString();
for (CommandList cmd : CommandList.values()) assertContains(log, testOutStr, cmd.toString());
assertNotContains(log, testOutStr, "Control.sh");
checkHelp(testOutStr, "org.apache.ignite.util/" + getClass().getSimpleName() + "_help.output");
}
Aggregations