axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Perry2 <PERR...@uk.ibm.com>
Subject Re: cvs commit: ws-axis/c/tests/client/interop/round1/gen_src SimpleTestSoap.cpp
Date Mon, 10 Jan 2005 13:50:32 GMT




A file can be created which contains the name of the test property files
for tests that have services available and this can be used with the
framework by specifying -Dtest.list=<path to this file> on the ant command
line, or as a property in the properties file.

e.g. file contents could be
Calculator.xml
FaultMapping.xml

and the framework will only run those tests.

Regards,

Andrew Perry
IBM C/C++ Web Services Client
perryan@uk.ibm.com
Mail Point 127
IBM UK Laboratories. Hursley Park, Winchester, Hants. SO21 2JN
Tel. Internal 249828  External + 44 (0)1962 819828
Fax. + 44(0)1962 818080

Samisa Abeysinghe <samisa.abeysinghe@gmail.com> wrote on 10/01/2005
13:23:57:

> We have ant based build for only those tests in
ws-axis\c\tests\auto_build.
>
> Some of those tests do not have C++ services as of now.
> This is one of the reasons that I use some tests outside this ant
> based test folder.
>
> I do agree that it is double effort to maintain 2 test systems. At the
> same time, I would like to be able to run all the ant based tests
> (which are fairly comprehensive) without any external dependancies. In
> other words, when I make a cvs checkout, I should be able to build run
> these tests on my machine (both clients and services).
> How far this is possible with the current test framework?
>
> I am definitely +1 for all the developers using the same test
> framework, as that makes problem re-creation easy to help fixing.
>
> Thanks,
> Samisa...
>
>
>
> On Mon, 10 Jan 2005 10:25:44 +0000, John Hawkins <HAWKINSJ@uk.ibm.com>
wrote:
> >
> > The ANT framework already does this and I'm sure we discussed this when
we
> > worked out the framework design?
> >
> > Again - I go back to how come we have two different test frameworks?
> > Maintenance is always hard on big projects and doubling the effort is
crazy
> > ! We've put a geat deal of effort into the ANT test framework already
and
> > will be continuing to do
> > so.
> >
> > NOTE: Having an ANT framework for test is not the same as build which
we've
> > already discussed recently :-)
> >
> >
> > John Hawkins
> >
> >
> >
> >
> > Samisa Abeysinghe <samisa.abeysinghe@gmail.com>
> >
> > 10/01/2005 10:11
> > Please respond to
> > "Apache AXIS C Developers List"
> > ToApache AXIS C Developers List <axis-c-dev@ws.apache.org>
> > cc
> > SubjectRe: cvs commit: ws-axis/c/tests/client/interop/round1/gen_src
> > SimpleTestSoap.cpp
> >
> >
> >
> >
> >
> >
> >
> >
> > +1.
> >
> > I am having nigtmares changing the generated source.
> > I requested this 3-4 months back as well.
> >
> > I am more than happy to remove generated source from the CVS
> >
> > Thanks,
> > Samisa...
> >
> >
> > On Mon, 10 Jan 2005 10:09:33 +0000, John Hawkins <HAWKINSJ@uk.ibm.com>
> > wrote:
> > >
> > > I'm missing the plot here. Why are we keeping generated source ?
These
> > > should be genned on the fly when running the tests? Otherwise they
are not
> > > testing WSDL2Ws (as is proven by these issues)
> > >
> > > John Hawkins
> > >
> > >
> > >
> > >
> > >
> > >  samisa@apache.org
> > >
> > > 10/01/2005 09:40
> > >
> > > To ws-axis-cvs@apache.org
> > >
> > > cc
> > >
> > > Subject cvs commit: ws-axis/c/tests/client/interop/round1/gen_src
> > > SimpleTestSoap.cpp
> > >
> > >
> > >
> > >
> > >
> > > samisa      2005/01/10 01:40:04
> > >
> > >   Modified:    c/tests/client/interop/round1/gen_src
SimpleTestSoap.cpp
> > >   Log:
> > >   Fixed error due to removal of secure parameter in Call initialize
> > >
> > >   Revision  Changes    Path
> > >   1.9       +14 -14
> > > ws-axis/c/tests/client/interop/round1/gen_src/SimpleTestSoap.cpp
> > >
> > >   Index: SimpleTestSoap.cpp
> > >   ===================================================================
> > >   RCS file:
> > >
> >
/home/cvs/ws-axis/c/tests/client/interop/round1/gen_src/SimpleTestSoap.cpp,v

> > >   retrieving revision 1.8
> > >   retrieving revision 1.9
> > >   diff -u -r1.8 -r1.9
> > >   --- SimpleTestSoap.cpp                 24 Nov 2004 13:25:21 -0000

