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.java45 private OptionSetter mOption = null; field in FakeTestTest
52 mOption = new OptionSetter(mTest); in setUp()
150 mOption.setOptionValue("run", name, ""); in testRun_empty()
163 mOption.setOptionValue("run", name, "P"); in testRun_simplePass()
176 mOption.setOptionValue("run", name, "F"); in testRun_simpleFail()
194 mOption.setOptionValue("run", name, "PFPAI"); in testRun_basicSequence()
220 mOption.setOptionValue("run", name, "P"); in testRun_withLogging()
221 mOption.setOptionValue("test-log", testLog.getAbsolutePath()); in testRun_withLogging()
222 mOption.setOptionValue("test-run-log", testRunLog.getAbsolutePath()); in testRun_withLogging()
223 mOption.setOptionValue("test-invocation-log", invocationLog.getAbsolutePath()); in testRun_withLogging()
[all …]
DDeviceJUnit4ClassRunnerTest.java106 public File mOption = FAKE_REMOTE_FILE_PATH;
110 assertNotNull(mOption);
111 assertNotEquals(FAKE_REMOTE_FILE_PATH, mOption);
DDeviceSuiteTest.java79 private String mOption = null; field in DeviceSuiteTest.Junit4DeviceTestclass
90 if (mOption != null) { in testPass1()
91 metrics.addTestMetric("option", mOption); in testPass1()
DHostTestTest.java192 public boolean mOption = false; field in HostTestTest.Junit4TestClass
211 if (mOption) { in testPass6()
355 private String mOption = null; field in HostTestTest.Junit4RegularClass
412 public String mOption = null; field in HostTestTest.SuccessDeviceTest
420 if (mOption != null) { in testPass()
421 addTestMetric("option", mOption); in testPass()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationFactoryTest.java399 assertEquals("valueFromTestConfig", fromTestConfig.mOption); in testCreateConfigurationFromArgs_includeConfig()
400 assertEquals("valueFromIncludeConfig", fromIncludeConfig.mOption); in testCreateConfigurationFromArgs_includeConfig()
417 assertEquals("valueFromTestConfig", innerConfig.mOption); in testCreateConfigurationFromArgs_defaultTemplateInclude_default()
418 assertEquals("valueFromTemplateIncludeWithDefaultConfig", outerConfig.mOption); in testCreateConfigurationFromArgs_defaultTemplateInclude_default()
437 assertEquals("valueFromTestConfig", innerConfig.mOption); in testCreateConfigurationFromArgs_includeTemplateIncludeWithDefault()
438 assertEquals("valueFromTemplateIncludeWithDefaultConfig", middleConfig.mOption); in testCreateConfigurationFromArgs_includeTemplateIncludeWithDefault()
439 assertEquals("valueFromIncludeTemplateConfigWithDefault", outerConfig.mOption); in testCreateConfigurationFromArgs_includeTemplateIncludeWithDefault()
459 assertEquals("valueFromTestConfig", innerConfig.mOption); in testCreateConfigurationFromArgs_defaultTemplateInclude_alternate()
460 assertEquals("valueFromIncludeConfig", middleConfig.mOption); in testCreateConfigurationFromArgs_defaultTemplateInclude_alternate()
461 assertEquals("valueFromTemplateIncludeWithDefaultConfig", outerConfig.mOption); in testCreateConfigurationFromArgs_defaultTemplateInclude_alternate()
[all …]
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()
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()
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()