Home
last modified time | relevance | path

Searched refs:getTargetPreparers (Results 1 – 25 of 29) sorted by relevance

12

/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationFactoryTest.java997 .getTargetPreparers().size()); in testCreateConfigurationFromArgs_multidevice()
1005 .getTargetPreparers().size()); in testCreateConfigurationFromArgs_multidevice()
1007 .getTargetPreparers().get(0) instanceof StubTargetPreparer); in testCreateConfigurationFromArgs_multidevice()
1015 .getTargetPreparers().size()); in testCreateConfigurationFromArgs_multidevice()
1017 .getTargetPreparers().get(0) instanceof StubTargetPreparer); in testCreateConfigurationFromArgs_multidevice()
1029 assertEquals(1, config.getDeviceConfigByName("device2").getTargetPreparers().size()); in testCreateConfigurationFromArgs_injectConfiguration()
1031 config.getDeviceConfigByName("device2").getTargetPreparers().get(0) in testCreateConfigurationFromArgs_injectConfiguration()
1035 config.getDeviceConfigByName("device2").getTargetPreparers().get(0); in testCreateConfigurationFromArgs_injectConfiguration()
1039 assertEquals(2, config.getDeviceConfigByName("device3").getTargetPreparers().size()); in testCreateConfigurationFromArgs_injectConfiguration()
1041 config.getDeviceConfigByName("device3").getTargetPreparers().get(0) in testCreateConfigurationFromArgs_injectConfiguration()
[all …]
DConfigurationTest.java240 assertEquals(0, mConfig.getTargetPreparers().size()); in testGetTargetPreparers()
244 assertEquals(prep, mConfig.getTargetPreparers().get(0)); in testGetTargetPreparers()
750 assertNotEquals(original.getTargetPreparers().get(0), copy.getTargetPreparers().get(0)); in testDeepClone()
752 original.getDeviceConfig().get(0).getTargetPreparers().get(0), in testDeepClone()
753 copy.getDeviceConfig().get(0).getTargetPreparers().get(0)); in testDeepClone()
773 assertNotEquals(original.getTargetPreparers().get(0), copy.getTargetPreparers().get(0)); in testDeepClone_innerDevice()
775 original.getDeviceConfig().get(0).getTargetPreparers().get(0), in testDeepClone_innerDevice()
776 copy.getDeviceConfig().get(0).getTargetPreparers().get(0)); in testDeepClone_innerDevice()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleSplitterTest.java61 List<ITargetPreparer> initialPreparers = new ArrayList<>(config.getTargetPreparers()); in testSplitModule_configNotShardable()
83 assertTrue(config.getTargetPreparers().isEmpty()); in testSplitModule_configNotShardable()
97 List<ITargetPreparer> initialPreparers = new ArrayList<>(config.getTargetPreparers()); in testSplitModule_configNotStrictShardable_dynamic()
118 assertTrue(config.getTargetPreparers().isEmpty()); in testSplitModule_configNotStrictShardable_dynamic()
132 List<ITargetPreparer> initialPreparers = new ArrayList<>(config.getTargetPreparers()); in testSplitModule_configNotStrictShardable_notDynamic()
153 assertTrue(config.getTargetPreparers().isEmpty()); in testSplitModule_configNotStrictShardable_notDynamic()
163 List<ITargetPreparer> initialPreparers = new ArrayList<>(config.getTargetPreparers()); in testSplitModule_noIntraModuleSharding()
182 assertTrue(config.getTargetPreparers().isEmpty()); in testSplitModule_noIntraModuleSharding()
205 List<ITargetPreparer> initialPreparers = new ArrayList<>(config.getTargetPreparers()); in testSplitModule_testNotShardable()
222 assertTrue(config.getTargetPreparers().isEmpty()); in testSplitModule_testNotShardable()
[all …]
DAtestRunnerTest.java221 for (ITargetPreparer targetPreparer : config.getTargetPreparers()) { in testdisableTargetPreparers()
234 for (ITargetPreparer targetPreparer : config.getTargetPreparers()) { in testdisableTargetPreparersUnset()
247 for (ITargetPreparer targetPreparer : config.getTargetPreparers()) { in testDisableTearDown()
260 for (ITargetPreparer targetPreparer : config.getTargetPreparers()) { in testDisableTearDownUnset()
DITestSuiteTest.java1344 assertEquals(1, config.getTargetPreparers().size()); in testPreparerWhitelist()
1346 assertEquals(1, config.getTargetPreparers().size()); in testPreparerWhitelist()
1359 assertEquals(1, config.getTargetPreparers().size()); in testPreparerWhitelist_empty()
1361 assertEquals(1, config.getTargetPreparers().size()); in testPreparerWhitelist_empty()
1374 assertEquals(1, config.getTargetPreparers().size()); in testPreparerWhitelist_filtered()
1376 assertEquals(0, config.getTargetPreparers().size()); in testPreparerWhitelist_filtered()
DBaseTestSuiteTest.java851 assertTrue(config.getTargetPreparers().get(0) instanceof CreateUserPreparer); in testLoadTests_parameterizedModule_optionSetupAfterConfigAdded()
856 assertTrue(reuseTestUser.getBoolean(config.getTargetPreparers().get(0))); in testLoadTests_parameterizedModule_optionSetupAfterConfigAdded()
DSuiteModuleLoaderTest.java328 PreparerInject preparer = (PreparerInject) config.getTargetPreparers().get(0); in testInjectConfigOptions_testArgs()
777 module1.getTargetPreparers().get(0) instanceof InstallApexModuleTargetPreparer); in testLoadParameterizedMainlineModules()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/yaml/
DConfigurationYamlParserTest.java87 assertEquals(2, config.getTargetPreparers().size()); in testParseConfig()
88 ITargetPreparer installApk = config.getTargetPreparers().get(0); in testParseConfig()
94 ITargetPreparer pushFile = config.getTargetPreparers().get(1); in testParseConfig()
126 assertEquals(2, config.getTargetPreparers().size()); in testParseModule()
127 ITargetPreparer installApk = config.getTargetPreparers().get(0); in testParseModule()
133 ITargetPreparer pushFile = config.getTargetPreparers().get(1); in testParseModule()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/params/
DMainlineModuleHandlerTest.java67 assertTrue(mConfig.getTargetPreparers().get(0) instanceof InstallApexModuleTargetPreparer); in testApplySetup()
69 (InstallApexModuleTargetPreparer) mConfig.getTargetPreparers().get(0); in testApplySetup()
82 assertTrue(mConfig.getTargetPreparers().get(0) instanceof InstallApexModuleTargetPreparer); in testApplySetup_MultipleMainlineModules()
84 (InstallApexModuleTargetPreparer) mConfig.getTargetPreparers().get(0); in testApplySetup_MultipleMainlineModules()
DSecondaryUserHandlerTest.java67 assertTrue(mModuleConfig.getTargetPreparers().get(0) instanceof CreateUserPreparer); in testAddParameterSpecificConfig()
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfiguration.java311 public List<ITargetPreparer> getTargetPreparers() { in getTargetPreparers() method in Configuration
314 .get(0).getTargetPreparers(); in getTargetPreparers()
952 getDeviceConfigByName(ConfigurationDef.DEFAULT_DEVICE_NAME).getTargetPreparers().clear(); in setTargetPreparers()
1360 for (ITargetPreparer preparer : deviceConfig.getTargetPreparers()) { in dumpXml()
1401 for (ITargetPreparer preparer : getTargetPreparers()) { in dumpXml()
DIDeviceConfiguration.java86 public List<ITargetPreparer> getTargetPreparers(); in getTargetPreparers() method
DDeviceConfigurationHolder.java175 public List<ITargetPreparer> getTargetPreparers() { in getTargetPreparers() method in DeviceConfigurationHolder
DIConfiguration.java70 public List<ITargetPreparer> getTargetPreparers(); in getTargetPreparers() method
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java312 config.getDeviceConfigByName(deviceName).getTargetPreparers()) { in runPreparationOnDevice()
468 config.getDeviceConfigByName(deviceName).getTargetPreparers(); in doTeardown()
540 config.getDeviceConfigByName(deviceName).getTargetPreparers(); in doCleanUp()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DValidateSuiteConfigHelper.java67 checkTargetPrep(config, config.getTargetPreparers()); in validateConfig()
81 checkTargetPrep(config, deviceConfig.getTargetPreparers()); in validateConfig()
DITestSuite.java583 preparers.addAll(holder.getTargetPreparers()); in getPreparerPerDevice()
1368 List<ITargetPreparer> preparers = new ArrayList<>(deviceConfig.getTargetPreparers()); in filterPreparers()
1371 deviceConfig.getTargetPreparers().remove(prep); in filterPreparers()
DTfSuiteRunner.java158 for (ITargetPreparer preparer : testConfig.getTargetPreparers()) { in loadTests()
195 for (ITargetPreparer preparer : testConfig.getTargetPreparers()) { in canRunMultipleAbis()
DModuleSplitter.java232 preparers.addAll(clonePreparers(holder.getTargetPreparers())); in clonePreparersMap()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationTest.java743 mStubConfiguration.getTargetPreparers().add(mockCleaner); in testInvoke_tearDown()
774 mStubConfiguration.getTargetPreparers().add(mockCleaner); in testInvoke_tearDown_deviceNotAvail()
806 mStubConfiguration.getTargetPreparers().add(mockCleaner); in testInvoke_tearDown_runtime()
1774 mStubConfiguration.getTargetPreparers().add(mockCleaner); in testInvoke_deviceInfoBuild_withEnv()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/app/
DNoApkTestSkipper.java48 for (ITargetPreparer preparer : deviceConfig.getTargetPreparers()) { in setUp()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/params/
DInstantAppHandler.java45 for (ITargetPreparer preparer : deviceConfig.getTargetPreparers()) { in applySetup()
DSecondaryUserHandler.java43 List<ITargetPreparer> preparers = deviceConfig.getTargetPreparers(); in addParameterSpecificConfig()
DMainlineModuleHandler.java69 List<ITargetPreparer> preparers = deviceConfig.getTargetPreparers(); in applySetup()
/tools/tradefederation/core/tests/src/com/android/tradefed/presubmit/
DGeneralTestsConfigValidation.java111 ensureApkUninstalled(configName, c.getTargetPreparers()); in testConfigsLoad()

12