VeraCliArgParser { public boolean showVersion() { return this.showVersion; }  boolean showVersion(); boolean listProfiles(); boolean isVerbose(); int maxFailuresDisplayed(); int maxFailures(); boolean fixMetadata(); String prefix(); String saveFolder(); Boolean nonPdfExt(); boolean isRecurse(); boolean isServerMode(); boolean isHelp(); FormatOption getFormat(); boolean logPassed(); boolean extractFeatures(); PDFAFlavour getFlavour(); File getProfileFile(); File getPolicyFile(); boolean isPolicy(); File getVeraCLIPath(); int getNumberOfProcesses(); List<String> getPdfPaths(); boolean isValidationOff(); ValidatorConfig validatorConfig(); MetadataFixerConfig fixerConfig(); VeraAppConfig appConfig(final VeraAppConfig base); ProcessorConfig processorConfig(final ProcessType procType, FeatureExtractorConfig featConfig,
										   PluginsCollectionConfig plugConfig); static List<String> getBaseVeraPDFParameters(VeraCliArgParser cliArgParser);  }
@Test public final void testVersionDefault() { assertFalse(VeraCliArgParser.DEFAULT_ARGS.showVersion()); VeraCliArgParser parser = new VeraCliArgParser(); JCommander jCommander = initialiseJCommander(parser); jCommander.parse(new String[] {}); assertTrue(parser.showVersion() == VeraCliArgParser.DEFAULT_ARGS .showVersion()); parser = new VeraCliArgParser(); jCommander = initialiseJCommander(parser); jCommander.parse(new String[] { "-l", "-h", "--success" }); assertTrue(parser.showVersion() == VeraCliArgParser.DEFAULT_ARGS .showVersion()); }
@Test public final void testVersionOption() { VeraCliArgParser parser = new VeraCliArgParser(); JCommander jCommander = initialiseJCommander(parser); jCommander.parse(new String[] { "--version" }); assertFalse(parser.showVersion() == VeraCliArgParser.DEFAULT_ARGS .showVersion()); parser = new VeraCliArgParser(); jCommander = initialiseJCommander(parser); jCommander.parse(new String[] { "--version", "-l", "--passed" }); assertFalse(parser.showVersion() == VeraCliArgParser.DEFAULT_ARGS .showVersion()); }