| 1 |
#!/bin/sh |
| 2 |
# |
| 3 |
# Driver script to run the interop 3 test clients against |
| 4 |
# a list of endpoints (one for each test) |
| 5 |
# |
| 6 |
# Usage: run <endpointfile> |
| 7 |
# |
| 8 |
# Where <endpointfile> has the syntax |
| 9 |
# TESTNAME="<endpoint>" |
| 10 |
# |
| 11 |
|
| 12 |
if [ $# -ne 1 ]; then |
| 13 |
echo "Usage: run endpointfile" |
| 14 |
exit 1 |
| 15 |
fi |
| 16 |
|
| 17 |
endpoints=$1 |
| 18 |
|
| 19 |
# set up endpoints |
| 20 |
. $endpoints |
| 21 |
|
| 22 |
|
| 23 |
# EmptySA |
| 24 |
echo EmptySA |
| 25 |
if [ ! -z "${Import1}" ]; then |
| 26 |
java test.wsdl.interop3.emptysa.EmptySATestCase ${EmptySA} |
| 27 |
echo "=======================================================" |
| 28 |
fi |
| 29 |
|
| 30 |
# Import1 |
| 31 |
echo Import1 |
| 32 |
if [ ! -z "${Import1}" ]; then |
| 33 |
java test.wsdl.interop3.import1.Import1TestCase ${Import1} |
| 34 |
echo "=======================================================" |
| 35 |
fi |
| 36 |
|
| 37 |
# Import2 |
| 38 |
echo Import2 |
| 39 |
if [ ! -z "${Import2}" ]; then |
| 40 |
java test.wsdl.interop3.import2.Import2TestCase ${Import2} |
| 41 |
echo "=======================================================" |
| 42 |
fi |
| 43 |
|
| 44 |
# Import3 |
| 45 |
echo Import3 |
| 46 |
if [ ! -z "${Import3}" ]; then |
| 47 |
java test.wsdl.interop3.import3.Import3TestCase ${Import3} |
| 48 |
echo "=======================================================" |
| 49 |
fi |
| 50 |
|
| 51 |
# Compound1 |
| 52 |
echo Compound1 |
| 53 |
if [ ! -z "${Compound1}" ]; then |
| 54 |
java test.wsdl.interop3.compound1.Compound1TestCase ${Compound1} |
| 55 |
echo "=======================================================" |
| 56 |
fi |
| 57 |
|
| 58 |
# Compound2 |
| 59 |
echo Compound2 |
| 60 |
if [ ! -z "${Compound2}" ]; then |
| 61 |
java test.wsdl.interop3.compound2.Compound2TestCase ${Compound2} |
| 62 |
echo "=======================================================" |
| 63 |
fi |
| 64 |
|
| 65 |
# DocLit |
| 66 |
echo DocLit |
| 67 |
if [ ! -z "${DocLit}" ]; then |
| 68 |
java test.wsdl.interop3.docLit.DocLitTestCase ${DocLit} |
| 69 |
echo "=======================================================" |
| 70 |
fi |
| 71 |
|
| 72 |
# DocLitParam |
| 73 |
echo DocLitParam |
| 74 |
if [ ! -z "${DocLitParam}" ]; then |
| 75 |
java test.wsdl.interop3.docLitParam.DocLitParamTestCase ${DocLitParam} |
| 76 |
echo "=======================================================" |
| 77 |
fi |
| 78 |
|
| 79 |
# RpcEnc |
| 80 |
echo RpcEnc |
| 81 |
if [ ! -z "${RpcEnc}" ]; then |
| 82 |
java test.wsdl.interop3.rpcEnc.RpcEncTestCase ${RpcEnc} |
| 83 |
echo "=======================================================" |
| 84 |
fi |
| 85 |
|
| 86 |
# TestList |
| 87 |
echo TestList |
| 88 |
if [ ! -z "${TestList}" ]; then |
| 89 |
java test.wsdl.interop3.groupE.client.InteropTestListServiceTestClient -l ${TestList} |
| 90 |
echo "=======================================================" |
| 91 |
fi |
| 92 |
|
| 93 |
# TestHeaders |
| 94 |
#if [ ! -z "${TestHeaders}" ]; then |
| 95 |
#java test.wsdl.interop3.emptySA.EmptySATestCase ${TestHeaders} |
| 96 |
#echo "=======================================================" |
| 97 |
#fi |
| 98 |
|
| 99 |
|