Home
last modified time | relevance | path

Searched refs:testDir (Results 1 – 25 of 38) sorted by relevance

12

/external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/io/
DUnixFileTest.java44 private File testDir; field in UnixFileTest
123 assertTrue(testDir.canExecute()); in test_canExecute()
124 assertTrue(testDir.setExecutable(false, true)); in test_canExecute()
126 assertTrue(testDir.canExecute()); in test_canExecute()
128 assertFalse(testDir.canExecute()); in test_canExecute()
130 assertTrue(testDir.setExecutable(true, false)); in test_canExecute()
131 assertTrue(testDir.canExecute()); in test_canExecute()
140 long dirSpace = getLinuxSpace(FREE_SPACE_NUM, testDir); in test_getFreeSpace()
147 assertEquals(dirSpace, testDir.getFreeSpace()); in test_getFreeSpace()
157 long dirSpace = getLinuxSpace(TOTAL_SPACE_NUM, testDir); in test_getTotalSpace()
[all …]
/external/libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/
Dctor.pass.cpp92 path const testDir = env.make_env_path("dir1"); in TEST_CASE() local
93 path const testFile = testDir / "testFile"; in TEST_CASE()
94 env.create_dir(testDir); in TEST_CASE()
99 RDI it(testDir); in TEST_CASE()
104 permissions(testDir, perms::none); in TEST_CASE()
110 RDI it(testDir, ec); in TEST_CASE()
118 RDI it(testDir, directory_options::skip_permission_denied, ec); in TEST_CASE()
156 const path testDir = env.make_env_path("dir1"); in TEST_CASE() local
157 env.create_dir(testDir); in TEST_CASE()
162 RDI it(testDir, ec); in TEST_CASE()
[all …]
Ddepth.pass.cpp33 const path testDir = StaticEnv::Dir; in TEST_CASE() local
39 recursive_directory_iterator it(testDir, ec); in TEST_CASE()
49 if (parent == testDir) { in TEST_CASE()
Dcopy_assign.pass.cpp39 const path testDir = StaticEnv::Dir; in TEST_SUITE() local
41 recursive_directory_iterator it(testDir, in TEST_SUITE()
62 const path testDir = StaticEnv::Dir; in createDifferentInterestingIterator() local
64 recursive_directory_iterator it(testDir, in createDifferentInterestingIterator()
Dmove_assign.pass.cpp45 const path testDir = StaticEnv::Dir; in TEST_SUITE() local
47 recursive_directory_iterator it(testDir, in TEST_SUITE()
67 const path testDir = StaticEnv::Dir; in createDifferentInterestingIterator() local
69 recursive_directory_iterator it(testDir, in createDifferentInterestingIterator()
Dincrement.pass.cpp46 const path testDir = StaticEnv::Dir; in TEST_CASE() local
52 recursive_directory_iterator it(testDir, ec); in TEST_CASE()
69 const path testDir = StaticEnv::Dir; in TEST_CASE() local
75 recursive_directory_iterator it(testDir, ec); in TEST_CASE()
92 const path testDir = StaticEnv::Dir; in TEST_CASE() local
98 recursive_directory_iterator it(testDir, ec); in TEST_CASE()
116 const path testDir = StaticEnv::Dir; in TEST_CASE() local
123 recursive_directory_iterator it(testDir, in TEST_CASE()
/external/libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/
Dctor.pass.cpp91 path const testDir = env.make_env_path("dir1"); in TEST_CASE() local
92 path const testFile = testDir / "testFile"; in TEST_CASE()
93 env.create_dir(testDir); in TEST_CASE()
98 directory_iterator it(testDir); in TEST_CASE()
102 permissions(testDir, perms::none); in TEST_CASE()
108 directory_iterator it(testDir, ec); in TEST_CASE()
116 directory_iterator it(testDir, directory_options::skip_permission_denied, ec); in TEST_CASE()
154 const path testDir = env.make_env_path("dir1"); in TEST_CASE() local
155 env.create_dir(testDir); in TEST_CASE()
160 directory_iterator it(testDir, ec); in TEST_CASE()
[all …]
Dcopy_assign.pass.cpp39 const path testDir = StaticEnv::Dir; in TEST_CASE() local
41 const directory_iterator from(testDir); in TEST_CASE()
55 const path testDir = StaticEnv::Dir; in TEST_CASE() local
59 directory_iterator to(testDir); in TEST_CASE()
69 const path testDir = StaticEnv::Dir; in TEST_CASE() local
72 directory_iterator it_obj(testDir); in TEST_CASE()
79 directory_iterator it2(testDir); in TEST_CASE()
Dmove_assign.pass.cpp45 const path testDir = StaticEnv::Dir; in TEST_CASE() local
47 directory_iterator from(testDir); in TEST_CASE()
60 const path testDir = StaticEnv::Dir; in TEST_CASE() local
64 directory_iterator to(testDir); in TEST_CASE()
74 const path testDir = StaticEnv::Dir; in TEST_CASE() local
77 directory_iterator it(testDir); in TEST_CASE()
83 directory_iterator it2(testDir); in TEST_CASE()
Dincrement.pass.cpp47 const path testDir = StaticEnv::Dir; in TEST_CASE() local
53 directory_iterator it(testDir, ec); in TEST_CASE()
70 const path testDir = StaticEnv::Dir; in TEST_CASE() local
76 directory_iterator it(testDir, ec); in TEST_CASE()
94 const path testDir = StaticEnv::Dir; in TEST_CASE() local
100 directory_iterator it(testDir, ec); in TEST_CASE()
Dcopy.pass.cpp46 const path testDir = StaticEnv::Dir; in TEST_CASE() local
49 const directory_iterator it(testDir); in TEST_CASE()
Dmove.pass.cpp49 const path testDir = StaticEnv::Dir; in TEST_CASE() local
52 directory_iterator it(testDir); in TEST_CASE()
/external/pdfium/testing/tools/
Dgold.py248 testDir = "./testdirectory" variable
249 if not os.path.exists(testDir):
250 os.makedirs(testDir)
251 open(os.path.join(testDir, "image1.png"), 'wb').close()
252 open(os.path.join(testDir, "image2.png"), 'wb').close()
253 open(os.path.join(testDir, "image3.png"), 'wb').close()
260 hash_file = os.path.join(testDir, "ignore_hashes.txt")
264 gr = GoldResults("pdfium", testDir, propStr, keyStr, hash_file)
265 gr.AddTestResult("test-1", "hash-1", os.path.join(testDir, "image1.png"))
266 gr.AddTestResult("test-2", "hash-2", os.path.join(testDir, "image2.png"))
[all …]
/external/smali/baksmali/src/test/java/org/jf/baksmali/
DRoundtripTest.java51 protected final String testDir; field in RoundtripTest
53 protected RoundtripTest(@Nonnull String testDir) { in RoundtripTest() argument
54 this.testDir = testDir; in RoundtripTest()
58 this.testDir = this.getClass().getSimpleName(); in RoundtripTest()
63 return String.format("%s%s%sInput.smali", testDir, File.separatorChar, testName); in getInputFilename()
68 return String.format("%s%s%sOutput.smali", testDir, File.separatorChar, testName); in getOutputFilename()
DDexTest.java52 protected final String testDir; field in DexTest
54 protected DexTest(@Nonnull String testDir) { in DexTest() argument
55 this.testDir = testDir; in DexTest()
59 this.testDir = this.getClass().getSimpleName(); in DexTest()
64 return String.format("%s%s%sInput.dex", testDir, File.separatorChar, testName); in getInputFilename()
DIdenticalRoundtripTest.java45 public IdenticalRoundtripTest(@Nonnull String testDir) { in IdenticalRoundtripTest() argument
46 super(testDir); in IdenticalRoundtripTest()
53 return String.format("%s%s%s.smali", testDir, File.separatorChar, testName); in getInputFilename()
/external/deqp-deps/glslang/gtests/
DTestFixture.h427 void loadFileCompileAndCheck(const std::string& testDir,
439 const std::string inputFname = testDir + "/" + testName;
441 testDir + baseDir + testName + ".out";
463 void loadFileCompileAndCheckWithOptions(const std::string &testDir,
472 const std::string inputFname = testDir + "/" + testName;
473 const std::string expectedOutputFname = testDir + baseDir + testName + ".out";
491 void loadFileCompileFlattenUniformsAndCheck(const std::string& testDir,
498 const std::string inputFname = testDir + "/" + testName;
500 testDir + "/baseResults/" + testName + ".out";
518 void loadFileCompileIoMapAndCheck(const std::string& testDir, in loadFileCompileIoMapAndCheck() argument
[all …]
/external/guava/guava-tests/test/com/google/common/io/
DIoTestCase.java51 private File testDir; field in IoTestCase
67 if (testDir != null) { in getTestDir()
68 return testDir; in getTestDir()
79 testDir = testFile.getParentFile(); // the testdata directory in getTestDir()
86 if (testDir == null) { in getTestDir()
89 testDir = createTempDir(); in getTestDir()
92 return testDir; in getTestDir()
/external/antlr/runtime/Python3/
Dsetup.py86 testDir = os.path.join(os.path.dirname(__file__), 'unittests')
87 if not os.path.isdir(testDir):
104 for testPath in glob.glob(os.path.join(testDir, 'test*.py')):
113 = imp.find_module(testID, [testDir])
179 testDir = os.path.join(os.path.dirname(__file__), 'tests')
180 if not os.path.isdir(testDir):
187 sys.path.insert(0, testDir)
220 for testPath in glob.glob(os.path.join(testDir, test_glob)):
238 = imp.find_module(testID, [testDir])
/external/antlr/runtime/Python/
Dsetup.py83 testDir = os.path.join(os.path.dirname(__file__), 'unittests')
84 if not os.path.isdir(testDir):
101 for testPath in glob.glob(os.path.join(testDir, 'test*.py')):
110 = imp.find_module(testID, [testDir])
184 testDir = os.path.join(os.path.dirname(__file__), 'tests')
185 if not os.path.isdir(testDir):
192 sys.path.insert(0, testDir)
226 for testPath in glob.glob(os.path.join(testDir, test_glob)):
244 = imp.find_module(testID, [testDir])
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/utils/
DSourceZipTest.java40 private final Path testDir = CodeGenerationUtils.mavenModuleRoot(SourceZipTest.class) field in SourceZipTest
47 SourceZip sourceZip = new SourceZip(testDir.resolve("test.zip")); in parseTestDirectory()
59 SourceZip sourceZip = new SourceZip(testDir.resolve("test.zip")); in parseTestDirectoryWithCallback()
74 new SourceZip(testDir.resolve("test")).parse(); in dirAsZipIsNotAllowed()
79 new SourceZip(testDir.resolve("test.txt")).parse(); in fileAsZipIsNotAllowed()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/
DAbstractTestCase.java98 final File testDir = new File(TESTDATA, dir); in wipe() local
99 final String[] files = testDir.list(); in wipe()
102 if (!testDir.delete()) { in wipe()
103 System.err.println("Failed to remove: " + testDir); in wipe()
106 System.err.println("Non-empty directory: " + testDir); in wipe()
/external/icu/icu4c/source/test/intltest/
Dtextfile.cpp51 const char* testDir = IntlTest::getSourceTestData(ec); in TextFile() local
55 if (!ensureCapacity((int32_t)(uprv_strlen(testDir) + uprv_strlen(name) + 1))) { in TextFile()
59 uprv_strcpy(buffer, testDir); in TextFile()
/external/libcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.nonmembers/
Dbegin_end.pass.cpp46 const path testDir = StaticEnv::Dir; in TEST_CASE() local
51 recursive_directory_iterator it(testDir, ec); in TEST_CASE()
/external/libcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.nonmembers/
Dbegin_end.pass.cpp46 const path testDir = StaticEnv::Dir; in TEST_CASE() local
51 directory_iterator it(testDir, ec); in TEST_CASE()

12