Home
last modified time | relevance | path

Searched refs:preparer (Results 1 – 19 of 19) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/params/
DMainlineModuleHandlerTest.java68 InstallApexModuleTargetPreparer preparer = in testApplySetup() local
70 assertEquals(preparer.getTestsFileName().size(), 1); in testApplySetup()
71 assertEquals(preparer.getTestsFileName().get(0).getName(), "mod1.apk"); in testApplySetup()
83 InstallApexModuleTargetPreparer preparer = in testApplySetup_MultipleMainlineModules() local
85 assertEquals(preparer.getTestsFileName().size(), 2); in testApplySetup_MultipleMainlineModules()
86 assertEquals(preparer.getTestsFileName().get(0).getName(), "mod1.apk"); in testApplySetup_MultipleMainlineModules()
87 assertEquals(preparer.getTestsFileName().get(1).getName(), "mod2.apex"); in testApplySetup_MultipleMainlineModules()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DTfSuiteRunner.java158 for (ITargetPreparer preparer : testConfig.getTargetPreparers()) { in loadTests()
159 if (preparer instanceof IAbiReceiver) { in loadTests()
160 ((IAbiReceiver) preparer).setAbi(abi); in loadTests()
163 for (IMultiTargetPreparer preparer : in loadTests()
165 if (preparer instanceof IAbiReceiver) { in loadTests()
166 ((IAbiReceiver) preparer).setAbi(abi); in loadTests()
195 for (ITargetPreparer preparer : testConfig.getTargetPreparers()) { in canRunMultipleAbis()
196 if (preparer instanceof IAbiReceiver) { in canRunMultipleAbis()
200 for (IMultiTargetPreparer preparer : testConfig.getMultiTargetPreparers()) { in canRunMultipleAbis()
201 if (preparer instanceof IAbiReceiver) { in canRunMultipleAbis()
DModuleDefinition.java376 for (ITargetPreparer preparer : mPreparersPerDevice.get(device)) { in run()
380 .addSpecificConfig(preparer); in run()
772 ITargetPreparer preparer, in runPreparerSetup() argument
775 if (preparer.isDisabled()) { in runPreparerSetup()
779 TfObjectTracker.countWithParents(preparer.getClass()); in runPreparerSetup()
780 CLog.d("Running setup preparer: %s", preparer.getClass().getSimpleName()); in runPreparerSetup()
783 if (preparer instanceof ITestLoggerReceiver) { in runPreparerSetup()
784 ((ITestLoggerReceiver) preparer).setTestLogger(logger); in runPreparerSetup()
786 if (preparer instanceof IInvocationContextReceiver) { in runPreparerSetup()
787 ((IInvocationContextReceiver) preparer) in runPreparerSetup()
[all …]
DSuiteModuleLoader.java773 for (ITargetPreparer preparer : holder.getTargetPreparers()) { in setUpConfig()
774 String className = preparer.getClass().getName(); in setUpConfig()
778 if (preparer instanceof IAbiReceiver) { in setUpConfig()
779 ((IAbiReceiver) preparer).setAbi(abi); in setUpConfig()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/app/
DNoApkTestSkipperTest.java68 StubTargetPreparer preparer = new StubTargetPreparer(); in testNoApkPresent() local
69 assertFalse(preparer.isDisabled()); in testNoApkPresent()
70 mConfig.setTargetPreparer(preparer); in testNoApkPresent()
76 assertTrue(preparer.isDisabled()); in testNoApkPresent()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java311 for (ITargetPreparer preparer : in runPreparationOnDevice()
314 if (preparer.isDisabled()) { in runPreparationOnDevice()
315 CLog.d("%s has been disabled. skipping.", preparer); in runPreparationOnDevice()
318 TfObjectTracker.countWithParents(preparer.getClass()); in runPreparationOnDevice()
319 if (preparer instanceof ITestLoggerReceiver) { in runPreparationOnDevice()
320 ((ITestLoggerReceiver) preparer).setTestLogger(logger); in runPreparationOnDevice()
322 CLog.d("starting preparer '%s' on device: '%s'", preparer, device.getSerialNumber()); in runPreparationOnDevice()
325 preparer.setUp(testInfo); in runPreparationOnDevice()
329 mTrackTargetPreparers.get(deviceName).add(preparer); in runPreparationOnDevice()
330 CLog.d("done with preparer '%s' on device: '%s'", preparer, device.getSerialNumber()); in runPreparationOnDevice()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DTestAppInstallSetupTest.java451 TestAppInstallSetup preparer = in setUp_emptyDirectoryWithNoThrowOption_installsNothing() local
460 Set<Set<File>> installs = runSetUpAndCaptureInstalls(preparer); in setUp_emptyDirectoryWithNoThrowOption_installsNothing()
468 TestAppInstallSetup preparer = in setUp_emptyDirectory_throwsException() local
478 runSetUpAndCaptureInstalls(preparer); in setUp_emptyDirectory_throwsException()
491 TestAppInstallSetup preparer = in setUp_directoryNotContainingApkFiles_throwsException() local
501 runSetUpAndCaptureInstalls(preparer); in setUp_directoryNotContainingApkFiles_throwsException()
513 TestAppInstallSetup preparer = in setUp_directoryContainingSingleApk_installsFile() local
518 Set<Set<File>> installs = runSetUpAndCaptureInstalls(preparer); in setUp_directoryContainingSingleApk_installsFile()
528 TestAppInstallSetup preparer = in setUp_directoryContainingApksWithSamePackage_installsFiles() local
533 Set<Set<File>> installs = runSetUpAndCaptureInstalls(preparer); in setUp_directoryContainingApksWithSamePackage_installsFiles()
[all …]
DBaseTargetPreparerTest.java53 DisabledBaseTargetPreparer preparer = new DisabledBaseTargetPreparer(); in testDisabledByDefault() local
54 assertTrue(preparer.isDisabled()); in testDisabledByDefault()
56 config.setTargetPreparer(preparer); in testDisabledByDefault()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/params/
DInstantAppHandler.java45 for (ITargetPreparer preparer : deviceConfig.getTargetPreparers()) { in applySetup()
46 if (preparer instanceof TestAppInstallSetup) { in applySetup()
47 ((TestAppInstallSetup) preparer).setInstantMode(true); in applySetup()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DTearDownPassThroughPreparer.java59 for (String preparer : mPreparers) { in tearDown()
60 Object configObject = mConfiguration.getConfigurationObject(preparer); in tearDown()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/app/
DNoApkTestSkipper.java48 for (ITargetPreparer preparer : deviceConfig.getTargetPreparers()) { in setUp()
49 preparer.setDisable(true); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/presubmit/
DGeneralTestsConfigValidation.java130 for (ITargetPreparer preparer : preparers) { in ensureApkUninstalled()
131 if (preparer instanceof TestAppInstallSetup) { in ensureApkUninstalled()
132 TestAppInstallSetup installer = (TestAppInstallSetup) preparer; in ensureApkUninstalled()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationUtilTest.java288 ITargetPreparer preparer = new TestTargetPreparer(); in testDumpClassToXml_filterDeprecated() local
292 preparer, in testDumpClassToXml_filterDeprecated()
328 ITargetPreparer preparer = new TestTargetPreparer(); in testDumpClassToXml_filterNotChanged() local
329 OptionSetter changeOneOption = new OptionSetter(preparer); in testDumpClassToXml_filterNotChanged()
334 preparer, in testDumpClassToXml_filterNotChanged()
/tools/tradefederation/contrib/src/com/android/media/tests/
DCameraStartupTest.java135 for (ITargetPreparer preparer : mConfiguration.getTargetPreparers()) { in postSetupTestRun()
136 if (preparer instanceof TemperatureThrottlingWaiter) { in postSetupTestRun()
139 preparer.setUp(testInfo); in postSetupTestRun()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DREADME.md4 preparer in Tradefed.
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DSuiteModuleLoaderTest.java144 public String preparer = null; field in SuiteModuleLoaderTest.PreparerInject
328 PreparerInject preparer = (PreparerInject) config.getTargetPreparers().get(0); in testInjectConfigOptions_testArgs() local
329 assertEquals("preparer", preparer.preparer); in testInjectConfigOptions_testArgs()
DModuleDefinitionTest.java847 ITargetPreparer preparer = in testRun_failPreparation_unresponsive() local
855 preparer.setDisableTearDown(true); in testRun_failPreparation_unresponsive()
856 mTargetPrepList.add(preparer); in testRun_failPreparation_unresponsive()
/tools/tradefederation/core/src/com/android/tradefed/config/
DIConfiguration.java317 public void setTargetPreparer(ITargetPreparer preparer); in setTargetPreparer() argument
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...