Home
last modified time | relevance | path

Searched refs:Configuration (Results 1 – 25 of 27) sorted by relevance

12

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DValidateSuiteConfigHelperTest.java25 import com.android.tradefed.config.Configuration;
60 IConfiguration config = new Configuration("test", "test description"); in testCanRunAsSuite()
67 IConfiguration config = new Configuration("test", "test description"); in testNotRunningAsSuite_buildProvider()
75 assertTrue(expected.getMessage().contains(Configuration.BUILD_PROVIDER_TYPE_NAME)); in testNotRunningAsSuite_buildProvider()
85 IConfiguration config = new Configuration("test", "test description"); in testNotRunningAsSuite_MultiDevice_buildProvider()
95 assertTrue(expected.getMessage().contains(Configuration.BUILD_PROVIDER_TYPE_NAME)); in testNotRunningAsSuite_MultiDevice_buildProvider()
105 IConfiguration config = new Configuration("test", "test description"); in testParse_MultiDevice()
123 IConfiguration config = new Configuration("test", "test description"); in testNotRunningAsSuite_resultReporter()
129 assertTrue(expected.getMessage().contains(Configuration.RESULT_REPORTER_TYPE_NAME)); in testNotRunningAsSuite_resultReporter()
136 IConfiguration config = new Configuration("test", "test description"); in testNotRunningAsSuite_multi_resultReporter()
[all …]
DModuleSplitterTest.java22 import com.android.tradefed.config.Configuration;
54 IConfiguration config = new Configuration("fakeConfig", "desc"); in testSplitModule_configNotShardable()
85 IConfiguration config = new Configuration("fakeConfig", "desc"); in testSplitModule_configNotStrictShardable_dynamic()
116 IConfiguration config = new Configuration("fakeConfig", "desc"); in testSplitModule_configNotStrictShardable_notDynamic()
147 IConfiguration config = new Configuration("fakeConfig", "desc"); in testSplitModule_testNotShardable()
182 IConfiguration config = new Configuration("fakeConfig", "desc"); in testSplitModule_testShardable_didNotShard()
209 IConfiguration config = new Configuration("fakeConfig", "desc"); in testSplitModule_testShardable_shard()
235 IConfiguration config = new Configuration("fakeConfig", "desc"); in testSplitModule_testShardable_shard_noDynamic()
DITestSuiteTest.java25 import com.android.tradefed.config.Configuration;
180 mStubMainConfiguration = new Configuration("stub", "stub"); in setUp()
619 IConfiguration config = new Configuration("foo", "bar"); in testMetadataFilter_emptyFilters()
628 IConfiguration config = new Configuration("foo", "bar"); in testMetadataFilter_matchInclude()
643 IConfiguration config = new Configuration("foo", "bar"); in testMetadataFilter_noMatchInclude_mismatchValue()
658 IConfiguration config = new Configuration("foo", "bar"); in testMetadataFilter_noMatchInclude_mismatchKey()
673 IConfiguration config = new Configuration("foo", "bar"); in testMetadataFilter_matchExclude()
688 IConfiguration config = new Configuration("foo", "bar"); in testMetadataFilter_noMatchExclude_mismatchKey()
703 IConfiguration config = new Configuration("foo", "bar"); in testMetadataFilter_noMatchExclude_mismatchValue()
721 IConfiguration config = new Configuration("foo", "bar"); in testMetadataFilter_matchInclude_multipleMetadataField()
[all …]
DModuleDefinitionTest.java24 import com.android.tradefed.config.Configuration;
175 new Configuration("", "")); in setUp()
308 new Configuration("", "")); in testRun_failPreparation()
338 new Configuration("", "")); in testRun_fullPass()
382 new Configuration("", "")); in testRun_partialRun()
429 IConfiguration config = new Configuration("", ""); in testAbiSetting()
434 Configuration.CONFIGURATION_DESCRIPTION_TYPE_NAME, descriptor); in testAbiSetting()
461 IConfiguration config = new Configuration("", ""); in testModuleController_fullBypass()
504 IConfiguration config = new Configuration("", ""); in testModuleController_skipTestCases()
594 new Configuration("", "")); in testModule_LogSaverResultForwarder()
[all …]
DModuleDefinitionMultiTest.java19 import com.android.tradefed.config.Configuration;
67 mMultiDeviceConfiguration = new Configuration("name", "description"); in setUp()
DITestSuiteMultiTest.java19 import com.android.tradefed.config.Configuration;
123 mStubMainConfiguration = new Configuration("stub", "stub"); in setUp()
DTfSuiteRunnerTest.java26 import com.android.tradefed.config.Configuration;
79 mStubMainConfiguration = new Configuration("stub", "stub"); in setUp()
DITestSuiteIntegrationTest.java26 import com.android.tradefed.config.Configuration;
159 mStubMainConfiguration = new Configuration("stub", "stub"); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DValidateSuiteConfigHelper.java19 import com.android.tradefed.config.Configuration;
65 Configuration.BUILD_PROVIDER_TYPE_NAME)); in validateConfig()
79 Configuration.BUILD_PROVIDER_TYPE_NAME)); in validateConfig()
88 Configuration.RESULT_REPORTER_TYPE_NAME)); in validateConfig()
98 Configuration.RESULT_REPORTER_TYPE_NAME)); in validateConfig()
106 Configuration.MULTI_PRE_TARGET_PREPARER_TYPE_NAME)); in validateConfig()
120 Configuration.DEVICE_METRICS_COLLECTOR_TYPE_NAME, in validateConfig()
150 Configuration.TARGET_PREPARER_TYPE_NAME, in checkTargetPrep()
151 Configuration.MULTI_PREPARER_TYPE_NAME)); in checkTargetPrep()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DSandboxConfigDump.java18 import com.android.tradefed.config.Configuration;
56 VERSIONED_ELEMENTS.add(Configuration.SYSTEM_STATUS_CHECKER_TYPE_NAME);
57 VERSIONED_ELEMENTS.add(Configuration.DEVICE_METRICS_COLLECTOR_TYPE_NAME);
58 VERSIONED_ELEMENTS.add(Configuration.MULTI_PREPARER_TYPE_NAME);
59 VERSIONED_ELEMENTS.add(Configuration.TARGET_PREPARER_TYPE_NAME);
60 VERSIONED_ELEMENTS.add(Configuration.TEST_TYPE_NAME);
DSandboxInvocationRunner.java18 import com.android.tradefed.config.Configuration;
44 (ISandbox) config.getConfigurationObject(Configuration.SANDBOX_TYPE_NAME); in prepareAndRun()
DTradefedSandbox.java19 import com.android.tradefed.config.Configuration;
184 Configuration.SANBOX_OPTIONS_TYPE_NAME); in getTradefedSandboxEnvironment()
/tools/tradefederation/core/tests/src/com/android/tradefed/sandbox/
DSandboxInvocationRunnerTest.java21 import com.android.tradefed.config.Configuration;
46 mConfig = new Configuration("name", "description"); in setUp()
55 mConfig.setConfigurationObject(Configuration.SANDBOX_TYPE_NAME, mMockSandbox); in testPrepareAndRun()
69 mConfig.setConfigurationObject(Configuration.SANDBOX_TYPE_NAME, mMockSandbox); in testPrepareAndRun_prepFailure()
DTradefedSandboxTest.java24 import com.android.tradefed.config.Configuration;
72 EasyMock.expect(mMockConfig.getConfigurationObject(Configuration.SANBOX_OPTIONS_TYPE_NAME)) in setUp()
201 mMockConfig = new Configuration("NAME", "DESC"); in testSandboxOptions()
206 mMockConfig.setConfigurationObject(Configuration.SANBOX_OPTIONS_TYPE_NAME, options); in testSandboxOptions()
227 mMockConfig = new Configuration("NAME", "DESC"); in testSandboxOptions_exclusion()
233 mMockConfig.setConfigurationObject(Configuration.SANBOX_OPTIONS_TYPE_NAME, options); in testSandboxOptions_exclusion()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationDefTest.java69 mConfigDef.addConfigObjectDef(Configuration.BUILD_PROVIDER_TYPE_NAME, in setUp()
113 mConfigDef.addConfigObjectDef("device1:" + Configuration.BUILD_PROVIDER_TYPE_NAME, in testCreateConfiguration_withDeviceHolder()
130 Configuration.DEVICE_METRICS_COLLECTOR_TYPE_NAME, in testCreateConfiguration_withCollectors()
144 Configuration.RESULT_REPORTER_TYPE_NAME, BaseDeviceMetricCollector.class.getName()); in testCreateConfiguration_withCollectors_asReporter()
DConfigurationTest.java91 private Configuration mConfig;
99 mConfig = new Configuration(CONFIG_NAME, CONFIG_DESCRIPTION); in setUp()
139 mConfig.getConfigurationObject(Configuration.TEST_TYPE_NAME); in testGetConfigurationObject_typeIsList()
170 mConfig.setConfigurationObject(Configuration.TEST_TYPE_NAME, new TestConfigObject()); in testSetConfigurationObject_wrongtype()
194 mConfig.setConfigurationObjectList(Configuration.TEST_TYPE_NAME, myList); in testSetConfigurationObjectList_wrongtype()
485 Configuration.isBuiltInObjType(name)); in testGetJsonCommandUsage()
575 mConfig.setConfigurationObject(Configuration.CMD_OPTIONS_TYPE_NAME, option); in testValidateOptionsShardException()
595 mConfig.setConfigurationObject(Configuration.CMD_OPTIONS_TYPE_NAME, option); in testValidateOptionsShardIndexException()
619 mConfig.setConfigurationObject(Configuration.CMD_OPTIONS_TYPE_NAME, option); in testValidateOptionsShardIndexAboveShardCount()
655 filters.add(Configuration.TEST_TYPE_NAME); in testDumpXml_withFilter()
[all …]
DSandboxConfigurationFactoryTest.java117 assertNotNull(config.getConfigurationObject(Configuration.SANDBOX_TYPE_NAME)); in testCreateConfigurationFromArgs()
118 assertEquals(mFakeSandbox, config.getConfigurationObject(Configuration.SANDBOX_TYPE_NAME)); in testCreateConfigurationFromArgs()
DConfigurationXmlParserTest.java292 assertTrue(configDef.getObjectClassMap().get(Configuration.DEVICE_NAME).size() == 2); in testParse_deviceTagSameName()
444 assertEquals(2, configDef.getObjectClassMap().get(Configuration.DEVICE_NAME).size()); in testParse_multiDevice_fakeMulti()
/tools/tradefederation/core/tests/src/com/android/tradefed/guice/
DInvocationScopeTest.java20 import com.android.tradefed.config.Configuration;
67 mConfiguration = new Configuration("test", "test"); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DShardHelper.java19 import com.android.tradefed.config.Configuration;
59 CONFIG_OBJ_TO_CLONE.add(Configuration.SYSTEM_STATUS_CHECKER_TYPE_NAME);
60 CONFIG_OBJ_TO_CLONE.add(Configuration.DEVICE_METRICS_COLLECTOR_TYPE_NAME);
61 CONFIG_OBJ_TO_CLONE.add(Configuration.TARGET_PREPARER_TYPE_NAME);
62 CONFIG_OBJ_TO_CLONE.add(Configuration.MULTI_PREPARER_TYPE_NAME);
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfigurationXmlParser.java108 Configuration.isBuiltInObjType(objectTypeName)) { in startElement()
137 } else if (Configuration.isBuiltInObjType(localName)) { in startElement()
148 Configuration.doesBuiltInObjSupportMultiDevice(localName)) { in startElement()
155 if (!Configuration.doesBuiltInObjSupportMultiDevice(localName)) { in startElement()
264 if (OBJECT_TAG.equals(localName) || Configuration.isBuiltInObjType(localName) in endElement()
275 if (Configuration.DEVICE_NAME.equals(objectTypeName)) { in addObject()
DConfiguration.java71 public class Configuration implements IConfiguration { class
208 public Configuration(String name, String description) { in Configuration() method in Configuration
621 public Configuration clone() { in clone()
622 Configuration clone = new Configuration(getName(), getDescription()); in clone()
1238 serializer.startTag(null, Configuration.DEVICE_NAME); in dumpXml()
1264 serializer.endTag(null, Configuration.DEVICE_NAME); in dumpXml()
DSandboxConfigurationFactory.java91 config.setConfigurationObject(Configuration.SANDBOX_TYPE_NAME, sandbox); in createConfigurationFromArgs()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/
DShardHelperTest.java25 import com.android.tradefed.config.Configuration;
92 mConfig = new Configuration("fake_sharding_config", "desc"); in setUp()
214 File configFile = createTmpConfig(Configuration.SYSTEM_STATUS_CHECKER_TYPE_NAME, checker); in testCloneStatusChecker()
261 createTmpConfig(Configuration.DEVICE_METRICS_COLLECTOR_TYPE_NAME, collector); in testCloneMetricCollector()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DInvocationExecutionTest.java22 import com.android.tradefed.config.Configuration;
67 mConfig = new Configuration("test", "test"); in setUp()

12