Home
last modified time | relevance | path

Searched refs:VtsPythonVirtualenvPreparer (Results 1 – 5 of 5) sorted by relevance

/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/targetprep/
DVtsPythonVirtualenvPreparerTest.java48 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 …]
/test/vts/harnesses/tradefed/src/com/android/tradefed/util/
DVtsPythonRunnerHelper.java21 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()
/test/vts/harnesses/tradefed/src/com/android/tradefed/targetprep/
DVtsPythonVirtualenvPreparer.java58 public class VtsPythonVirtualenvPreparer implements IMultiTargetPreparer { class
122 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()
/test/vts/testcases/vts_selftest/test_framework/python_virtualenv_preparer_test/
DREADME.md3 This directory tests the functionality of VtsPythonVirtualenvPreparer.
/test/vts/harnesses/tradefed/src/com/android/tradefed/testtype/
DVtsMultiDeviceTest.java34 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()