Search in sources :

Example 1 with TransportFactory

use of org.eclipse.epp.internal.mpc.core.util.TransportFactory in project epp.mpc by eclipse.

the class TransportFactoryTest method testLegacyTansportFactoryInstance.

@Test
@SuppressWarnings("deprecation")
public void testLegacyTansportFactoryInstance() {
    TransportFactory instance = TransportFactory.instance();
    org.eclipse.epp.internal.mpc.core.util.ITransport transport = instance.getTransport();
    assertNotNull(transport);
}
Also used : TransportFactory(org.eclipse.epp.internal.mpc.core.util.TransportFactory) ITransportFactory(org.eclipse.epp.mpc.core.service.ITransportFactory) HttpClientTransportFactory(org.eclipse.epp.internal.mpc.core.transport.httpclient.HttpClientTransportFactory) FallbackTransportFactory(org.eclipse.epp.internal.mpc.core.util.FallbackTransportFactory) Test(org.junit.Test)

Aggregations

HttpClientTransportFactory (org.eclipse.epp.internal.mpc.core.transport.httpclient.HttpClientTransportFactory)1 FallbackTransportFactory (org.eclipse.epp.internal.mpc.core.util.FallbackTransportFactory)1 TransportFactory (org.eclipse.epp.internal.mpc.core.util.TransportFactory)1 ITransportFactory (org.eclipse.epp.mpc.core.service.ITransportFactory)1 Test (org.junit.Test)1