Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/net/
DOldProxyTest.java43 Proxy proxy2 = 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()
DOldSocketTest.java1907 Proxy proxy2 = new Proxy(Proxy.Type.SOCKS, addr1); in test_ConstructorLjava_net_Proxy_Exception() local
1909 new Socket(proxy2); in test_ConstructorLjava_net_Proxy_Exception()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DProxyTest.java146 Proxy proxy2 = new Proxy(Proxy.Type.HTTP, address2); 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.java461 Proxy proxy2 = (Proxy) proxyList2.get(0); in test_connectionFailedLjava_net_URILjava_net_SocketAddressLjava_io_IOException() local
463 assertEquals(proxy1, proxy2); in test_connectionFailedLjava_net_URILjava_net_SocketAddressLjava_io_IOException()
DSocketTest.java645 Proxy proxy2 = new Proxy(Proxy.Type.SOCKS, addr1); in test_ConstructorLjava_net_Proxy_Exception() local
647 new Socket(proxy2); in test_ConstructorLjava_net_Proxy_Exception()
/libcore/luni/src/test/java/libcore/java/lang/reflect/
DProxyTest.java229 Class<?> proxy2 = Proxy.getProxyClass(loader, Echo.class, ReturnsInt.class); in test_getProxyClass_caching() local
232 assertSame(proxy1, proxy2); in test_getProxyClass_caching()
233 assertTrue(!proxy2.equals(proxy3)); in test_getProxyClass_caching()