Home
last modified time | relevance | path

Searched refs:getAbsolutePath (Results 1 – 25 of 63) sorted by relevance

123

/libcore/luni/src/test/java/libcore/java/io/
DOldFileTest.java84 assertEquals(tmpDirName, f.getAbsolutePath()); in test_ConstructorLjava_io_FileLjava_lang_String()
90 assertEquals(f.getAbsolutePath(), d.getAbsolutePath()); in test_ConstructorLjava_io_FileLjava_lang_String()
103 assertEquals(tmpDir, f.getAbsolutePath()); in test_ConstructorLjava_lang_StringLjava_lang_String()
122 assertEquals(d.getAbsolutePath(), f.getAbsolutePath()); in test_ConstructorLjava_lang_StringLjava_lang_String()
123 assertEquals("/abc", f.getAbsolutePath()); in test_ConstructorLjava_lang_StringLjava_lang_String()
174 builder.command().add(dir.getAbsolutePath()); in test_deleteOnExit()
175 builder.command().add(subDir.getAbsolutePath()); in test_deleteOnExit()
DFileTest.java139 assertEquals(cwd, f.getAbsolutePath()); in test_emptyFilename()
238 assertEquals(userDir + "poop", f.getAbsolutePath()); in test_getAbsolutePath()
310 nativeTestFilesWithSurrogatePairs(base.getAbsolutePath()); in testFilesWithSurrogatePairs()
325 stat(tmpFile.getAbsolutePath()); in testExistsOnSystem()
360 assertTrue(tempFile.getAbsolutePath().contains(directoryName)); in testJavaIoTmpdirMutable()
407 …Equals(0, Runtime.getRuntime().exec("ln -s " + f1.getAbsolutePath() + " " + symlinkFile.getAbsolut… in test_canonicalCachesAreOff()
411 assertEquals(0, Runtime.getRuntime().exec("rm " + symlinkFile.getAbsolutePath()).waitFor()); in test_canonicalCachesAreOff()
412 …Equals(0, Runtime.getRuntime().exec("ln -s " + f2.getAbsolutePath() + " " + symlinkFile.getAbsolut… in test_canonicalCachesAreOff()
/libcore/luni/src/test/java/libcore/dalvik/system/
DBaseDexClassLoaderTest.java239 final String sharedJarPath = resourcesMap.get("parent.jar").getAbsolutePath(); in testReporting_multipleJars_withSharedLibraries()
335 new PathClassLoader(parentPath.getAbsolutePath(), null, parent), in testGetResourceSharedLibraries1()
336 new PathClassLoader(childPath.getAbsolutePath(), null, parent), in testGetResourceSharedLibraries1()
360 new PathClassLoader(childPath.getAbsolutePath(), null, parent), in testGetResourceSharedLibraries2()
361 new PathClassLoader(parentPath.getAbsolutePath(), null, parent), in testGetResourceSharedLibraries2()
385 new PathClassLoader(parentPath.getAbsolutePath(), null, parent), in testGetResourceSharedLibraries3()
389 new PathClassLoader(childPath.getAbsolutePath(), null, parent, sharedLibraryLevel2), in testGetResourceSharedLibraries3()
413 new PathClassLoader(childPath.getAbsolutePath(), null, parent), in testGetResourceSharedLibraries4()
417 new PathClassLoader(parentPath.getAbsolutePath(), null, parent, sharedLibraryLevel2), in testGetResourceSharedLibraries4()
439 ClassLoader parent = new PathClassLoader(parentPath.getAbsolutePath(), null, parentParent); in testGetResourceSharedLibraries5()
[all …]
DDelegateLastClassLoaderTest.java107 ClassLoader parent = new PathClassLoader(parentPath.getAbsolutePath(), in createClassLoader()
110 return new DelegateLastClassLoader(thisPath.getAbsolutePath(), null, parent, in createClassLoader()
163 resourcesMap.get("child.jar").getAbsolutePath(), null, null); in testLoadClass_exceptionMessages()
256 ClassLoader cl = new DelegateLastClassLoader(override.getAbsolutePath(), null); in testLookupOrder_bootOverride()
DDexClassLoaderTest.java74 String path = files[0].getAbsolutePath(); in createLoader()
76 path += File.pathSeparator + files[i].getAbsolutePath(); in createLoader()
367 String path = nativeLib1.getParentFile().getAbsolutePath(); in test_oneDex_addNative_findsLibrary()
DPathClassLoaderTest.java101 f.getAbsolutePath(), this.getClass().getClassLoader()); in test_classLoader_tampered_certificate_loadsOK_nullCertificates()
126 final PathClassLoader pcl = new PathClassLoader(jar.getAbsolutePath(), in test_classLoader_exceptionDuringLoading()
/libcore/luni/src/test/java/libcore/java/net/
DOldURLClassLoaderTest.java101 urls[0] = new URL("file://" + tmpDir.getAbsolutePath() + "/"); in test_findResourcesLjava_lang_String()
102 urls[1] = new URL("file://" + subDir.getAbsolutePath() + "/"); in test_findResourcesLjava_lang_String()
228 int port = server.initServer(tmp.getAbsolutePath(), "text/html"); in test_findResourceLjava_lang_String()
259 String tempPath1 = tempFile1.getParentFile().getAbsolutePath() + "/"; in test_findResource_String()
263 String tempPath2 = tempFile2.getAbsolutePath(); in test_findResource_String()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DFileDescriptorTest.java39 fos = new FileOutputStream(f.getAbsolutePath()); in test_sync()
78 fos = new FileOutputStream(f.getAbsolutePath()); in test_valid()
DFilterInputStreamTest.java100 fileName = temp.getAbsolutePath(); in setUp()
101 OutputStream fos = new FileOutputStream(temp.getAbsolutePath()); in setUp()
DSyncFailedExceptionTest.java35 FileOutputStream fos = new FileOutputStream(f.getAbsolutePath()); in test_ConstructorLjava_lang_String()
DFileTest.java102 new File("input.tst").getAbsolutePath(), in test_ConstructorLjava_io_FileLjava_lang_String2()
103 f.getAbsolutePath()); in test_ConstructorLjava_io_FileLjava_lang_String2()
111 d.getAbsolutePath(), f.getAbsolutePath()); in test_ConstructorLjava_io_FileLjava_lang_String3()
186 new File("input.tst").getAbsolutePath(), in test_ConstructorLjava_lang_StringLjava_lang_String()
187 f.getAbsolutePath()); in test_ConstructorLjava_lang_StringLjava_lang_String()
208 assertEquals("Test3: Created Incorrect File", d.getAbsolutePath(), f in test_ConstructorLjava_lang_StringLjava_lang_String()
209 .getAbsolutePath()); in test_ConstructorLjava_lang_StringLjava_lang_String()
730 base + "temp.tst", f.getAbsolutePath()); in test_getAbsolutePath()
736 f.getAbsolutePath()); in test_getAbsolutePath()
741 f.getAbsolutePath()); in test_getAbsolutePath()
[all …]
DFileOutputStreamTest.java82 String fileName = f.getAbsolutePath(); in test_ConstructorLjava_io_FileDescriptor()
97 String fileName = f.getAbsolutePath(); in test_ConstructorLjava_lang_String()
172 String fileName = f.getAbsolutePath(); in test_getFD()
DFileInputStreamTest.java100 fos = new FileOutputStream(f.getAbsolutePath()); in setUp()
106 fileName = f.getAbsolutePath(); in setUp()
/libcore/support/src/test/java/tests/support/
DSupport_ClassLoaderDalvik.java41 return new DexClassLoader(url.getPath(), tmp.getAbsolutePath(), in getClassLoader()
/libcore/luni/src/main/java/javax/xml/transform/stream/
DStreamResult.java161 this.systemId = FilePathToURI.filepath2URI(f.getAbsolutePath()); in setSystemId()
DStreamSource.java246 this.systemId = FilePathToURI.filepath2URI(f.getAbsolutePath()); in setSystemId()
/libcore/luni/src/main/java/javax/xml/parsers/
DSAXParser.java290 String escapedURI = FilePathToURI.filepath2URI(f.getAbsolutePath()); in parse()
319 String escapedURI = FilePathToURI.filepath2URI(f.getAbsolutePath()); in parse()
DDocumentBuilder.java176 String escapedURI = FilePathToURI.filepath2URI(f.getAbsolutePath()); in parse()
/libcore/luni/src/test/java/libcore/java/util/prefs/
DOldFilePreferencesImplTest.java36 new PreferencesTest.TestPreferencesFactory(tmpDir.getAbsolutePath())); in setUp()
DPreferencesTest.java66 new TestPreferencesFactory(temporaryDirectory.getAbsolutePath())); in setUp()
/libcore/metrictests/memory/apps/src/libcore/heapdumper/
DAbstractMetricInstrumentation.java110 + dir.getAbsolutePath()); in resolveOutputDirectory()
/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/
DRetentionPolicyTest.java74 classLoader = new PathClassLoader(jarFile.getAbsolutePath(), myClassLoader); in openClassLoader()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DJarURLConnectionTest.java151 + jarFile.getAbsolutePath().replaceAll(" ", "%20") + "!/") in test_getJarFile29()
219 URL url = new URL("jar:file:" + file.getAbsolutePath() + "!/entry.txt"); in test_getInputStream_DeleteJarFileUsingURLConnection()
/libcore/luni/src/test/java/libcore/java/util/zip/
DOldZipFileTest.java147 tempFileName = tempFile.getAbsolutePath(); in setUp()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/
DFilePreferencesImplTest.java37 = new AbstractPreferencesTest.TestPreferencesFactory(tmpDir.getAbsolutePath()); in setUp()

123