Home
last modified time | relevance | path

Searched refs:proxy1 (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/test/java/libcore/java/net/
DOldProxyTest.java42 Proxy proxy1 = new Proxy(Proxy.Type.HTTP, address1); in test_hashCode() local
44 assertTrue(proxy1.hashCode() == proxy2.hashCode()); in test_hashCode()
48 assertTrue(proxy1.hashCode() == proxy2.hashCode()); in test_hashCode()
50 assertTrue(proxy1.hashCode() != proxy4.hashCode()); in test_hashCode()
DOldSocketTest.java1898 Proxy proxy1 = new Proxy(Proxy.Type.HTTP, addr1); in test_ConstructorLjava_net_Proxy_Exception() local
1901 new Socket(proxy1); in test_ConstructorLjava_net_Proxy_Exception()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DProxyTest.java145 Proxy proxy1 = new Proxy(Proxy.Type.HTTP, address1); in test_equalsLjava_lang_Object_Equals() local
147 assertTrue(proxy1.equals(proxy2)); in test_equalsLjava_lang_Object_Equals()
149 assertTrue(proxy1.hashCode() == proxy2.hashCode()); in test_equalsLjava_lang_Object_Equals()
DProxySelectorTest.java454 Proxy proxy1 = (Proxy) proxyList1.get(0); in test_connectionFailedLjava_net_URILjava_net_SocketAddressLjava_io_IOException() local
456 .connectFailed(httpUri, proxy1.address(), new SocketException()); in test_connectionFailedLjava_net_URILjava_net_SocketAddressLjava_io_IOException()
463 assertEquals(proxy1, proxy2); in test_connectionFailedLjava_net_URILjava_net_SocketAddressLjava_io_IOException()
DSocketTest.java636 Proxy proxy1 = new Proxy(Proxy.Type.HTTP, addr1); in test_ConstructorLjava_net_Proxy_Exception() local
639 new Socket(proxy1); in test_ConstructorLjava_net_Proxy_Exception()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DProxyTest.java228 Class<?> proxy1 = Proxy.getProxyClass(loader, Echo.class, ReturnsInt.class); in test_getProxyClass_caching() local
232 assertSame(proxy1, proxy2); in test_getProxyClass_caching()