Home
last modified time | relevance | path

Searched refs:usageString (Results 1 – 2 of 2) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationTest.java421 final String usageString = outputStream.toString(); in testPrintCommandUsage() local
422 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()
DConfigurationFactoryTest.java340 final String usageString = outputStream.toString(); in testPrintHelp() local
341 assertTrue(usageString.contains("instrument")); in testPrintHelp()
355 final String usageString = outputStream.toString(); in testPrintHelpForConfig_configExists() local
356 assertTrue(usageString.contains(TEST_CONFIG)); in testPrintHelpForConfig_configExists()