axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ros...@apache.org
Subject cvs commit: ws-axis/c/include/axis/soap SoapMethod.h SoapFault.h SoapEnvelope.h SoapBody.h
Date Tue, 03 Feb 2004 04:46:20 GMT
roshan      2004/02/02 20:46:20

  Modified:    c/include/axis/soap SoapMethod.h SoapFault.h SoapEnvelope.h
                        SoapBody.h
  Log:
  changes for unit test support
  
  Revision  Changes    Path
  1.3       +9 -3      ws-axis/c/include/axis/soap/SoapMethod.h
  
  Index: SoapMethod.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/include/axis/soap/SoapMethod.h,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- SoapMethod.h	14 Jan 2004 12:57:10 -0000	1.2
  +++ SoapMethod.h	3 Feb 2004 04:46:20 -0000	1.3
  @@ -113,9 +113,15 @@
   	//string m_strMethodSerialized;
   	//test line
   
  -public:			
  +public:	
  +	/**
  +	 * Initializes the member variables for testing.
  +	 * @return The status indicating success (AXIS_SUCCESS) or failure (AXIS_FAIL).
  +	 */
  +	int initializeForTesting();
  +	int reset();
   	int addAttribute(Attribute* pAttribute);
  -	const AxisChar* getMethodName();	
  +	const AxisChar* getMethodName();
   	int serialize(SoapSerializer& pSZ);
   	//int serialize(string&);
   	void AddOutputParam(Param *param);
  @@ -123,7 +129,7 @@
   	void setLocalName(const AxisChar* localname);
   	void setPrefix(const AxisChar* prefix);
   	SoapMethod();
  -	virtual ~SoapMethod();	
  +	virtual ~SoapMethod();
   };
   
   #endif // !defined(AFX_SOAPMETHOD_H__85B1A3F0_CD15_4607_AAAB_665A66AA8546__INCLUDED_)
  
  
  
  1.3       +5 -0      ws-axis/c/include/axis/soap/SoapFault.h
  
  Index: SoapFault.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/include/axis/soap/SoapFault.h,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- SoapFault.h	14 Jan 2004 12:57:10 -0000	1.2
  +++ SoapFault.h	3 Feb 2004 04:46:20 -0000	1.3
  @@ -70,6 +70,7 @@
   #include <string>
   #include <map>
   #include "SoapFaults.h"
  +#include "axis/testing/soap/SoapFaultTestCase.h"
   
   class SoapSerializer;
   
  @@ -83,7 +84,11 @@
   */
   class SoapFault  
   {
  +friend class SoapFaultsTestCase;
  +
   public:
  +	SoapFault(string m_sFaultcode, string m_sFaultstring, string m_sFaultactor, string m_sDetail);
  +	bool SoapFault::operator ==(const SoapFault &objSoapFault);
   	static SoapFault* getSoapFault(int);
   	static void initialize();
       const char* getSoapString();	
  
  
  
  1.3       +1 -0      ws-axis/c/include/axis/soap/SoapEnvelope.h
  
  Index: SoapEnvelope.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/include/axis/soap/SoapEnvelope.h,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- SoapEnvelope.h	14 Jan 2004 12:57:10 -0000	1.2
  +++ SoapEnvelope.h	3 Feb 2004 04:46:20 -0000	1.3
  @@ -94,6 +94,7 @@
   	AxisString m_sPrefix;	
   
   public:	
  +	int initializeForTesting(SOAP_VERSION eSoapVersion);
   	int setPrefix(const AxisChar* prefix);
   	int addNamespaceDecl(Attribute* pAttribute);
   	int addAttribute(Attribute* pAttribute);	
  
  
  
  1.3       +2 -1      ws-axis/c/include/axis/soap/SoapBody.h
  
  Index: SoapBody.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/include/axis/soap/SoapBody.h,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- SoapBody.h	14 Jan 2004 12:57:10 -0000	1.2
  +++ SoapBody.h	3 Feb 2004 04:46:20 -0000	1.3
  @@ -116,7 +116,8 @@
   	SoapFault *m_pSoapFault;
   	//string m_strBodySerialized;
   
  -public:
  +public:	
  +	int initializeForTesting();
   	void addAttribute(Attribute* attr);
   	//string& serialize();
   	int serialize(SoapSerializer& pSZ, SOAP_VERSION eSoapVersion);
  
  
  

Mime
View raw message