Searched refs:testsDir (Results 1 – 8 of 8) sorted by relevance
112 File testsDir = FileUtil.createTempDir("tests_dir"); in testNoOptionsNoDeviceProperty() local116 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() local136 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() local157 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 …]
298 File testsDir = null; in getTestsDir() local300 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 …]
156 File testsDir = FileUtil.createTempDir("testcases"); in setUpConfigs() local157 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() argument164 createConfig(testsDir, name, token, TEST_STUB); in createConfig()167 private void createConfig(File testsDir, String name, String token, String moduleClass) in createConfig() argument169 File config = new File(testsDir, String.format(FILENAME, name)); in createConfig()187 private void tearDownConfigs(File testsDir) { in tearDownConfigs() argument[all …]
96 private Collection<String> loadFilePushGroup(String specFileName, String testsDir, in loadFilePushGroup() argument105 specFile = new File(testsDir, relativePath); in loadFilePushGroup()119 result.addAll(loadFilePushGroup(spec, testsDir, stack)); in loadFilePushGroup()
43 void initialize(int shards, Integer shardIndex, File testsDir, Set<IAbi> abis, in initialize() argument
172 public void initialize(int totalShards, Integer shardIndex, File testsDir, Set<IAbi> abis, in initialize() argument180 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()
161 private void createConfig(File testsDir, String name, String moduleClass, boolean reportTest, in createConfig() argument164 createConfig(testsDir, name, moduleClass, reportTest, runComplete, doesOneTestFail, in createConfig()181 private void createConfig(File testsDir, String name, String moduleClass, boolean reportTest, in createConfig() argument184 File config = new File(testsDir, String.format(FILENAME, name)); in createConfig()
META-INF/ META-INF/MANIFEST.MF com/android/compatibility/common/ ...