/external/mockito/src/test/java/org/mockito/internal/configuration/plugins/ |
D | PluginFinderTest.java | 44 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/ |
D | LocalDependencyResolver.java | 53 return file.toURI().toURL(); in fileToUrl()
|
D | PropertiesDependencyResolver.java | 40 return pathFile.toURI().toURL(); in getLocalArtifactUrl()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/model/ |
D | GlideUrl.java | 47 public URL toURL() throws MalformedURLException { in toURL() method in GlideUrl
|
/external/emma/core/java12/com/vladium/emma/rt/ |
D | ClassPathProcessorST.java | 105 … srcURL = "jar:".concat (m_archiveFile.toURL ().toExternalForm ()).concat ("!/").concat (name); in handleArchiveEntry() 204 srcURL = inFile.toURL ().toExternalForm (); in handleFile()
|
D | InstrClassLoader.java | 382 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/ |
D | UrlInstrumentationIT.java | 62 URL url = getClass().getResource("some_resource.txt").toURI().toURL(); in getContent()
|
/external/antlr/gunit-maven-plugin/src/main/java/org/antlr/mojo/antlr3/ |
D | GUnitExecuteMojo.java | 244 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/ |
D | SourceSinkFactories.java | 410 return Resources.asByteSource(getFile().toURI().toURL()); 419 return Resources.asCharSource(getFile().toURI().toURL(), Charsets.UTF_8);
|
D | ResourcesTest.java | 155 URL baseUrl = tempFile.getParentFile().toURI().toURL(); in testGetResource_contextClassLoader()
|
/external/glide/library/src/main/java/com/bumptech/glide/load/data/ |
D | HttpUrlFetcher.java | 40 return loadDataWithRedirects(glideUrl.toURL(), 0 /*redirects*/, null /*lastUrl*/); in loadData()
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue318/ |
D | ContextClassLoaderTest.java | 88 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/ |
D | AwsIdentityDocUtils.java | 87 HttpURLConnection connection = HttpURLConnection.class.cast(uri.toURL().openConnection()); in openStream()
|
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
D | JavaApiConverterTest.java | 105 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()
|
D | ResponseCacheTest.java | 1867 assertEquals(server.getUrl("/"), uri.toURL());
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | CachingEntityResolver.java | 138 newUrl = xFile.toURI().toURL().toString(); in resolveEntity()
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
D | URLClassLoaderTest.java | 385 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/ |
D | SandboxClassLoader.java | 70 urls.add(new File(entry).toURI().toURL()); in parseJavaClassPath()
|
/external/emma/tools/java/com/vladium/tools/ |
D | ClassDep.java | 58 classPath [i] = new File (tokenizer.nextToken ()).toURL (); in main()
|
/external/guice/core/test/com/google/inject/ |
D | Asserts.java | 228 urls.add(new File(entry).toURI().toURL());
|
/external/apache-commons-bcel/src/main/java/org/apache/bcel/util/ |
D | ClassPath.java | 411 return file.exists() ? file.toURI().toURL() : null; in getResource()
|
/external/mockito/src/test/java/org/mockitoutil/ |
D | ClassLoaders.java | 447 return new File(path).getAbsoluteFile().toURI().toURL(); in pathToUrl()
|
/external/antlr/tool/src/test/java/org/antlr/test/ |
D | BaseTest.java | 395 …ClassLoader loader = new URLClassLoader(new URL[] { new File(tmpdir).toURI().toURL() }, ClassLoade… in execClass()
|