Search in sources :

Example 1 with HttpTransportTestSuiteBuilder

use of org.apache.axis2.transport.testkit.http.HttpTransportTestSuiteBuilder in project wso2-synapse by wso2.

the class HttpCoreNIOListenerTest method suite.

public static TestSuite suite() throws Exception {
    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));
    return suite;
}
Also used : HttpTransportTestSuiteBuilder(org.apache.axis2.transport.testkit.http.HttpTransportTestSuiteBuilder) ManagedTestSuite(org.apache.axis2.transport.testkit.ManagedTestSuite) TransportDescriptionFactory(org.apache.axis2.transport.testkit.axis2.TransportDescriptionFactory)

Aggregations

ManagedTestSuite (org.apache.axis2.transport.testkit.ManagedTestSuite)1 TransportDescriptionFactory (org.apache.axis2.transport.testkit.axis2.TransportDescriptionFactory)1 HttpTransportTestSuiteBuilder (org.apache.axis2.transport.testkit.http.HttpTransportTestSuiteBuilder)1