OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:testURL
(Results
1 - 3
of
3
) sorted by null
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
URLTest.java
608
URL
testURL
= new URL("http", "www.apache.org:8080", "test.html#anch");
609
assertEquals("wrong protocol", "http",
testURL
.getProtocol());
610
assertEquals("wrong host", "[www.apache.org:8080]",
testURL
.getHost());
611
assertEquals("wrong port", -1,
testURL
.getPort());
612
assertEquals("wrong file", "/test.html",
testURL
.getFile());
613
assertEquals("wrong anchor", "anch",
testURL
.getRef());
[
all
...]
/libcore/luni/src/test/java/libcore/java/net/
OldURLTest.java
69
URL
testURL
= new URL("http", "www.apache.org:8082", "test.html#anch");
70
assertEquals("Assert 0: wrong protocol", "http",
testURL
.getProtocol());
71
assertEquals("Assert 1: wrong host", "[www.apache.org:8082]",
testURL
.getHost());
72
assertEquals("Assert 2: wrong port", -1,
testURL
.getPort());
73
assertEquals("Assert 3: wrong file", "/test.html",
testURL
.getFile());
74
assertEquals("Assert 4: wrong anchor", "anch",
testURL
.getRef());
152
URL
testURL
= new URL("ftp://myname@host.dom/etc/motd");
154
assertEquals("Assert 0: wrong protocol", "ftp",
testURL
.getProtocol());
155
assertEquals("Assert 1: wrong host", "host.dom",
testURL
.getHost());
156
assertEquals("Assert 2: wrong port", -1,
testURL
.getPort())
[
all
...]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
AndroidClasspathContainerInitializer.java
454
if (androidApiURL != null &&
testURL
(androidApiURL)) {
457
if (
testURL
(paths[CACHE_INDEX_DOCS_URI])) {
459
} else if (
testURL
(ANDROID_API_REFERENCE)) {
541
* Cache results for
testURL
: Some are expensive to compute, and this is
548
private static boolean
testURL
(String androidApiURL) {
556
URL
testURL
= new URL(androidApiURL);
557
URLConnection connection =
testURL
.openConnection();
[
all
...]
Completed in 467 milliseconds