OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:testURL
(Results
1 - 3
of
3
) sorted by null
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
URLTest.java
614
URL
testURL
= new URL("http", "www.apache.org:8080", "test.html#anch");
615
assertEquals("wrong protocol", "http",
testURL
.getProtocol());
616
assertEquals("wrong host", "[www.apache.org:8080]",
testURL
.getHost());
617
assertEquals("wrong port", -1,
testURL
.getPort());
618
assertEquals("wrong file", "test.html",
testURL
.getFile());
619
assertEquals("wrong anchor", "anch",
testURL
.getRef());
[
all
...]
/libcore/support/src/test/java/tests/support/
Support_Configuration.java
94
public static String
testURL
= "harmony.apache.org";
/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
...]
Completed in 67 milliseconds