use of org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory in project ecf by eclipse.
the class TestEquals method testProtocolSocketFactory.
public void testProtocolSocketFactory() {
ProtocolSocketFactory p1 = new DefaultProtocolSocketFactory();
ProtocolSocketFactory p2 = new DefaultProtocolSocketFactory();
assertTrue(p1.equals(p2));
assertTrue(p2.equals(p1));
p1 = new SSLProtocolSocketFactory();
p2 = new SSLProtocolSocketFactory();
assertTrue(p1.equals(p2));
assertTrue(p2.equals(p1));
}
use of org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory in project ecf by eclipse.
the class TestEquals method testProtocol.
public void testProtocol() {
Protocol p1 = new Protocol("test", new DefaultProtocolSocketFactory(), 123);
Protocol p2 = new Protocol("test", new DefaultProtocolSocketFactory(), 123);
assertTrue(p1.equals(p2));
assertTrue(p2.equals(p1));
}
Aggregations