Home
last modified time | relevance | path

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

/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/targetprep/
DVtsCoveragePreparerTest.java66 private File mTestDir; field in VtsCoveragePreparerTest
77 return mTestDir; in createTempDir()
94 mTestDir = FileUtil.createTempDir("vts-coverage-preparer-unit-tests"); in setUp()
98 return mTestDir; in setUp()
102 return mTestDir; in setUp()
116 FileUtil.recursiveDelete(mTestDir); in tearDown()
136 .setFile(eq(VtsCoveragePreparer.getSancovResourceDirKey(mDevice)), eq(mTestDir), in testOnSetUpSancovEnabled()
148 .setFile(eq(VtsCoveragePreparer.getGcovResourceDirKey(mDevice)), eq(mTestDir), in testOnSetUpGcovEnabled()
156 setter.setOptionValue("local-coverage-resource-path", mTestDir.getAbsolutePath()); in testOnSetUpLocalArtifectsNormal()
163 .setFile(eq(VtsCoveragePreparer.getGcovResourceDirKey(mDevice)), eq(mTestDir), in testOnSetUpLocalArtifectsNormal()
[all …]
DVtsTraceCollectPreparerTest.java65 private File mTestDir; field in VtsTraceCollectPreparerTest
71 mTestDir = FileUtil.createTempDir("vts-trace-collect-unit-tests"); in setUp()
75 return mTestDir; in setUp()
79 return mTestDir; in setUp()
93 FileUtil.recursiveDelete(mTestDir); in tearDown()
99 new File(mTestDir, VTS_LIB_DIR_32).mkdirs(); in testOnSetUp()
100 new File(mTestDir, VTS_LIB_DIR_64).mkdirs(); in testOnSetUp()
134 EasyMock.expect(mMockDevice.pushFile(EasyMock.eq(new File(mTestDir, in testOnSetUp()
148 File traceDir = new File(mTestDir, LOCAL_TRACE_DIR); in testOnSetUp()
197 File testFile32 = new File(mTestDir, VTS_LIB_DIR_32 + fileName); in createTestFile()
[all …]
DVtsHalAdapterPreparerTest.java102 File mTestDir = null; field in VtsHalAdapterPreparerTest
113 mTestDir = FileUtil.createTempDir("vts-hal-adapter-preparer-unit-tests"); in setUp()
114 new File(mTestDir, VTS_NATIVE_TEST_DIR).mkdirs(); in setUp()
118 return mTestDir; in setUp()
130 FileUtil.recursiveDelete(mTestDir); in tearDown()
224 File testAdapter = new File(mTestDir, VTS_NATIVE_TEST_DIR + TEST_HAL_ADAPTER_BINARY); in createTestAdapter()
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/testtype/
DJarHostTestTest.java62 private File mTestDir = null; field in JarHostTestTest
70 public static File mTestDir; field in JarHostTestTest.JarHostTestable
74 mTestDir = testDir; in JarHostTestable()
81 mTestDir = FileUtil.createTempDir("jarhostest"); in setUp()
86 mStubBuildInfo.setTestsDir(mTestDir, "v1"); in setUp()
91 FileUtil.recursiveDelete(mTestDir); in tearDown()
154 File testJar = getJarResource(TEST_JAR1, mTestDir); in testSplit_withJar()
155 mTest = new JarHostTestable(mTestDir); in testSplit_withJar()
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/
DIntegrationTest.java93 private File mTestDir; field in IntegrationTest
115 mTestDir = new File(mAndroidFolder, "testcases"); in setUp()
116 mTestDir.mkdirs(); in setUp()
201 createConfig(mTestDir, moduleName, TEST_STUB, true, true, true, false); in testSingleModuleRun()
235 createConfig(mTestDir, moduleName, SIMPLE_TEST_STUB, true, true, true, false, component); in testSingleModuleRun_checkMetadata()
304 createConfig(mTestDir, moduleName, TEST_STUB, true, false, true, false); in testSingleModuleRun_incomplete()
333 createConfig(mTestDir, moduleName, TEST_STUB, true, true, true, true); in testSingleModuleRun_completeAfterInternalRetry()
363 createConfig(mTestDir, moduleName, TEST_STUB, true, false, true, false); in testSingleModuleRun_incomplete_rerun_incomplete()
431 createConfig(mTestDir, moduleName, TEST_STUB, true, false, true, false); in testSingleModuleRun_incomplete_rerun_complete()
460 createConfig(mTestDir, moduleName, TEST_STUB, true, true, false, false); in testSingleModuleRun_incomplete_rerun_complete()