Searched refs:proxy1 (Results 1 – 6 of 6) sorted by relevance
/libcore/luni/src/test/java/libcore/java/net/ |
D | OldProxyTest.java | 42 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()
|
D | OldSocketTest.java | 1898 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/ |
D | ProxyTest.java | 145 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()
|
D | ProxySelectorTest.java | 454 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()
|
D | SocketTest.java | 636 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/ |
D | ProxyTest.java | 228 Class<?> proxy1 = Proxy.getProxyClass(loader, Echo.class, ReturnsInt.class); in test_getProxyClass_caching() local 232 assertSame(proxy1, proxy2); in test_getProxyClass_caching()
|