summaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2011-05-05 10:41:49 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-05-05 10:41:49 -0700
commit73c54e43051d0da126d643049296c264ebb9fd04 (patch)
tree483151901000705ed591153217b074b9d2bc98aa /support
parentd742d7fc7f0593eb8c6e4ac9dd4c0f6a80374e46 (diff)
parent7e6cee7a973ebf3cdc32638580d777d9b45088ae (diff)
downloadlibcore-73c54e43051d0da126d643049296c264ebb9fd04.zip
libcore-73c54e43051d0da126d643049296c264ebb9fd04.tar.gz
libcore-73c54e43051d0da126d643049296c264ebb9fd04.tar.bz2
Merge "A handful of networking test fixes." into dalvik-dev
Diffstat (limited to 'support')
-rw-r--r--support/src/test/java/tests/support/Support_Configuration.java51
1 files changed, 1 insertions, 50 deletions
diff --git a/support/src/test/java/tests/support/Support_Configuration.java b/support/src/test/java/tests/support/Support_Configuration.java
index fb5b468..fed0bc8 100644
--- a/support/src/test/java/tests/support/Support_Configuration.java
+++ b/support/src/test/java/tests/support/Support_Configuration.java
@@ -46,8 +46,6 @@ public class Support_Configuration {
public static String HomeAddressSoftware = "Jetty(6.0.x)";
- public static String ProxyServerTestHost = "jcltest.apache.org";
-
public static String SocksServerTestHost = "jcltest.apache.org";
public static int SocksServerTestPort = 1080;
@@ -75,15 +73,7 @@ public class Support_Configuration {
public static byte[] InetTestCaddr = { 9, 26, -56, -111 };
- public static final String HomeAddress6 = "jcltest6.apache.org";
-
- public static String IPv6GlobalAddressJcl4 = "FE80:0000:0000:0000:020D:60FF:FE0F:A776%4"; // this
-
- public static String ProxyServerTestHostIPv6 = "jcltest6.apache.org";
-
- public static String InetTestIP6 = "fe80::20d:60ff:fe24:7410";
-
- public static String InetTestIP6LO = "::1";
+ public static String IPv6GlobalAddressJcl4 = "2001:4860:8004::67"; // ipv6.google.com
// ip address that resolves to a host that is not present on the local
// network
@@ -131,12 +121,6 @@ public class Support_Configuration {
public static long URLConnectionDate = 929106872000L;
- public static boolean RunCommTests = false;
-
- public static String Port1 = "COM1";
-
- public static String Port2 = "COM2";
-
static Hashtable<String, String> props = null;
static {
loadProperties();
@@ -149,9 +133,6 @@ public class Support_Configuration {
Hashtable<String, String> props = new Hashtable<String, String>();
String iniName = System.getProperty("test.ini.file", "JCLAuto.ini");
- if (System.getProperty("test.comm") != null) {
- RunCommTests = true;
- }
try {
in = new FileInputStream(iniName);
@@ -204,11 +185,6 @@ public class Support_Configuration {
HomeAddressSoftware = value;
}
- value = props.get("ProxyServerTestHost");
- if (value != null) {
- ProxyServerTestHost = value;
- }
-
value = props.get("SocksServerTestHost");
if (value != null) {
SocksServerTestHost = value;
@@ -313,31 +289,6 @@ public class Support_Configuration {
URLConnectionDate = Long.parseLong(value);
}
- value = props.get("Port1");
- if (value != null) {
- Port1 = value;
- }
-
- value = props.get("Port2");
- if (value != null) {
- Port2 = value;
- }
-
- value = props.get("InetTestIP6");
- if (value != null) {
- InetTestIP6 = value;
- }
-
- value = props.get("InetTestIP6LO");
- if (value != null) {
- InetTestIP6LO = value;
- }
-
- value = props.get("ProxyServerTestHostIPv6");
- if (value != null) {
- ProxyServerTestHostIPv6 = value;
- }
-
value = props.get("ResolvedNotExistingHost");
if (value != null) {
ResolvedNotExistingHost = value;