Home
last modified time | relevance | path

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

12

/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
DClusterCommandLauncherTest.java150 Mockito.verify(mMockRunUtil).setEnvVariable("TF_WORK_DIR", mRootDir.getAbsolutePath()); in testRun()
151 Mockito.verify(mMockRunUtil).setEnvVariable("TF_PATH", expandedTfPathValue); in testRun()
196 Mockito.verify(mMockRunUtil).setEnvVariable("TF_WORK_DIR", mRootDir.getAbsolutePath()); in testRun_withSetupScripts()
197 Mockito.verify(mMockRunUtil).setEnvVariable("TF_PATH", mTfPath.getAbsolutePath()); in testRun_withSetupScripts()
198 Mockito.verify(mMockRunUtil).setEnvVariable("BAR", "bar"); in testRun_withSetupScripts()
199 Mockito.verify(mMockRunUtil).setEnvVariable("FOO", "foo"); in testRun_withSetupScripts()
200 Mockito.verify(mMockRunUtil).setEnvVariable("ZZZ", "zzz"); in testRun_withSetupScripts()
266 Mockito.verify(mMockRunUtil).setEnvVariable("TF_WORK_DIR", mRootDir.getAbsolutePath()); in testRun_withUseSubprocessReporting()
267 Mockito.verify(mMockRunUtil).setEnvVariable("TF_PATH", tfPath.getAbsolutePath()); in testRun_withUseSubprocessReporting()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/python/
DPythonBinaryHostTestTest.java101 mMockRunUtil.setEnvVariable(PythonBinaryHostTest.ANDROID_SERIAL_VAR, "SERIAL"); in setUp()
368 mMockRunUtil.setEnvVariable( in testRun_withSharedLibInHostTestsDir()
413 mMockRunUtil.setEnvVariable( in testRun_withSharedLib()
664 mMockRunUtil.setEnvVariable("PATH", String.format("%s:bin/", adbPath.getParent())); in expectedAdbPath()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DRunHostScriptTargetPreparerTest.java115 verify(mRunUtil).setEnvVariable("ANDROID_SERIAL", DEVICE_SERIAL); in testSetUp()
116 verify(mRunUtil, never()).setEnvVariable(eq("PATH"), any()); // uses default PATH in testSetUp()
170 verify(mRunUtil).setEnvVariable("PATH", expectedPath); in testSetUp_pathVariable()
/tools/tradefederation/core/tests/src/com/android/tradefed/sandbox/
DTradefedSandboxTest.java113 mMockRunUtil.setEnvVariable( in testPrepareEnvironment()
155 mMockRunUtil.setEnvVariable( in testPrepareEnvironment_dumpConfigFail()
195 mMockRunUtil.setEnvVariable( in testPrepareEnvironment_dumpConfigFail_fallback_fail()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/python/
DPythonBinaryHostTest.java252 getRunUtil().setEnvVariable(LD_LIBRARY_PATH, mLdLibraryPath); in runSinglePythonFile()
256 .setEnvVariable(ANDROID_SERIAL_VAR, mTestInfo.getDevice().getSerialNumber()); in runSinglePythonFile()
303 getRunUtil().setEnvVariable(PATH_VAR, path); in runSinglePythonFile()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DRunUtilTest.java214 RunUtil.getDefault().setEnvVariable("foo", "bar"); in testSetEnvVariable_default()
450 testRunUtil.setEnvVariable(ENV_NAME, "initvalue"); in testUnsetPriority()
467 testRunUtil.setEnvVariable(ENV_NAME, expected); in testUnsetPriority_inverted()
DRunUtilFuncTest.java162 runUtil.setEnvVariable("bar", "foo"); in testUnsetEnvVariable()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DRunHostScriptTargetPreparer.java82 getRunUtil().setEnvVariable("ANDROID_SERIAL", device.getSerialNumber()); in setUp()
175 getRunUtil().setEnvVariable("PATH", path); in setPathVariable()
DPythonVirtualenvPreparer.java138 mRunUtil.setEnvVariable(PATH, binDir + ":" + path); in activate()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DSandboxConfigurationFactoryTest.java110 mMockRunUtil.setEnvVariable( in testCreateConfigurationFromArgs()
132 mMockRunUtil.setEnvVariable( in testCreateConfigurationFromArgs_fail()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DHostGTest.java100 runUtil.setEnvVariable("GTEST_SHARD_INDEX", Integer.toString(getShardIndex())); in executeHostGTestCommand()
101 runUtil.setEnvVariable("GTEST_TOTAL_SHARDS", Integer.toString(getShardCount())); in executeHostGTestCommand()
DPythonUnitTestRunner.java94 runUtil.setEnvVariable(PYTHONPATH, mPythonPath); in run()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DDelegatedInvocationExecution.java187 runUtil.setEnvVariable( in createRunUtil()
189 runUtil.setEnvVariable("PROTO_REPORTING_PORT", Integer.toString(port)); in createRunUtil()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DTfTestLauncherTest.java135 mMockRunUtil.setEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE, SUB_GLOBAL_CONFIG); in testRun()
254 mMockRunUtil.setEnvVariable(GlobalConfiguration.GLOBAL_CONFIG_VARIABLE, SUB_GLOBAL_CONFIG); in testRunCoverage()
DNoisyDryRunTestTest.java260 mMockRunUtil.setEnvVariable( in testLoading_sandboxed()
321 mMockRunUtil.setEnvVariable( in testLoading_sandboxed_failed()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/mobly/
DMoblyBinaryHostTest.java183 getRunUtil().setEnvVariable(ANDROID_SERIAL_VAR, getDevice().getSerialNumber()); in runSingleParFile()
232 getRunUtil().setEnvVariable(PATH_VAR, path); in updateAdb()
/tools/tradefederation/core/src/com/android/tradefed/util/
DGCSBucketUtil.java235 run.setEnvVariable(ENV_BOTO_PATH, mBotoPath); in getRunUtil()
239 run.setEnvVariable(ENV_BOTO_CONFIG, mBotoConfig); in getRunUtil()
/tools/tradefederation/core/src/com/android/tradefed/device/
DLocalAndroidVirtualDevice.java333 runUtil.setEnvVariable(TMPDIR, getTmpDir().getAbsolutePath()); in acloudCreate()
408 runUtil.setEnvVariable(TMPDIR, getTmpDir().getAbsolutePath()); in acloudDelete()
DRemoteAndroidDevice.java290 runUtil.setEnvVariable("ADB_TRACE", "1"); in adbConnect()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DLocalAndroidVirtualDeviceTest.java226 runUtil.setEnvVariable(EasyMock.eq("TMPDIR"), EasyMock.eq(mTmpDir.getAbsolutePath())); in mockAcloudCreate()
272 runUtil.setEnvVariable(EasyMock.eq("TMPDIR"), EasyMock.eq(mTmpDir.getAbsolutePath())); in mockAcloudDelete()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DTradefedSandbox.java243 mRunUtil.setEnvVariable(TradefedSandboxRunner.DEBUG_THREAD_KEY, "true"); in prepareEnvironment()
247 mRunUtil.setEnvVariable(envEntry.getKey(), envEntry.getValue()); in prepareEnvironment()
DSandboxConfigUtil.java69 runUtil.setEnvVariable( in dumpConfigForVersion()
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DIRunUtil.java79 public void setEnvVariable(String key, String value); in setEnvVariable() method
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDeviceImageZipFlashingTargetPreparer.java111 runUtil.setEnvVariable(ANDROID_SERIAL_ENV, device.getSerialNumber()); in performDeviceUpdate()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/binary/
DExecutableHostTest.java110 runUtil.setEnvVariable(ANDROID_SERIAL, getTestInfo().getDevice().getSerialNumber()); in runBinary()

12