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.java428 final String usageString = outputStream.toString(); in testPrintCommandUsage() local
429 assertTrue("Usage text does not contain config name", usageString.contains(CONFIG_NAME)); in testPrintCommandUsage()
430 assertTrue("Usage text does not contain config description", usageString.contains( in testPrintCommandUsage()
432 assertTrue("Usage text does not contain object name", usageString.contains( in testPrintCommandUsage()
434 assertTrue("Usage text does not contain option name", usageString.contains(OPTION_NAME)); in testPrintCommandUsage()
436 usageString.contains(OPTION_DESCRIPTION)); in testPrintCommandUsage()
440 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()