Home
last modified time | relevance | path

Searched refs:toURL (Results 1 – 25 of 58) sorted by relevance

123

/external/mockito/src/test/java/org/mockito/internal/configuration/plugins/
DPluginFinderTest.java44 assertNull(finder.findPluginClass(asList(f.toURI().toURL()))); in no_valid_impl()
55 assertEquals("foo.Foo", finder.findPluginClass(asList(f.toURI().toURL()))); in single_implementation()
66 assertEquals(null, finder.findPluginClass(asList(f.toURI().toURL()))); in single_implementation_disabled()
78 assertEquals("Bar", finder.findPluginClass(asList(f1.toURI().toURL(), f2.toURI().toURL()))); in multiple_implementations_only_one_enabled()
90 assertEquals("X", finder.findPluginClass(asList(f1.toURI().toURL(), f2.toURI().toURL()))); in multiple_implementations_only_one_useful()
102 assertEquals(null, finder.findPluginClass(asList(f1.toURI().toURL(), f2.toURI().toURL()))); in multiple_empty_implementations()
110 finder.findPluginClass(asList(new File("xxx").toURI().toURL())); in problems_loading_impl()
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DUrlTest.java51 URL url = path.toUri().toURL(); in creatUrl()
59 URL url = path.toUri().toURL(); in readFromUrl()
71 URL url = path.toUri().toURL(); in readDirectoryContents()
81 URL url = path.toUri().toURL(); in headers()
116 URL url = path.toUri().toURL(); in contentType()
/external/kotlinx.coroutines/buildSrc/src/main/kotlin/
DDokka.kt23 packageListUrl = packageList.toPath().toUri().toURL() in externalDocumentationLink()
/external/dokka/runners/gradle-integration-tests/testData/androidLibDependsOnJavaLib/lib/
Dbuild.gradle37 packageListUrl = file("$rootDir/package-list").toURI().toURL()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/dependency/
DLocalDependencyResolver.java53 return file.toURI().toURL(); in fileToUrl()
DPropertiesDependencyResolver.java40 return pathFile.toURI().toURL(); in getLocalArtifactUrl()
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DClassPathUtil.java42 urls.add(new File(entry).toURI().toURL()); in parseJavaClassPath()
/external/glide/library/src/main/java/com/bumptech/glide/load/model/
DGlideUrl.java47 public URL toURL() throws MalformedURLException { in toURL() method in GlideUrl
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DClassPathUtil.java42 urls.add(new File(entry).toURI().toURL()); in parseJavaClassPath()
/external/dokka/runners/cli/src/main/kotlin/cli/
Dmain.kt114 File(packageList).toURI().toURL() in parseLinks()
189 val toolsJar = findToolsJar().canonicalFile.toURI().toURL() in createClassLoaderWithTools()
/external/kotlinx.coroutines/integration/kotlinx-coroutines-play-services/
Dbuild.gradle43 packageListUrl = projectDir.toPath().resolve("package.list").toUri().toURL()
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx2/
Dbuild.gradle15 packageListUrl = projectDir.toPath().resolve("package.list").toUri().toURL()
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx3/
Dbuild.gradle24 packageListUrl = projectDir.toPath().resolve("package.list").toUri().toURL()
/external/opencensus-java/contrib/agent/src/integration-test/java/io/opencensus/contrib/agent/instrumentation/
DUrlInstrumentationIT.java62 URL url = getClass().getResource("some_resource.txt").toURI().toURL(); in getContent()
/external/emma/core/java12/com/vladium/emma/rt/
DClassPathProcessorST.java105 … srcURL = "jar:".concat (m_archiveFile.toURL ().toExternalForm ()).concat ("!/").concat (name); in handleArchiveEntry()
204 srcURL = inFile.toURL ().toExternalForm (); in handleFile()
/external/glide/library/src/main/java/com/bumptech/glide/load/data/
DHttpUrlFetcher.java40 return loadDataWithRedirects(glideUrl.toURL(), 0 /*redirects*/, null /*lastUrl*/); in loadData()
/external/opencensus-java/contrib/monitored_resource_util/src/main/java/io/opencensus/contrib/monitoredresource/util/
DAwsIdentityDocUtils.java87 HttpURLConnection connection = HttpURLConnection.class.cast(uri.toURL().openConnection()); in openStream()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue318/
DContextClassLoaderTest.java88 yamlCL = new URLClassLoader(new URL[] { runtimeClassesDir.toURI().toURL() }, null); in before()
/external/antlr/gunit-maven-plugin/src/main/java/org/antlr/mojo/antlr3/
DGUnitExecuteMojo.java244 classPathUrls.add( new File( path ).toURI().toURL() ); in determineProjectCompileScopeClassLoader()
256 return artifact.getFile().toURI().toURL(); in resolveLocalURL()
/external/dokka/core/src/test/kotlin/format/
DJavaLayoutHtmlFormatTestCase.kt71 sb.append(folder.root.toURI().resolve(URI("/").relativize(loc)).toURL().readText()) in <lambda>()
DDacFormatTestCase.kt83 output.append(tmpFolder.resolve(URI("/").relativize(loc)).toURL().readText()) in <lambda>()
/external/javassist/src/main/javassist/
DClassPoolTail.java72 return f.getCanonicalFile().toURI().toURL(); in find()
143 .toURI().toURL().toString(); in JarClassPath()
/external/guava/android/guava-tests/test/com/google/common/io/
DSourceSinkFactories.java424 return Resources.asByteSource(getFile().toURI().toURL());
434 return Resources.asCharSource(getFile().toURI().toURL(), Charsets.UTF_8);
/external/downloader/src/test/java/com/google/android/downloader/
DCronetUrlEngineTest.java114 String url = sourceFile.toURI().toURL().toString(); in executeRequest_fileUrl_requestFails()
/external/kotlinx.coroutines/gradle/
Ddokka.gradle41 …ackageListUrl = rootProject.projectDir.toPath().resolve("site/stdlib.package.list").toUri().toURL()

123