Searched refs:preparer (Results 1 – 19 of 19) sorted by relevance
68 InstallApexModuleTargetPreparer preparer = in testApplySetup() local70 assertEquals(preparer.getTestsFileName().size(), 1); in testApplySetup()71 assertEquals(preparer.getTestsFileName().get(0).getName(), "mod1.apk"); in testApplySetup()83 InstallApexModuleTargetPreparer preparer = in testApplySetup_MultipleMainlineModules() local85 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()
158 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()
376 for (ITargetPreparer preparer : mPreparersPerDevice.get(device)) { in run()380 .addSpecificConfig(preparer); in run()772 ITargetPreparer preparer, in runPreparerSetup() argument775 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 …]
773 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()
68 StubTargetPreparer preparer = new StubTargetPreparer(); in testNoApkPresent() local69 assertFalse(preparer.isDisabled()); in testNoApkPresent()70 mConfig.setTargetPreparer(preparer); in testNoApkPresent()76 assertTrue(preparer.isDisabled()); in testNoApkPresent()
311 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 …]
451 TestAppInstallSetup preparer = in setUp_emptyDirectoryWithNoThrowOption_installsNothing() local460 Set<Set<File>> installs = runSetUpAndCaptureInstalls(preparer); in setUp_emptyDirectoryWithNoThrowOption_installsNothing()468 TestAppInstallSetup preparer = in setUp_emptyDirectory_throwsException() local478 runSetUpAndCaptureInstalls(preparer); in setUp_emptyDirectory_throwsException()491 TestAppInstallSetup preparer = in setUp_directoryNotContainingApkFiles_throwsException() local501 runSetUpAndCaptureInstalls(preparer); in setUp_directoryNotContainingApkFiles_throwsException()513 TestAppInstallSetup preparer = in setUp_directoryContainingSingleApk_installsFile() local518 Set<Set<File>> installs = runSetUpAndCaptureInstalls(preparer); in setUp_directoryContainingSingleApk_installsFile()528 TestAppInstallSetup preparer = in setUp_directoryContainingApksWithSamePackage_installsFiles() local533 Set<Set<File>> installs = runSetUpAndCaptureInstalls(preparer); in setUp_directoryContainingApksWithSamePackage_installsFiles()[all …]
53 DisabledBaseTargetPreparer preparer = new DisabledBaseTargetPreparer(); in testDisabledByDefault() local54 assertTrue(preparer.isDisabled()); in testDisabledByDefault()56 config.setTargetPreparer(preparer); in testDisabledByDefault()
45 for (ITargetPreparer preparer : deviceConfig.getTargetPreparers()) { in applySetup()46 if (preparer instanceof TestAppInstallSetup) { in applySetup()47 ((TestAppInstallSetup) preparer).setInstantMode(true); in applySetup()
59 for (String preparer : mPreparers) { in tearDown()60 Object configObject = mConfiguration.getConfigurationObject(preparer); in tearDown()
48 for (ITargetPreparer preparer : deviceConfig.getTargetPreparers()) { in setUp()49 preparer.setDisable(true); in setUp()
130 for (ITargetPreparer preparer : preparers) { in ensureApkUninstalled()131 if (preparer instanceof TestAppInstallSetup) { in ensureApkUninstalled()132 TestAppInstallSetup installer = (TestAppInstallSetup) preparer; in ensureApkUninstalled()
288 ITargetPreparer preparer = new TestTargetPreparer(); in testDumpClassToXml_filterDeprecated() local292 preparer, in testDumpClassToXml_filterDeprecated()328 ITargetPreparer preparer = new TestTargetPreparer(); in testDumpClassToXml_filterNotChanged() local329 OptionSetter changeOneOption = new OptionSetter(preparer); in testDumpClassToXml_filterNotChanged()334 preparer, in testDumpClassToXml_filterNotChanged()
135 for (ITargetPreparer preparer : mConfiguration.getTargetPreparers()) { in postSetupTestRun()136 if (preparer instanceof TemperatureThrottlingWaiter) { in postSetupTestRun()139 preparer.setUp(testInfo); in postSetupTestRun()
4 preparer in Tradefed.
144 public String preparer = null; field in SuiteModuleLoaderTest.PreparerInject328 PreparerInject preparer = (PreparerInject) config.getTargetPreparers().get(0); in testInjectConfigOptions_testArgs() local329 assertEquals("preparer", preparer.preparer); in testInjectConfigOptions_testArgs()
847 ITargetPreparer preparer = in testRun_failPreparation_unresponsive() local855 preparer.setDisableTearDown(true); in testRun_failPreparation_unresponsive()856 mTargetPrepList.add(preparer); in testRun_failPreparation_unresponsive()
317 public void setTargetPreparer(ITargetPreparer preparer); in setTargetPreparer() argument
META-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...