Package org.apache.axis2.transport.testkit

Examples of org.apache.axis2.transport.testkit.ManagedTestSuite.addExclude()


public class HttpCoreNIOListenerTest extends TestCase {
    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 SimpleTransportDescriptionFactory("http", HttpCoreNIOListener.class,
                                                  HttpCoreNIOSender.class);
       
View Full Code Here


    public static TestSuite suite() throws Exception {
        // TODO: the VFS listener doesn't like reuseResources == true...
        ManagedTestSuite suite = new ManagedTestSuite(VFSTransportTest.class, false);
       
        // Since VFS has no Content-Type header, SwA is not supported.
        suite.addExclude("(test=AsyncSwA)");
       
        TransportTestSuiteBuilder builder = new TransportTestSuiteBuilder(suite);
       
        ContentTypeServiceConfigurator cfgtr = new ContentTypeServiceConfigurator("transport.vfs.ContentType");
       
View Full Code Here

public class HttpCoreNIOListenerTest extends TestCase {
    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 SimpleTransportDescriptionFactory("http", HttpCoreNIOListener.class,
                HttpCoreNIOSender.class);
        HttpTransportTestSuiteBuilder builder = new HttpTransportTestSuiteBuilder(suite, tdfNIO);
View Full Code Here

public class HttpCoreNIOListenerTest extends TestCase {
    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);
       
View Full Code Here

    public static TestSuite suite() throws Exception {
        ManagedTestSuite suite = new ManagedTestSuite(MailTransportTest.class);
       
        // SwA doesn't work with the mock client because attachments are sent with
        // "Content-Transfer-Encoding: binary" and mail servers don't like that.
        suite.addExclude("(&(test=AsyncSwA)(client=javamail))");
        // There seems to be a problem with Sun's IMAP client or GreenMail's IMAP server
        // in this particular case:
        suite.addExclude("(&(protocol=imap)(|(test=AsyncSwA)(&(test=EchoXML)(messageType=SOAP12))))");
        // SYNAPSE-434
        suite.addExclude("(test=MinConcurrency)");
View Full Code Here

        // SwA doesn't work with the mock client because attachments are sent with
        // "Content-Transfer-Encoding: binary" and mail servers don't like that.
        suite.addExclude("(&(test=AsyncSwA)(client=javamail))");
        // There seems to be a problem with Sun's IMAP client or GreenMail's IMAP server
        // in this particular case:
        suite.addExclude("(&(protocol=imap)(|(test=AsyncSwA)(&(test=EchoXML)(messageType=SOAP12))))");
        // SYNAPSE-434
        suite.addExclude("(test=MinConcurrency)");
       
        TransportTestSuiteBuilder builder = new TransportTestSuiteBuilder(suite);
       
View Full Code Here

        suite.addExclude("(&(test=AsyncSwA)(client=javamail))");
        // There seems to be a problem with Sun's IMAP client or GreenMail's IMAP server
        // in this particular case:
        suite.addExclude("(&(protocol=imap)(|(test=AsyncSwA)(&(test=EchoXML)(messageType=SOAP12))))");
        // SYNAPSE-434
        suite.addExclude("(test=MinConcurrency)");
       
        TransportTestSuiteBuilder builder = new TransportTestSuiteBuilder(suite);
       
        builder.addEnvironment(new GreenMailTestEnvironment("pop3"), MailMessageContextValidator.INSTANCE);
        builder.addEnvironment(new GreenMailTestEnvironment("imap"), MailMessageContextValidator.INSTANCE);
View Full Code Here

        suite.addExclude("(&(test=AsyncSwA)(client=jms)(jmsType=text))");
       
        // Don't execute all possible test combinations:
        //  * Use a single setup to execute tests with all message types.
        //  * Only use a small set of message types for the other setups.
        suite.addExclude("(!(|(&(broker=qpid)(singleCF=false)(cfOnSender=false)(!(|(destType=topic)(replyDestType=topic))))" +
                         "(&(test=AsyncXML)(messageType=SOAP11)(data=ASCII))" +
                         "(&(test=EchoXML)(messageType=POX)(data=ASCII))" +
                         "(test=MinConcurrency)))");
       
        // SYNAPSE-436:
View Full Code Here

                         "(&(test=AsyncXML)(messageType=SOAP11)(data=ASCII))" +
                         "(&(test=EchoXML)(messageType=POX)(data=ASCII))" +
                         "(test=MinConcurrency)))");
       
        // SYNAPSE-436:
        suite.addExclude("(&(test=EchoXML)(replyDestType=topic)(endpoint=axis))");

        // Example to run a few use cases.. please leave these commented out - asankha
        //suite.addExclude("(|(test=AsyncXML)(test=MinConcurrency)(destType=topic)(broker=qpid)(destType=topic)(replyDestType=topic)(client=jms)(endpoint=mock)(cfOnSender=true))");
        //suite.addExclude("(|(test=EchoXML)(destType=queue)(broker=qpid)(cfOnSender=true)(singleCF=false)(destType=queue)(client=jms)(endpoint=mock))");
        //suite.addExclude("(|(test=EchoXML)(test=AsyncXML)(test=AsyncSwA)(test=AsyncTextPlain)(test=AsyncBinary)(test=AsyncSOAPLarge)(broker=qpid))");
View Full Code Here

public class JMSTransportTest extends TestCase {
    public static TestSuite suite() throws Exception {
        ManagedTestSuite suite = new ManagedTestSuite(JMSTransportTest.class);
       
        // SwA doesn't make sense with text messages
        suite.addExclude("(&(test=AsyncSwA)(client=jms)(jmsType=text))");
       
        // Don't execute all possible test combinations:
        //  * Use a single setup to execute tests with all message types.
        //  * Only use a small set of message types for the other setups.
        suite.addExclude("(!(|(&(broker=qpid)(singleCF=false)(cfOnSender=false)(!(|(destType=topic)(replyDestType=topic))))" +
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.