Home
last modified time | relevance | path

Searched refs:testsDir (Results 1 – 8 of 8) sorted by relevance

/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/targetprep/
DDeviceInteractionHelperInstallerTest.java112 File testsDir = FileUtil.createTempDir("tests_dir"); in testNoOptionsNoDeviceProperty() local
116 createFindableFile(testsDir, "com.android.cts.helpers.aosp.apk", testInfo); in testNoOptionsNoDeviceProperty()
125 FileUtil.recursiveDelete(testsDir); in testNoOptionsNoDeviceProperty()
132 File testsDir = FileUtil.createTempDir("tests_dir"); in testNoOptionsEmptyDeviceProperty() local
136 createFindableFile(testsDir, "com.android.cts.helpers.aosp.apk", testInfo); in testNoOptionsEmptyDeviceProperty()
145 FileUtil.recursiveDelete(testsDir); in testNoOptionsEmptyDeviceProperty()
153 File testsDir = FileUtil.createTempDir("tests_dir"); in testNoOptionsValidDeviceProperty() local
157 createFindableFile(testsDir, "com.android.cts.helpers.aosp.apk", testInfo); in testNoOptionsValidDeviceProperty()
160 File extraApk = createFindableFile(testsDir, "com.helper1.apk", testInfo); in testNoOptionsValidDeviceProperty()
162 File extraApk2 = createFindableFile(testsDir, "com.helper2.apk", testInfo); in testNoOptionsValidDeviceProperty()
[all …]
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/build/
DCompatibilityBuildHelper.java298 File testsDir = null; in getTestsDir() local
300 testsDir = new File(getDir(), "testcases"); in getTestsDir()
303 testsDir = null; in getTestsDir()
306 if (testsDir == null) { in getTestsDir()
308 testsDir = ((IDeviceBuildInfo) mBuildInfo).getTestsDir(); in getTestsDir()
313 if (testsDir == null) { in getTestsDir()
318 if (!testsDir.exists()) { in getTestsDir()
321 testsDir.getAbsolutePath())); in getTestsDir()
324 return testsDir; in getTestsDir()
340 File testsDir = getTestsDir(); in getTestFile() local
[all …]
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/testtype/
DModuleRepoTest.java156 File testsDir = FileUtil.createTempDir("testcases"); in setUpConfigs() local
157 createConfig(testsDir, MODULE_NAME_A, null); in setUpConfigs()
158 createConfig(testsDir, MODULE_NAME_B, null); in setUpConfigs()
159 createConfig(testsDir, MODULE_NAME_C, FOOBAR_TOKEN); in setUpConfigs()
160 return testsDir; in setUpConfigs()
163 private void createConfig(File testsDir, String name, String token) throws IOException { in createConfig() argument
164 createConfig(testsDir, name, token, TEST_STUB); in createConfig()
167 private void createConfig(File testsDir, String name, String token, String moduleClass) in createConfig() argument
169 File config = new File(testsDir, String.format(FILENAME, name)); in createConfig()
187 private void tearDownConfigs(File testsDir) { in tearDownConfigs() argument
[all …]
/test/vts/harnesses/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DVtsFilePusher.java96 private Collection<String> loadFilePushGroup(String specFileName, String testsDir, in loadFilePushGroup() argument
105 specFile = new File(testsDir, relativePath); in loadFilePushGroup()
119 result.addAll(loadFilePushGroup(spec, testsDir, stack)); in loadFilePushGroup()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/
DIModuleRepo.java43 void initialize(int shards, Integer shardIndex, File testsDir, Set<IAbi> abis, in initialize() argument
DModuleRepo.java172 public void initialize(int totalShards, Integer shardIndex, File testsDir, Set<IAbi> abis, in initialize() argument
180 totalShards, testsDir.getAbsolutePath(), abis, deviceTokens, testArgs, moduleArgs, in initialize()
215 File[] configFiles = testsDir.listFiles(new ConfigFilter()); in initialize()
218 String.format("No config files found in %s", testsDir.getAbsolutePath())); in initialize()
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/
DIntegrationTest.java161 private void createConfig(File testsDir, String name, String moduleClass, boolean reportTest, in createConfig() argument
164 createConfig(testsDir, name, moduleClass, reportTest, runComplete, doesOneTestFail, in createConfig()
181 private void createConfig(File testsDir, String name, String moduleClass, boolean reportTest, in createConfig() argument
184 File config = new File(testsDir, String.format(FILENAME, name)); in createConfig()
/test/framework/harnesses/cts-tradefed/
Dtradefed-cts-prebuilt.jarMETA-INF/ META-INF/MANIFEST.MF com/android/compatibility/common/ ...