Home
last modified time | relevance | path

Searched refs:mOption (Results 1 – 9 of 9) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DFakeTestTest.java46 private OptionSetter mOption = null; field in FakeTestTest
54 mOption = new OptionSetter(mTest); in setUp()
153 mOption.setOptionValue("run", name, ""); in testRun_empty()
166 mOption.setOptionValue("run", name, "P"); in testRun_simplePass()
179 mOption.setOptionValue("run", name, "F"); in testRun_simpleFail()
197 mOption.setOptionValue("run", name, "PFPAI"); in testRun_basicSequence()
223 mOption.setOptionValue("run", name, "P"); in testRun_withLogging()
224 mOption.setOptionValue("test-log", testLog.getAbsolutePath()); in testRun_withLogging()
225 mOption.setOptionValue("test-run-log", testRunLog.getAbsolutePath()); in testRun_withLogging()
226 mOption.setOptionValue("test-invocation-log", invocationLog.getAbsolutePath()); in testRun_withLogging()
[all …]
DDeviceJUnit4ClassRunnerTest.java95 public File mOption = FAKE_REMOTE_FILE_PATH; field in DeviceJUnit4ClassRunnerTest.Junit4TestClass
99 assertNotNull(mOption); in testPass()
100 assertNotEquals(FAKE_REMOTE_FILE_PATH, mOption); in testPass()
DDeviceSuiteTest.java87 private String mOption = null; field in DeviceSuiteTest.Junit4DeviceTestclass
98 if (mOption != null) { in testPass1()
99 metrics.addTestMetric("option", mOption); in testPass1()
DHostTestTest.java205 public boolean mOption = false; field in HostTestTest.Junit4TestClass
224 if (mOption) { in testPass6()
392 private String mOption = null; field in HostTestTest.Junit4RegularClass
449 public String mOption = null; field in HostTestTest.SuccessDeviceTest
457 if (mOption != null) { in testPass()
458 addTestMetric("option", mOption); in testPass()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationFactoryTest.java447 assertEquals("valueFromTestConfig", fromTestConfig.mOption); in testCreateConfigurationFromArgs_includeConfig()
448 assertEquals("valueFromIncludeConfig", fromIncludeConfig.mOption); in testCreateConfigurationFromArgs_includeConfig()
465 assertEquals("valueFromTestConfig", innerConfig.mOption); in testCreateConfigurationFromArgs_defaultTemplateInclude_default()
466 assertEquals("valueFromTemplateIncludeWithDefaultConfig", outerConfig.mOption); in testCreateConfigurationFromArgs_defaultTemplateInclude_default()
485 assertEquals("valueFromTestConfig", innerConfig.mOption); in testCreateConfigurationFromArgs_includeTemplateIncludeWithDefault()
486 assertEquals("valueFromTemplateIncludeWithDefaultConfig", middleConfig.mOption); in testCreateConfigurationFromArgs_includeTemplateIncludeWithDefault()
487 assertEquals("valueFromIncludeTemplateConfigWithDefault", outerConfig.mOption); in testCreateConfigurationFromArgs_includeTemplateIncludeWithDefault()
507 assertEquals("valueFromTestConfig", innerConfig.mOption); in testCreateConfigurationFromArgs_defaultTemplateInclude_alternate()
508 assertEquals("valueFromIncludeConfig", middleConfig.mOption); in testCreateConfigurationFromArgs_defaultTemplateInclude_alternate()
509 assertEquals("valueFromTemplateIncludeWithDefaultConfig", outerConfig.mOption); in testCreateConfigurationFromArgs_defaultTemplateInclude_alternate()
[all …]
DArgsOptionParserTest.java148 Boolean mOption = null; field in ArgsOptionParserTest.NonGlobalOptionSource
289 assertNull(source.mOption); in testNonGlobalOptionSource_alias()
291 assertTrue(source.mOption); in testNonGlobalOptionSource_alias()
293 assertFalse(source.mOption); in testNonGlobalOptionSource_alias()
303 assertNull(source.mOption); in testNonGlobalOptionSource_className()
305 assertTrue(source.mOption); in testNonGlobalOptionSource_className()
307 assertFalse(source.mOption); in testNonGlobalOptionSource_className()
317 assertNull(source.mOption); in testNonGlobalOptionSource_global()
DConfigurationDefTest.java60 private String mOption; field in ConfigurationDefTest.OptionTest
103 assertEquals(OPTION_VALUE, test.mOption); in testCreateConfiguration()
119 assertEquals(OPTION_VALUE, test.mOption); in testCreateConfiguration_withDeviceHolder()
DStubOptionTest.java28 public String mOption = "default"; field in StubOptionTest
/tools/loganalysis/tests/src/com/android/loganalysis/util/config/
DArgsOptionParserTest.java132 Boolean mOption = null; field in ArgsOptionParserTest.NonGlobalOptionSource
271 assertNull(source.mOption); in testNonGlobalOptionSource_alias()
273 assertTrue(source.mOption); in testNonGlobalOptionSource_alias()
275 assertFalse(source.mOption); in testNonGlobalOptionSource_alias()
285 assertNull(source.mOption); in testNonGlobalOptionSource_className()
287 assertTrue(source.mOption); in testNonGlobalOptionSource_className()
289 assertFalse(source.mOption); in testNonGlobalOptionSource_className()
299 assertNull(source.mOption); in testNonGlobalOptionSource_global()