Package org.apache.axis2.transport.testkit.axis2

Examples of org.apache.axis2.transport.testkit.axis2.TransportDescriptionFactory


        suite.addExclude("(test=AsyncSOAPLarge)");

        TransportTestSuiteBuilder builder = new TransportTestSuiteBuilder(suite);
        builder.addAsyncChannel(new UDPChannel());
        builder.addRequestResponseChannel(new UDPChannel());
        builder.addEnvironment(new SimpleTransportDescriptionFactory("udp", UDPListener.class, UDPSender.class));
        builder.addAxisAsyncTestClient(new AxisAsyncTestClient());
        builder.addAxisAsyncEndpoint(new AxisAsyncEndpoint());
        builder.addAxisRequestResponseTestClient(new AxisRequestResponseTestClient());
        builder.addEchoEndpoint(new AxisEchoEndpoint());
        builder.build();
View Full Code Here


        ManagedTestSuite suite = new ManagedTestSuite(HttpCoreNIOListenerTest.class);
       
        // These tests don't work because of a problem similar to SYNAPSE-418
        suite.addExclude("(test=EchoXML)");
       
        TransportDescriptionFactory tdfNIO =
            new SimpleTransportDescriptionFactory("http", HttpCoreNIOListener.class,
                                                  HttpCoreNIOSender.class);
       
        HttpTransportTestSuiteBuilder builder = new HttpTransportTestSuiteBuilder(suite, tdfNIO);
       
View Full Code Here

        ManagedTestSuite suite = new ManagedTestSuite(HttpCoreNIOListenerTest.class);
       
        // These tests don't work because of a problem similar to SYNAPSE-418
        suite.addExclude("(test=EchoXML)");
       
        TransportDescriptionFactory tdfNIO =
                new SimpleTransportDescriptionFactory("http", HttpCoreNIOListener.class,
                HttpCoreNIOSender.class);
        HttpTransportTestSuiteBuilder builder = new HttpTransportTestSuiteBuilder(suite, tdfNIO);
       
        builder.addAxisTestClientConfigurator(new HttpAxisTestClientConfigurator(false));
View Full Code Here

        ManagedTestSuite suite = new ManagedTestSuite(HttpCoreNIOListenerTest.class);
       
        // These tests don't work because of a problem similar to SYNAPSE-418
        suite.addExclude("(test=EchoXML)");
       
        TransportDescriptionFactory tdfNIO = new HttpTransportDescriptionFactory();
       
        HttpTransportTestSuiteBuilder builder = new HttpTransportTestSuiteBuilder(suite, tdfNIO);
       
        builder.addAxisTestClientConfigurator(new HttpAxisTestClientConfigurator(false));
        builder.addAxisTestClientConfigurator(new HttpAxisTestClientConfigurator(true));
View Full Code Here

public class SimpleHTTPServerTest extends TestCase {
    public static TestSuite suite() throws Exception {
        ManagedTestSuite suite = new ManagedTestSuite(SimpleHTTPServerTest.class);
       
        TransportDescriptionFactory tdf = new HttpTransportDescriptionFactory(8280);
       
        new HttpTransportTestSuiteBuilder(suite, tdf).build();
       
        return suite;
    }
View Full Code Here

public class SimpleHTTPServerTest extends TestCase {
    public static TestSuite suite() throws Exception {
        ManagedTestSuite suite = new ManagedTestSuite(SimpleHTTPServerTest.class);
       
        TransportDescriptionFactory tdf = new HttpTransportDescriptionFactory();
       
        new HttpTransportTestSuiteBuilder(suite, tdf).build();
       
        return suite;
    }
View Full Code Here

        builder.addEnvironment(new VFSTestEnvironment(new File("target/vfs3")),
                new VFSTransportDescriptionFactory());
       
        builder.addAsyncChannel(new VFSAsyncFileChannel("req/in"));
       
        builder.addAxisAsyncTestClient(new AxisAsyncTestClient());
        builder.addByteArrayAsyncTestClient(new VFSAsyncClient());
       
        builder.addAxisAsyncEndpoint(new AxisAsyncEndpoint(), cfgtr);
        builder.addByteArrayAsyncEndpoint(new VFSMockAsyncEndpoint());
       
View Full Code Here

       
        MailChannel channel = new MailChannel();
       
        builder.addAsyncChannel(channel);
       
        builder.addAxisAsyncTestClient(new AxisAsyncTestClient(), new MailAxisTestClientConfigurator(MailConstants.TRANSPORT_FORMAT_TEXT));
        builder.addAxisAsyncTestClient(new AxisAsyncTestClient(), new MailAxisTestClientConfigurator(MailConstants.TRANSPORT_FORMAT_MP));
        builder.addByteArrayAsyncTestClient(new MailAsyncClient(new FlatLayout()));
        builder.addByteArrayAsyncTestClient(new MailAsyncClient(new MultipartLayout()));
       
        builder.addAxisAsyncEndpoint(new AxisAsyncEndpoint());
       
View Full Code Here

        }
       
        builder.addAsyncChannel(new JMSAsyncChannel(JMSConstants.DESTINATION_TYPE_QUEUE, ContentTypeMode.TRANSPORT));
        builder.addAsyncChannel(new JMSAsyncChannel(JMSConstants.DESTINATION_TYPE_TOPIC, ContentTypeMode.TRANSPORT));
       
        builder.addAxisAsyncTestClient(new AxisAsyncTestClient());
        builder.addAxisAsyncTestClient(new AxisAsyncTestClient(), new JMSAxisTestClientConfigurator(JMSConstants.JMS_BYTE_MESSAGE));
        builder.addAxisAsyncTestClient(new AxisAsyncTestClient(), new JMSAxisTestClientConfigurator(JMSConstants.JMS_TEXT_MESSAGE));
        builder.addByteArrayAsyncTestClient(new JMSAsyncClient<byte[]>(JMSBytesMessageFactory.INSTANCE));
        builder.addStringAsyncTestClient(new JMSAsyncClient<String>(JMSTextMessageFactory.INSTANCE));
       
        builder.addAxisAsyncEndpoint(new AxisAsyncEndpoint());
       
View Full Code Here

        TransportTestSuiteBuilder builder = new TransportTestSuiteBuilder(suite);
        builder.addAsyncChannel(new UDPChannel());
        builder.addRequestResponseChannel(new UDPChannel());
        builder.addEnvironment(new SimpleTransportDescriptionFactory("udp", UDPListener.class, UDPSender.class));
        builder.addAxisAsyncTestClient(new AxisAsyncTestClient());
        builder.addAxisAsyncEndpoint(new AxisAsyncEndpoint());
        builder.addAxisRequestResponseTestClient(new AxisRequestResponseTestClient());
        builder.addEchoEndpoint(new AxisEchoEndpoint());
        builder.build();
       
View Full Code Here

TOP

Related Classes of org.apache.axis2.transport.testkit.axis2.TransportDescriptionFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.