| | |
| | | * This class tests that help reference message is prompted for all tools when |
| | | * no arguments are provided or if they failed to be parsed. |
| | | */ |
| | | @SuppressWarnings("javadoc") |
| | | public class ArgumentParserToolsTestCase extends ToolsTestCase |
| | | { |
| | | private static final boolean ERRORS_ON_STDOUT = false; |
| | |
| | | @Test(dataProvider = "invalidArgs") |
| | | public void testVerifyIndex(final String[] args) |
| | | { |
| | | assertToolFailsWithUsage(VerifyIndex.mainVerifyIndex(args, false, outStream, errStream)); |
| | | assertToolFailsWithUsage(VerifyIndex.mainVerifyIndex(args, false, errStream)); |
| | | } |
| | | |
| | | } |