> >
> > >        1.8
> > >   +++ SimpleTestSoap.cpp                 10 Jan 2005 09:40:04 -0000

> >
> > >        1.9
> > >   @@ -40,7 +40,7 @@
> > >    {
> > >                     try
> > >                     {
> > >   -                                  if (AXIS_SUCCESS !=
> > > m_pCall->initialize(CPP_RPC_PROVIDER, NORMAL_CHANNEL))
> > >   +                                  if (AXIS_SUCCESS !=
> > > m_pCall->initialize(CPP_RPC_PROVIDER))
> > >                                                       return ;
> > >
> > > m_pCall->setTransportProperty(SOAPACTION_HEADER , "null");
> > >
> > m_pCall->setSOAPVersion(SOAP_VER_1_1);
> > >   @@ -81,7 +81,7 @@
> > >                     int Ret;
> > >                     try
> > >                     {
> > >   -                                  if (AXIS_SUCCESS !=
> > > m_pCall->initialize(CPP_RPC_PROVIDER, NORMAL_CHANNEL))
> > >   +                                  if (AXIS_SUCCESS !=
> > > m_pCall->initialize(CPP_RPC_PROVIDER))
> > >                                                       return Ret;
> > >
> > > m_pCall->setTransportProperty(SOAPACTION_HEADER , "null");
> > >
> > m_pCall->setSOAPVersion(SOAP_VER_1_1);
> > >   @@ -124,7 +124,7 @@
> > >                     float Ret;
> > >                     try
> > >                     {
> > >   -                                  if (AXIS_SUCCESS !=
> > > m_pCall->initialize(CPP_RPC_PROVIDER, NORMAL_CHANNEL))
> > >   +                                  if (AXIS_SUCCESS !=
> > > m_pCall->initialize(CPP_RPC_PROVIDER))
> > >                                                       return Ret;
> > >
> > > m_pCall->setTransportProperty(SOAPACTION_HEADER , "null");
> > >
> > m_pCall->setSOAPVersion(SOAP_VER_1_1);
> > >   @@ -167,7 +167,7 @@
> > >                     xsd__string Ret;
> > >                     try
> > >                     {
> > >   -                                  if (AXIS_SUCCESS !=
> > > m_pCall->initialize(CPP_RPC_PROVIDER, NORMAL_CHANNEL))
> > >   +                                  if (AXIS_SUCCESS !=
> > > m_pCall->initialize(CPP_RPC_PROVIDER))
> > >                                                       return Ret;
> > >
> > > m_pCall->setTransportProperty(SOAPACTION_HEADER , "null");
> > >
> > m_pCall->setSOAPVersion(SOAP_VER_1_1);
> > >   @@ -210,7 +210,7 @@
> > >                     xsd__base64Binary Ret;
> > >                     try
> > >                     {
> > >   -                                  if (AXIS_SUCCESS !=
> > > m_pCall->initialize(CPP_RPC_PROVIDER, NORMAL_CHANNEL))
> > >   +                                  if (AXIS_SUCCESS !=
> > > m_pCall->initialize(CPP_RPC_PROVIDER))
> > >                                                       return Ret;
> > >
> > > m_pCall->setTransportProperty(SOAPACTION_HEADER , "null");
> > >
> > m_pCall->setSOAPVersion(SOAP_VER_1_1);
> > >   @@ -252,7 +252,7 @@
> > >                     xsd__dateTime Ret;
> > >                     try
> > >                     {
> > >   -                                  if (AXIS_SUCCESS !=
> > > m_pCall->initialize(CPP_RPC_PROVIDER, NORMAL_CHANNEL))
> > >   +                                  if (AXIS_SUCCESS !=
> > > m_pCall->initialize(CPP_RPC_PROVIDER))
> > >                                                       return Ret;
> > >
> > > m_pCall->setTransportProperty(SOAPACTION_HEADER , "null");
> > >
> > m_pCall->setSOAPVersion(SOAP_VER_1_1);
> > >   @@ -295,7 +295,7 @@
> > >                     SOAPStruct* pReturn = NULL;
> > >                     try
> > >                     {
> > >   -                                  if (AXIS_SUCCESS !=
> > > m_pCall->initialize(CPP_RPC_PROVIDER, NORMAL_CHANNEL))
> > >   +                                  if (AXIS_SUCCESS !=
> > > m_pCall->initialize(CPP_RPC_PROVIDER))
> > >                                                       return pReturn;
> > >
> > > m_pCall->setTransportProperty(SOAPACTION_HEADER , "null");
> > >
> > m_pCall->setSOAPVersion(SOAP_VER_1_1);
> > >   @@ -338,7 +338,7 @@
> > >                     xsd__int_Array RetArray = {NULL, 0};
> > >                     try
> > >                     {
> > >   -                                  if (AXIS_SUCCESS !=
> > > m_pCall->initialize(CPP_RPC_PROVIDER, NORMAL_CHANNEL))
> > >   +                                  if (AXIS_SUCCESS !=
> > > m_pCall->initialize(CPP_RPC_PROVIDER))
> > >                                                       return
RetArray;
> > >
> > > m_pCall->setTransportProperty(SOAPACTION_HEADER , "null");
> > >
> > m_pCall->setSOAPVersion(SOAP_VER_1_1);
> > >   @@ -381,7 +381,7 @@
> > >                     xsd__float_Array RetArray = {NULL, 0};
> > >                     try
> > >                     {
> > >   -                                  if (AXIS_SUCCESS !=
> > > m_pCall->initialize(CPP_RPC_PROVIDER, NORMAL_CHANNEL))
> > >   +                                  if (AXIS_SUCCESS !=
> > > m_pCall->initialize(CPP_RPC_PROVIDER))
> > >                                                       return
RetArray;
> > >
> > > m_pCall->setTransportProperty(SOAPACTION_HEADER , "null");
> > >
> > m_pCall->setSOAPVersion(SOAP_VER_1_1);
> > >   @@ -424,7 +424,7 @@
> > >                     xsd__string_Array RetArray = {NULL, 0};
> > >                     try
> > >                     {
> > >   -                                  if (AXIS_SUCCESS !=
> > > m_pCall->initialize(CPP_RPC_PROVIDER, NORMAL_CHANNEL))
> > >   +                                  if (AXIS_SUCCESS !=
> > > m_pCall->initialize(CPP_RPC_PROVIDER))
> > >                                                       return
RetArray;
> > >
> > > m_pCall->setTransportProperty(SOAPACTION_HEADER , "null");
> > >
> > m_pCall->setSOAPVersion(SOAP_VER_1_1);
> > >   @@ -467,7 +467,7 @@
> > >                     SOAPStruct_Array RetArray = {NULL, 0};
> > >                     try
> > >                     {
> > >   -                                  if (AXIS_SUCCESS !=
> > > m_pCall->initialize(CPP_RPC_PROVIDER, NORMAL_CHANNEL))
> > >   +                                  if (AXIS_SUCCESS !=
> > > m_pCall->initialize(CPP_RPC_PROVIDER))
> > >                                                       return
RetArray;
> > >
> > > m_pCall->setTransportProperty(SOAPACTION_HEADER , "null");
> > >
> > m_pCall->setSOAPVersion(SOAP_VER_1_1);
> > >   @@ -510,7 +510,7 @@
> > >                     xsd__decimal Ret;
> > >                     try
> > >                     {
> > >   -                                  if (AXIS_SUCCESS !=
> > > m_pCall->initialize(CPP_RPC_PROVIDER, NORMAL_CHANNEL))
> > >   +                                  if (AXIS_SUCCESS !=
> > > m_pCall->initialize(CPP_RPC_PROVIDER))
> > >                                                       return Ret;
> > >
> > > m_pCall->setTransportProperty(SOAPACTION_HEADER , "null");
> > >
> > m_pCall->setSOAPVersion(SOAP_VER_1_1);
> > >   @@ -553,7 +553,7 @@
> > >                     xsd__boolean Ret;
> > >                     try
> > >                     {
> > >   -                                  if (AXIS_SUCCESS !=
> > > m_pCall->initialize(CPP_RPC_PROVIDER, NORMAL_CHANNEL))
> > >   +                                  if (AXIS_SUCCESS !=
> > > m_pCall->initialize(CPP_RPC_PROVIDER))
> > >                                                       return Ret;
> > >
> > > m_pCall->setTransportProperty(SOAPACTION_HEADER , "null");
> > >
> > m_pCall->setSOAPVersion(SOAP_VER_1_1);
> > >   @@ -596,7 +596,7 @@
> > >                     xsd__hexBinary Ret;
> > >                     try
> > >                     {
> > >   -                                  if (AXIS_SUCCESS !=
> > > m_pCall->initialize(CPP_RPC_PROVIDER, NORMAL_CHANNEL))
> > >   +                                  if (AXIS_SUCCESS !=
> > > m_pCall->initialize(CPP_RPC_PROVIDER))
> > >                                                       return Ret;
> > >
> > > m_pCall->setTransportProperty(SOAPACTION_HEADER , "null");
> > >
> > m_pCall->setSOAPVersion(SOAP_VER_1_1);
> > >
> > >
> > >
> > >
> > >
> >
> >


Mime
View raw message