Searched refs:VtsPythonVirtualenvPreparer (Results 1 – 5 of 5) sorted by relevance
48 private VtsPythonVirtualenvPreparer mPreparer;56 mPreparer = new VtsPythonVirtualenvPreparer() { in setUp()106 mMockRunUtil.sleep(VtsPythonVirtualenvPreparer.PIP_INSTALL_DELAY); in testInstallDeps_depModule_success()117 assertTrue(VtsPythonVirtualenvPreparer.PIP_INSTALL_DELAY >= 1000); in test_PIP_INSTALL_DELAY_minimum_value()135 .times(VtsPythonVirtualenvPreparer.PIP_RETRY + 1); in testInstallDeps_reqFile_failure()137 EasyMock.expectLastCall().times(VtsPythonVirtualenvPreparer.PIP_RETRY); in testInstallDeps_reqFile_failure()166 .times(VtsPythonVirtualenvPreparer.PIP_RETRY + 1); in testInstallDeps_depModule_failure()171 .times(VtsPythonVirtualenvPreparer.PIP_RETRY + 1); in testInstallDeps_depModule_failure()173 EasyMock.expectLastCall().times(VtsPythonVirtualenvPreparer.PIP_RETRY); in testInstallDeps_depModule_failure()192 mMockRunUtil.sleep(VtsPythonVirtualenvPreparer.PIP_INSTALL_DELAY); in addDefaultModuleExpectations()[all …]
21 import com.android.tradefed.targetprep.VtsPythonVirtualenvPreparer;43 this(buildInfo.getBuildAttributes().get(VtsPythonVirtualenvPreparer.VIRTUAL_ENV), in VtsPythonRunnerHelper()160 runUtil.setEnvVariable(VtsPythonVirtualenvPreparer.VIRTUAL_ENV, virtualenvPath); in activateVirtualenv()
58 public class VtsPythonVirtualenvPreparer implements IMultiTargetPreparer { class122 synchronized (VtsPythonVirtualenvPreparer.class) { in setUp()418 target = VtsPythonVirtualenvPreparer.VIRTUAL_ENV; in addPathToBuild()421 target = VtsPythonVirtualenvPreparer.VIRTUAL_ENV_V3; in addPathToBuild()509 buildInfo.getBuildAttributes().get(VtsPythonVirtualenvPreparer.VIRTUAL_ENV); in checkTestPlanLevelVirtualenv()513 VtsPythonVirtualenvPreparer.VIRTUAL_ENV_V3); in checkTestPlanLevelVirtualenv()
3 This directory tests the functionality of VtsPythonVirtualenvPreparer.
34 import com.android.tradefed.targetprep.VtsPythonVirtualenvPreparer;1179 if (mBuildInfo.getFile(VtsPythonVirtualenvPreparer.VIRTUAL_ENV) != null) { in updateVtsRunnerTestConfig()1180 jsonObject.put(VtsPythonVirtualenvPreparer.VIRTUAL_ENV, in updateVtsRunnerTestConfig()1181 mBuildInfo.getFile(VtsPythonVirtualenvPreparer.VIRTUAL_ENV).getAbsolutePath()); in updateVtsRunnerTestConfig()1184 if (mBuildInfo.getFile(VtsPythonVirtualenvPreparer.VIRTUAL_ENV_V3) != null) { in updateVtsRunnerTestConfig()1185 jsonObject.put(VtsPythonVirtualenvPreparer.VIRTUAL_ENV_V3, in updateVtsRunnerTestConfig()1186 mBuildInfo.getFile(VtsPythonVirtualenvPreparer.VIRTUAL_ENV_V3) in updateVtsRunnerTestConfig()