Searched refs:usageString (Results 1 – 2 of 2) sorted by relevance
421 final String usageString = outputStream.toString(); in testPrintCommandUsage() local422 assertTrue("Usage text does not contain config name", usageString.contains(CONFIG_NAME)); in testPrintCommandUsage()423 assertTrue("Usage text does not contain config description", usageString.contains( in testPrintCommandUsage()425 assertTrue("Usage text does not contain object name", usageString.contains( in testPrintCommandUsage()427 assertTrue("Usage text does not contain option name", usageString.contains(OPTION_NAME)); in testPrintCommandUsage()429 usageString.contains(OPTION_DESCRIPTION)); in testPrintCommandUsage()433 usageString.contains("serial")); in testPrintCommandUsage()
340 final String usageString = outputStream.toString(); in testPrintHelp() local341 assertTrue(usageString.contains("instrument")); in testPrintHelp()355 final String usageString = outputStream.toString(); in testPrintHelpForConfig_configExists() local356 assertTrue(usageString.contains(TEST_CONFIG)); in testPrintHelpForConfig_configExists()