OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:addrName
(Results
1 - 2
of
2
) sorted by null
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
Inet4AddressTest.java
38
String
addrName
= "";
39
addrName
= "224.0.0.0"; // a multicast addr 1110 = 224-239
40
InetAddress addr = InetAddress.getByName(
addrName
);
41
assertTrue("Multicast address " +
addrName
+ " not detected.", addr
44
addrName
= "239.255.255.255"; // a multicast addr 1110 = 224-239
45
addr = InetAddress.getByName(
addrName
);
46
assertTrue("Multicast address " +
addrName
+ " not detected.", addr
49
addrName
= "42.42.42.42"; // a non-multicast address
50
addr = InetAddress.getByName(
addrName
);
51
assertTrue("Non multicast address " +
addrName
[
all
...]
Inet6AddressTest.java
33
String
addrName
= "";
42
addrName
= "FFFF::42:42"; // 11111111 = FFFF
43
addr = InetAddress.getByName(
addrName
);
44
assertTrue("Multicast address " +
addrName
+ " not detected.", addr
47
addrName
= "42::42:42"; // an non-multicast address
48
addr = InetAddress.getByName(
addrName
);
49
assertTrue("Non multicast address " +
addrName
60
addrName
= "::224.42.42.42"; // an ipv4 multicast addr 1110 = 224
61
addr = InetAddress.getByName(
addrName
);
62
assertTrue("IPv4 compatable address " +
addrName
[
all
...]
Completed in 37 milliseconds