Home
last modified time | relevance | path

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

/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/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/glide/library/src/main/java/com/bumptech/glide/load/model/
DGlideUrl.java47 public URL toURL() throws MalformedURLException { in toURL() method in GlideUrl
/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()
DInstrClassLoader.java382 result [f] = classpath [f].toURL (); // note: this does proper dir encoding in filesToURLs()
/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/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/guava/guava-tests/test/com/google/common/io/
DSourceSinkFactories.java410 return Resources.asByteSource(getFile().toURI().toURL());
419 return Resources.asCharSource(getFile().toURI().toURL(), Charsets.UTF_8);
DResourcesTest.java155 URL baseUrl = tempFile.getParentFile().toURI().toURL(); in testGetResource_contextClassLoader()
/external/glide/library/src/main/java/com/bumptech/glide/load/data/
DHttpUrlFetcher.java40 return loadDataWithRedirects(glideUrl.toURL(), 0 /*redirects*/, null /*lastUrl*/); in loadData()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue318/
DContextClassLoaderTest.java88 yamlCL = new URLClassLoader(new URL[] { runtimeClassesDir.toURI().toURL() }, null); in before()
/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/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
DJavaApiConverterTest.java105 Request request = new Request.Builder().url(uri.toURL()).build(); in createOkResponseForCacheGet()
137 Request request = new Request.Builder().url(uri.toURL()).build(); in createOkResponseForCacheGet_withMissingStatusLine()
165 Request request = new Request.Builder().url(uri.toURL()).build(); in createOkResponseForCacheGet_secure()
DResponseCacheTest.java1867 assertEquals(server.getUrl("/"), uri.toURL());
/external/cldr/tools/java/org/unicode/cldr/util/
DCachingEntityResolver.java138 newUrl = xFile.toURI().toURL().toString(); in resolveEntity()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DURLClassLoaderTest.java385 dirUrl = dir.toURI().toURL(); in testFindResource_H3461()
396 assertEquals("URL was not correctly encoded", f2.toURI().toURL(), in testFindResource_H3461()
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DSandboxClassLoader.java70 urls.add(new File(entry).toURI().toURL()); in parseJavaClassPath()
/external/emma/tools/java/com/vladium/tools/
DClassDep.java58 classPath [i] = new File (tokenizer.nextToken ()).toURL (); in main()
/external/guice/core/test/com/google/inject/
DAsserts.java228 urls.add(new File(entry).toURI().toURL());
/external/apache-commons-bcel/src/main/java/org/apache/bcel/util/
DClassPath.java411 return file.exists() ? file.toURI().toURL() : null; in getResource()
/external/mockito/src/test/java/org/mockitoutil/
DClassLoaders.java447 return new File(path).getAbsoluteFile().toURI().toURL(); in pathToUrl()
/external/antlr/tool/src/test/java/org/antlr/test/
DBaseTest.java395 …ClassLoader loader = new URLClassLoader(new URL[] { new File(tmpdir).toURI().toURL() }, ClassLoade… in execClass()