File: FunctionalTests.java

package info (click to toggle)
axis 1.4-29
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 52,100 kB
  • sloc: java: 129,124; xml: 10,602; jsp: 983; sh: 84; cs: 36; makefile: 18
file content (86 lines) | stat: -rw-r--r-- 2,590 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
package test.functional;

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import org.apache.axis.utils.ClassUtils;

/**
 * Axis's FunctionalTests test client/server interactions.
 */
public class FunctionalTests extends TestCase
{
    public FunctionalTests(String name)
    {
        super(name);
    }

    public static Test suite() throws Exception
    {
        TestSuite suite = new TestSuite();

        // Echo test - end to end serialization and deserialization /
        // interop tests.
        suite.addTestSuite(TestEchoSample.class);

        // Test the JAX-RPC compliance samples
        suite.addTestSuite(TestJAXRPCSamples.class);

        // Test the JAXM compliance samples
        suite.addTestSuite(TestJAXMSamples.class);
        
        // stock sample test
        // run this BEFORE ALL OTHER TESTS to minimize confusion;
        // this will run the JWS test first, and we want to know that
        // nothing else has been deployed
        suite.addTestSuite(TestStockSample.class);

        // JWS global types test (deploys a typeMapping)
        suite.addTestSuite(TestJWSGlobalTypes.class);

        // TCP transport sample test
        suite.addTestSuite(TestTCPTransportSample.class);
        
        // file transport sample test
        suite.addTestSuite(TestTransportSample.class);

        // bid-buy test
        suite.addTestSuite(TestBidBuySample.class);

        // "Raw" echo service test.
        suite.addTestSuite(TestMiscSample.class);

        // Proxy service test.
        //suite.addTestSuite(TestProxySample.class);

        // Element service test.
        suite.addTestSuite(TestElementSample.class);

        // Message service test.
        suite.addTestSuite(TestMessageSample.class);
        
        // test.rpc test
        suite.addTestSuite(TestIF3SOAP.class);
        
        // samples.fault test
        suite.addTestSuite(TestFaultsSample.class);

        suite.addTestSuite(TestEncoding.class);

        // Attachments service test.
        try{
          if( null != ClassUtils.forName("javax.activation.DataHandler") &&
              null != ClassUtils.forName("javax.mail.internet.MimeMultipart")){
                suite.addTestSuite( ClassUtils.forName("test.functional.TestAttachmentsSample"));
          }
        }catch( Throwable t){;}

        // MIME headers test.
        // BROKEN - COMMENTED OUT FOR NOW --gdaniels
        //suite.addTestSuite(TestMimeHeaders.class);

        suite.addTestSuite(TestAutoTypes.class);
        
        return suite;
    }
}