-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathFunctionalTests.java
More file actions
87 lines (65 loc) · 2.64 KB
/
FunctionalTests.java
File metadata and controls
87 lines (65 loc) · 2.64 KB
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
87
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
// TODO: this test no longer works because it depends on a 3rd party service that is no longer available
// 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;
}
}