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/src/unit_tests/cppunit/common TypeMappingTestCase.h TypeMappingTestCase.cpp MainFile.cpp BasicTypeSerializerTestCase.h BasicTypeSerializerTestCase.cpp AxisUtilsTestCase.h AxisUtilsTestCase.cpp AxisTraceTestCase.h AxisTraceTestCase.cpp AxisSocketUtilsTestCase.h AxisSocketUtilsTestCase.cpp AxisConfigTestCase.h AxisConfigTestCase.cpp ArrayBeanTestCase.h ArrayBeanTestCase.cpp
Date Thu, 29 Apr 2004 05:21:14 GMT
roshan      2004/04/28 22:21:14

  Modified:    c/src/unit_tests/cppunit/common TypeMappingTestCase.h
                        TypeMappingTestCase.cpp MainFile.cpp
                        BasicTypeSerializerTestCase.h
                        BasicTypeSerializerTestCase.cpp AxisUtilsTestCase.h
                        AxisUtilsTestCase.cpp AxisTraceTestCase.h
                        AxisTraceTestCase.cpp AxisSocketUtilsTestCase.h
                        AxisSocketUtilsTestCase.cpp AxisConfigTestCase.h
                        AxisConfigTestCase.cpp ArrayBeanTestCase.h
                        ArrayBeanTestCase.cpp
  Log:
  Applied Coding Conventions
  
  Revision  Changes    Path
  1.3       +10 -10    ws-axis/c/src/unit_tests/cppunit/common/TypeMappingTestCase.h
  
  Index: TypeMappingTestCase.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/unit_tests/cppunit/common/TypeMappingTestCase.h,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TypeMappingTestCase.h	26 Apr 2004 04:04:38 -0000	1.2
  +++ TypeMappingTestCase.h	29 Apr 2004 05:21:14 -0000	1.3
  @@ -18,8 +18,8 @@
    *
    */
   
  -#if !defined(AFX_TYPEMAPPINGTESTCASE_H__4E098375_97E6_46BE_BF71_31FB90DAC241__OF_AXIS_INCLUDED_)
  -#define AFX_TYPEMAPPINGTESTCASE_H__4E098375_97E6_46BE_BF71_31FB90DAC241__OF_AXIS_INCLUDED_
  +#if !defined(AXIS_TYPEMAPPINGTESTCASE_H__OF_AXIS_INCLUDED_)
  +#define AXIS_TYPEMAPPINGTESTCASE_H__OF_AXIS_INCLUDED_
   
   #include "cppunit\TestCase.h"
   #include "cppunit\TestSuite.h"
  @@ -33,15 +33,15 @@
   class TypeMappingTestCase: public TestCase
   {
   private:
  -	TypeMapping* pTypeMapping;
  +    TypeMapping* pTypeMapping;
   public:
  -	void testMap();
  -	static Test* suite();
  -	void tearDown();
  -	void setUp();
  -	TypeMappingTestCase();
  -	virtual ~TypeMappingTestCase();
  +    void testMap();
  +    static Test* suite();
  +    void tearDown();
  +    void setUp();
  +    TypeMappingTestCase();
  +    virtual ~TypeMappingTestCase();
   
   };
   
  -#endif // !defined(AFX_TYPEMAPPINGTESTCASE_H__4E098375_97E6_46BE_BF71_31FB90DAC241__OF_AXIS_INCLUDED_)
  +#endif
  
  
  
  1.3       +13 -13    ws-axis/c/src/unit_tests/cppunit/common/TypeMappingTestCase.cpp
  
  Index: TypeMappingTestCase.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/unit_tests/cppunit/common/TypeMappingTestCase.cpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TypeMappingTestCase.cpp	26 Apr 2004 04:04:38 -0000	1.2
  +++ TypeMappingTestCase.cpp	29 Apr 2004 05:21:14 -0000	1.3
  @@ -34,14 +34,14 @@
   
   void TypeMappingTestCase::setUp()
   {
  -	pTypeMapping = new TypeMapping();
  +    pTypeMapping = new TypeMapping();
   
   }
   
   void TypeMappingTestCase::tearDown()
   {
  -	delete pTypeMapping;
  -	pTypeMapping = NULL;
  +    delete pTypeMapping;
  +    pTypeMapping = NULL;
   }
   
   
  @@ -49,33 +49,33 @@
   
   Test* TypeMappingTestCase::suite()
   {
  -	TestSuite *testSuite = new TestSuite("TypeMappingTestCase");
  +    TestSuite *testSuite = new TestSuite("TypeMappingTestCase");
   
  -	testSuite->addTest (new TestCaller <TypeMappingTestCase>
  +    testSuite->addTest (new TestCaller <TypeMappingTestCase>
         ("testMap", &TypeMappingTestCase::testMap));
   
   
  -	return testSuite;
  +    return testSuite;
   
   
   }
   
   void TypeMappingTestCase::testMap()
   {
  -	XSDTYPE ExpectedType=XSD_UNKNOWN;
  -	const AxisXMLCh* myChar = "TestString";
  +    XSDTYPE ExpectedType=XSD_UNKNOWN;
  +    const AxisXMLCh* myChar = "TestString";
   
   
  -	XSDTYPE xResult;
  +    XSDTYPE xResult;
   
  -	xResult = pTypeMapping->Map(myChar);
  +    xResult = pTypeMapping->Map(myChar);
   
   
   
  -	int x =  ExpectedType;
  -	int y =  xResult;
  +    int x =  ExpectedType;
  +    int y =  xResult;
   
  -	CPPUNIT_ASSERT_EQUAL(x,y);
  +    CPPUNIT_ASSERT_EQUAL(x,y);
   
   
   
  
  
  
  1.3       +29 -29    ws-axis/c/src/unit_tests/cppunit/common/MainFile.cpp
  
  Index: MainFile.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/unit_tests/cppunit/common/MainFile.cpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- MainFile.cpp	26 Apr 2004 04:04:38 -0000	1.2
  +++ MainFile.cpp	29 Apr 2004 05:21:14 -0000	1.3
  @@ -19,57 +19,57 @@
   
   
   #include "cppunit\ui\text\TestRunner.h"
  -//#include "ParamTestCase.h"
  +/* #include "ParamTestCase.h" */
   #include "axis/test_cases/cppunit/common/MessageDataTestCase.h"
   
   
   using namespace CppUnit::TextUi;
   
  -int main(int argc, char* argv[]) {
  +int main(int argc, char* argv[])
  +{
   
  -	TestRunner runner;
  +    TestRunner runner;
   
  -	//runner.addTest(ArrayBeanTestCase::suite());
  -	//runner.run("ArrayBeanTestCase");
  +    /* runner.addTest(ArrayBeanTestCase::suite()); 
  +     * runner.run("ArrayBeanTestCase");
  +     */
   
  -////////////Runner for MessageDataTestCase //////////////////
  +/*    Runner for MessageDataTestCase    */
   
  -	runner.addTest(MessageDataTestCase::suite());
  -	runner.run("MessageDataTestCase");
  -	
  +    runner.addTest(MessageDataTestCase::suite());
  +    runner.run("MessageDataTestCase");
  +    
  +/*
  +    runner.addTest(TypeMappingTestCase::suite());
  +    runner.run("TypeMappingTestCase");
   
  -/////////////////////////////////////////////////////////////
  -	
  -	//runner.addTest(TypeMappingTestCase::suite());
  -	//runner.run("TypeMappingTestCase");
   
  -
  -	//runner.addTest(AxisUtilsTestCase::suite());
  -	//runner.run("AxisUtilsTestCase");
  +    runner.addTest(AxisUtilsTestCase::suite());
  +    runner.run("AxisUtilsTestCase");
   
   ////////////// Runner for AxisArrayBeanTest //////////////////
  -	//runner.addTest(ArrayBeanTestCase::suite());
  -	//runner.run("ArrayBeanTestCase");
  +    runner.addTest(ArrayBeanTestCase::suite());
  +    runner.run("ArrayBeanTestCase");
   
   
   ///////////// Runner for AxisConfigTestCase  /////////////////
  -	//runner.addTest(AxisConfigTestCase::suite());
  -	//runner.run("AxisConfigTestCase");
  +    runner.addTest(AxisConfigTestCase::suite());
  +    runner.run("AxisConfigTestCase");
   
   /////////////  OK Runner for BasicTypeSerializer ////////////////
   
  -	//runner.addTest(BasicTypeSerializerTest::suite());
  -	//runner.run("BasicTypeSerializerTest");
  +    runner.addTest(BasicTypeSerializerTest::suite());
  +    runner.run("BasicTypeSerializerTest");
   
   ///////////// Runner for AxisSocketUtilsTestCase /////////////
  -	//runner.addTest(AxisSocketUtilsTestCase::suite());
  -	//runner.run("AxisSocketUtilsTestCase");
  -	
  +    runner.addTest(AxisSocketUtilsTestCase::suite());
  +    runner.run("AxisSocketUtilsTestCase");
  +    
   ////////////// OK Runner for ParamTestCase /////////////////
   
  -	//runner.addTest(ParamTestCase::suite());
  -	//runner.run("ParamTestCase");
  -
  +    runner.addTest(ParamTestCase::suite());
  +    runner.run("ParamTestCase");
  +*/
   
  -	return 0;
  +    return 0;
   }
  
  
  
  1.3       +18 -18    ws-axis/c/src/unit_tests/cppunit/common/BasicTypeSerializerTestCase.h
  
  Index: BasicTypeSerializerTestCase.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/unit_tests/cppunit/common/BasicTypeSerializerTestCase.h,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- BasicTypeSerializerTestCase.h	26 Apr 2004 04:04:38 -0000	1.2
  +++ BasicTypeSerializerTestCase.h	29 Apr 2004 05:21:14 -0000	1.3
  @@ -18,8 +18,8 @@
    */
   
   
  -#if !defined(AFX_BASICTYPESERIALIZERTEST_H__BF91C8F9_12BA_4495_B176_F6B56CE5957A__OF_AXIS_INCLUDED_)
  -#define AFX_BASICTYPESERIALIZERTEST_H__BF91C8F9_12BA_4495_B176_F6B56CE5957A__OF_AXIS_INCLUDED_
  +#if !defined(AXIS_BASICTYPESERIALIZERTEST_H__OF_AXIS_INCLUDED_)
  +#define AXIS_BASICTYPESERIALIZERTEST_H__OF_AXIS_INCLUDED_
   
   #include "cppunit\TestCase.h"
   #include "cppunit\TestSuite.h"
  @@ -34,23 +34,23 @@
   class BasicTypeSerializerTest :public TestCase
   {
   private:
  -	BasicTypeSerializer* pBasicTypeSerializer;
  +    BasicTypeSerializer* pBasicTypeSerializer;
   public:
  -	void testSerializeAsElement();
  -	void testSerializeAsAttribute();
  -	void testGetEntityReference();
  -	void testEncodeToHexBinary();
  -	
  -	void testEncodeToBase64Binary();
  -	void  testBasicTypeStr();
  -		
  -	void tearDown();
  -	void setUp();
  -	
  -	BasicTypeSerializerTest();
  -	virtual ~BasicTypeSerializerTest();
  -	static Test* suite();
  +    void testSerializeAsElement();
  +    void testSerializeAsAttribute();
  +    void testGetEntityReference();
  +    void testEncodeToHexBinary();
  +    
  +    void testEncodeToBase64Binary();
  +    void  testBasicTypeStr();
  +        
  +    void tearDown();
  +    void setUp();
  +    
  +    BasicTypeSerializerTest();
  +    virtual ~BasicTypeSerializerTest();
  +    static Test* suite();
   
   };
   
  -#endif // !defined(AFX_BASICTYPESERIALIZERTEST_H__BF91C8F9_12BA_4495_B176_F6B56CE5957A__OF_AXIS_INCLUDED_)
  +#endif
  
  
  
  1.3       +109 -99   ws-axis/c/src/unit_tests/cppunit/common/BasicTypeSerializerTestCase.cpp
  
  Index: BasicTypeSerializerTestCase.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/unit_tests/cppunit/common/BasicTypeSerializerTestCase.cpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- BasicTypeSerializerTestCase.cpp	26 Apr 2004 04:04:38 -0000	1.2
  +++ BasicTypeSerializerTestCase.cpp	29 Apr 2004 05:21:14 -0000	1.3
  @@ -34,112 +34,120 @@
   
   void BasicTypeSerializerTest::setUp()
   {
  -	pBasicTypeSerializer = new BasicTypeSerializer();
  +    pBasicTypeSerializer = new BasicTypeSerializer();
   }
   
   
   void BasicTypeSerializerTest::tearDown()
   {
  -	delete pBasicTypeSerializer;
  -	pBasicTypeSerializer= NULL;
  +    delete pBasicTypeSerializer;
  +    pBasicTypeSerializer= NULL;
   }
   
   
  -//////////////// To test Serialize() Method ////////////////////////
  +/*      To test Serialize() Method     */
   
   /*void BasicTypeSerializerTest::testSerialize()
   {
  -	const char* ExpectedmyChar  = "<mystring xsi:type=\"xsd:string\">mystring</mystring>";
  -	const char* myChar = "mystring";
  -	const char*  myCharRes;
  -	
  -	myCharRes = pBasicTypeSerializer->serialize(myChar, 1 , XSD_STRING);
  -
  -	string sActual = myCharRes;
  -	string sExpectedResult = ExpectedmyChar;
  -	
  -	CPPUNIT_ASSERT_EQUAL(sExpectedResult,sActual);	
  +    const char* ExpectedmyChar  = "<mystring xsi:type=\"xsd:string\">mystring\
  +    </mystring>";
  +    const char* myChar = "mystring";
  +    const char*  myCharRes;
  +    
  +    myCharRes = pBasicTypeSerializer->serialize(myChar, 1 , XSD_STRING);
  +
  +    string sActual = myCharRes;
  +    string sExpectedResult = ExpectedmyChar;
  +    
  +    CPPUNIT_ASSERT_EQUAL(sExpectedResult,sActual);    
   
   }*/
   
   
  -//////////////// The BasicTypeSerializer Suite()  ////////////////////////
  +/*     The BasicTypeSerializer Suite()     */
   
   Test* BasicTypeSerializerTest::suite()
   {
  -	TestSuite *testSuite = new TestSuite("BasicTypeSerializerTest");
  +    TestSuite *testSuite = new TestSuite("BasicTypeSerializerTest");
   
  -	testSuite->addTest (new TestCaller <BasicTypeSerializerTest>
  +    testSuite->addTest (new TestCaller <BasicTypeSerializerTest>
         ("testBasicTypeStr", &BasicTypeSerializerTest::testBasicTypeStr));
   
  -	testSuite->addTest (new TestCaller <BasicTypeSerializerTest>
  -      ("testEncodeToBase64Binary", &BasicTypeSerializerTest::testEncodeToBase64Binary));
  +    testSuite->addTest (new TestCaller <BasicTypeSerializerTest>
  +      ("testEncodeToBase64Binary", 
  +      &BasicTypeSerializerTest::testEncodeToBase64Binary));
  +
  +    testSuite->addTest (new TestCaller <BasicTypeSerializerTest>
  +      ("testEncodeToHexBinary", 
  +      &BasicTypeSerializerTest::testEncodeToHexBinary));
  +
  +    testSuite->addTest (new TestCaller <BasicTypeSerializerTest>
  +      ("testGetEntityReference",
  +      &BasicTypeSerializerTest::testGetEntityReference));
  +    
  +    testSuite->addTest (new TestCaller <BasicTypeSerializerTest>
  +      ("testSerializeAsAttribute",
  +      &BasicTypeSerializerTest::testSerializeAsAttribute));
  +    
  +    testSuite->addTest (new TestCaller <BasicTypeSerializerTest>
  +      ("testSerializeAsElement",
  +      &BasicTypeSerializerTest::testSerializeAsElement));
  +
  +
  +/*    testSuite->addTest (new TestCaller <BasicTypeSerializerTest>
  +      ("testSerializeLong", &BasicTypeSerializerTest::testSerializeLong));
  +
  +    testSuite->addTest (new TestCaller <BasicTypeSerializerTest>
  +      ("testSerializeUnsignedLong", 
  +      &BasicTypeSerializerTest::testSerializeUnsignedLong));
  +
  +    
  +    testSuite->addTest (new TestCaller <BasicTypeSerializerTest>
  +      ("testSerializeFloat", &BasicTypeSerializerTest::testSerializeFloat));
  +
  +    testSuite->addTest (new TestCaller <BasicTypeSerializerTest>
  +      ("testSerializeDouble", &BasicTypeSerializerTest::testSerializeDouble));
  +*/
   
  -	testSuite->addTest (new TestCaller <BasicTypeSerializerTest>
  -      ("testEncodeToHexBinary", &BasicTypeSerializerTest::testEncodeToHexBinary));
  -
  -	testSuite->addTest (new TestCaller <BasicTypeSerializerTest>
  -      ("testGetEntityReference", &BasicTypeSerializerTest::testGetEntityReference));
  -	
  -	testSuite->addTest (new TestCaller <BasicTypeSerializerTest>
  -      ("testSerializeAsAttribute", &BasicTypeSerializerTest::testSerializeAsAttribute));
  -	
  -	testSuite->addTest (new TestCaller <BasicTypeSerializerTest>
  -      ("testSerializeAsElement", &BasicTypeSerializerTest::testSerializeAsElement));
  -
  -
  -	//testSuite->addTest (new TestCaller <BasicTypeSerializerTest>
  -     // ("testSerializeLong", &BasicTypeSerializerTest::testSerializeLong));
  -
  -	//testSuite->addTest (new TestCaller <BasicTypeSerializerTest>
  -      //("testSerializeUnsignedLong", &BasicTypeSerializerTest::testSerializeUnsignedLong));
  -
  -	
  -	//testSuite->addTest (new TestCaller <BasicTypeSerializerTest>
  -      //("testSerializeFloat", &BasicTypeSerializerTest::testSerializeFloat));
  -
  -	//testSuite->addTest (new TestCaller <BasicTypeSerializerTest>
  -      //("testSerializeDouble", &BasicTypeSerializerTest::testSerializeDouble));
  -
  -
  -	return testSuite;
  +    return testSuite;
   }
   
   
   
   void BasicTypeSerializerTest::testBasicTypeStr()
   {
  -	const AxisChar* ExpectedString = "string";
  -	const AxisChar* sResult;
  +    const AxisChar* ExpectedString = "string";
  +    const AxisChar* sResult;
   
  -	//xsd__hexBinary t;
  +    /* xsd__hexBinary t; */
   
  -	sResult = pBasicTypeSerializer->BasicTypeStr(XSD_STRING);
  +    sResult = pBasicTypeSerializer->BasicTypeStr(XSD_STRING);
   
  -	string ExpectedString1 = ExpectedString;
  -	string ResultString    = sResult;
  +    string ExpectedString1 = ExpectedString;
  +    string ResultString    = sResult;
   
  -	CPPUNIT_ASSERT_EQUAL(ExpectedString1, ResultString);
  +    CPPUNIT_ASSERT_EQUAL(ExpectedString1, ResultString);
   
   }
   
   void BasicTypeSerializerTest::testEncodeToBase64Binary()
   {
  -	
  +    
     xsd__base64Binary*  objXSD ;
    
     const AxisChar* cResult;
   
  -	
  -	//objXSD->__ptr = (xsd__unsignedByte*)200;
  -    //objXSD->__size= 14;
  +    
  +    /* objXSD->__ptr = (xsd__unsignedByte*)200;
  +     * objXSD->__size= 14;
  +     */
   
  -	cResult = pBasicTypeSerializer->EncodeToBase64Binary(objXSD);
  +    cResult = pBasicTypeSerializer->EncodeToBase64Binary(objXSD);
   
  -	string sResult = cResult;
  -	string ExpectedString = "";
  +    string sResult = cResult;
  +    string ExpectedString = "";
   
  -	CPPUNIT_ASSERT_EQUAL(sResult, ExpectedString);
  +    CPPUNIT_ASSERT_EQUAL(sResult, ExpectedString);
   
   }
   
  @@ -147,78 +155,80 @@
   
   void BasicTypeSerializerTest::testEncodeToHexBinary()
   {
  -	xsd__hexBinary* objHexBinary;
  +    xsd__hexBinary* objHexBinary;
   
  -	const AxisChar* cResult;
  +    const AxisChar* cResult;
   
  -	
  -	//objXSD->__ptr = (xsd__unsignedByte*)200;
  -    //objXSD->__size= 14;
  +    
  +    /* objXSD->__ptr = (xsd__unsignedByte*)200;
  +     *  objXSD->__size= 14;
  +     */
   
  -	cResult = pBasicTypeSerializer->EncodeToHexBinary(objHexBinary);
  +    cResult = pBasicTypeSerializer->EncodeToHexBinary(objHexBinary);
   
  -	string sResult = cResult;
  -	string ExpectedString = "";
  +    string sResult = cResult;
  +    string ExpectedString = "";
   
  -	CPPUNIT_ASSERT_EQUAL(sResult, ExpectedString);
  +    CPPUNIT_ASSERT_EQUAL(sResult, ExpectedString);
   
   }
   
   
   void BasicTypeSerializerTest::testGetEntityReference()
   {
  -	AxisString sAxisString;
  -	AxisString sResult;
  +    AxisString sAxisString;
  +    AxisString sResult;
   
  -	sAxisString = "MyTestString";
  +    sAxisString = "MyTestString";
   
  -	sResult = pBasicTypeSerializer->GetEntityReferenced(sAxisString);
  +    sResult = pBasicTypeSerializer->GetEntityReferenced(sAxisString);
   
  -	string expectedString = "MyTestString";
  -	string actualString = sResult;
  +    string expectedString = "MyTestString";
  +    string actualString = sResult;
   
  -	CPPUNIT_ASSERT_EQUAL(expectedString, actualString);
  +    CPPUNIT_ASSERT_EQUAL(expectedString, actualString);
   
   }
   
   void BasicTypeSerializerTest::testSerializeAsAttribute()
   {
  -	const AxisChar* cResult;
  +    const AxisChar* cResult;
   
  -	const AxisChar* pPtr ="TestBool";
  -	const AxisChar* pPrefix ="XSD";
  +    const AxisChar* pPtr ="TestBool";
  +    const AxisChar* pPrefix ="XSD";
   
  -	xsd__boolean x = true_;
  +    xsd__boolean x = true_;
   
  -	void* pVal = &x;
  +    void* pVal = &x;
   
  -	
  -	cResult = pBasicTypeSerializer->SerializeAsAttribute(pPtr,pPrefix, pVal, XSD_BOOLEAN);
  +    
  +    cResult = pBasicTypeSerializer->SerializeAsAttribute(pPtr,pPrefix, pVal, 
  +        XSD_BOOLEAN);
   
  -	string ExpectedString=" XSD:TestBool=\"true\"";
  -	string sResult = cResult;
  -	//string ExpectedString = cResult;
  +    string ExpectedString=" XSD:TestBool=\"true\"";
  +    string sResult = cResult;
  +    /* string ExpectedString = cResult; */
   
  -	CPPUNIT_ASSERT_EQUAL(ExpectedString, sResult);
  +    CPPUNIT_ASSERT_EQUAL(ExpectedString, sResult);
   }
   
   
   void BasicTypeSerializerTest::testSerializeAsElement()
   {
  -	const AxisChar* cResult;
  +    const AxisChar* cResult;
   
  -	const AxisChar* pPtr = "TestBool";
  -	
  -	
  -	xsd__boolean x = true_;
  -	void* pVal = &x;
  +    const AxisChar* pPtr = "TestBool";
  +    
  +    
  +    xsd__boolean x = true_;
  +    void* pVal = &x;
   
  -	cResult = pBasicTypeSerializer->SerializeAsElement(pPtr,pVal, XSD_BOOLEAN);
  +    cResult = pBasicTypeSerializer->SerializeAsElement(pPtr,pVal, XSD_BOOLEAN);
   
  -	string ExpectedString = "<TestBool>true</TestBool>";
  -	string sResult = cResult;
  +    string ExpectedString = "<TestBool>true</TestBool>";
  +    string sResult = cResult;
   
  -	CPPUNIT_ASSERT_EQUAL(ExpectedString, sResult);
  +    CPPUNIT_ASSERT_EQUAL(ExpectedString, sResult);
   
   }
   
  
  
  
  1.3       +13 -13    ws-axis/c/src/unit_tests/cppunit/common/AxisUtilsTestCase.h
  
  Index: AxisUtilsTestCase.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/unit_tests/cppunit/common/AxisUtilsTestCase.h,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- AxisUtilsTestCase.h	26 Apr 2004 04:04:38 -0000	1.2
  +++ AxisUtilsTestCase.h	29 Apr 2004 05:21:14 -0000	1.3
  @@ -18,8 +18,8 @@
    *
    */
   
  -#if !defined(AFX_AXISUTILSTESTCASE_H__66F92899_F038_457B_8122_08196CA935C6__OF_AXIS_INCLUDED_)
  -#define AFX_AXISUTILSTESTCASE_H__66F92899_F038_457B_8122_08196CA935C6__OF_AXIS_INCLUDED_
  +#if !defined(AXIS_AXISUTILSTESTCASE_H__OF_AXIS_INCLUDED_)
  +#define AXIS_AXISUTILSTESTCASE_H__OF_AXIS_INCLUDED_
   
   #include "cppunit\TestCase.h"
   #include "cppunit\TestSuite.h"
  @@ -39,16 +39,16 @@
   class AxisUtilsTestCase : public TestCase
   {
   public:
  -	void testLowerCaseString();
  -	void testtoLowerCase();
  -	void testToAxisXMLCh();
  -	void isCharacterAvailableref();
  -	void testIsCharacterAvailable();
  -	static Test* suite();
  -	void testClearArray();
  -	AxisUtilsTestCase();
  -	AxisUtilsTestCase(string sName): TestCase(sName) {}
  -	virtual ~AxisUtilsTestCase();
  +    void testLowerCaseString();
  +    void testtoLowerCase();
  +    void testToAxisXMLCh();
  +    void isCharacterAvailableref();
  +    void testIsCharacterAvailable();
  +    static Test* suite();
  +    void testClearArray();
  +    AxisUtilsTestCase();
  +    AxisUtilsTestCase(string sName): TestCase(sName) {}
  +    virtual ~AxisUtilsTestCase();
   };
   
  -#endif // !defined(AFX_AXISUTILSTESTCASE_H__66F92899_F038_457B_8122_08196CA935C6__OF_AXIS_INCLUDED_)
  +#endif
  
  
  
  1.3       +44 -41    ws-axis/c/src/unit_tests/cppunit/common/AxisUtilsTestCase.cpp
  
  Index: AxisUtilsTestCase.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/unit_tests/cppunit/common/AxisUtilsTestCase.cpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- AxisUtilsTestCase.cpp	26 Apr 2004 04:04:38 -0000	1.2
  +++ AxisUtilsTestCase.cpp	29 Apr 2004 05:21:14 -0000	1.3
  @@ -33,98 +33,101 @@
   
   Test* AxisUtilsTestCase::suite()
   {
  -	TestSuite *testSuite = new TestSuite("AxisUtilsTestCase");
  +    TestSuite *testSuite = new TestSuite("AxisUtilsTestCase");
   
  -	testSuite->addTest (new TestCaller <AxisUtilsTestCase>
  +    testSuite->addTest (new TestCaller <AxisUtilsTestCase>
         ("testClearArray", &AxisUtilsTestCase::testClearArray));
   
  -	testSuite->addTest (new TestCaller <AxisUtilsTestCase>
  -      ("testIsCharacterAvailable", &AxisUtilsTestCase::testIsCharacterAvailable));
  +    testSuite->addTest (new TestCaller <AxisUtilsTestCase>
  +      ("testIsCharacterAvailable", 
  +      &AxisUtilsTestCase::testIsCharacterAvailable));
   
   
  -	testSuite->addTest (new TestCaller <AxisUtilsTestCase>
  -      ("isCharacterAvailableref", &AxisUtilsTestCase::isCharacterAvailableref));
  +    testSuite->addTest (new TestCaller <AxisUtilsTestCase>
  +      ("isCharacterAvailableref", 
  +      &AxisUtilsTestCase::isCharacterAvailableref));
   
   
  -	testSuite->addTest (new TestCaller <AxisUtilsTestCase>
  +    testSuite->addTest (new TestCaller <AxisUtilsTestCase>
         ("testToAxisXMLCh", &AxisUtilsTestCase::testToAxisXMLCh));
   
  -	testSuite->addTest (new TestCaller <AxisUtilsTestCase>
  +    testSuite->addTest (new TestCaller <AxisUtilsTestCase>
         ("testtoLowerCase", &AxisUtilsTestCase::testtoLowerCase));
   
  -	//testSuite->addTest (new TestCaller <AxisUtilsTestCase>
  -      //("testLowerCaseString", &AxisUtilsTestCase::testLowerCaseString));
  +    /* testSuite->addTest (new TestCaller <AxisUtilsTestCase>
  +     *  ("testLowerCaseString", &AxisUtilsTestCase::testLowerCaseString));
  +     */
   
  -	return testSuite;	
  +    return testSuite;    
   }
   
   void AxisUtilsTestCase::testClearArray()
   {
  -	int iLenght = 0;
  -	int iExpectedLenght = 0;
  -	char testArr[10] = "test line";
  -	AxisUtils::clearArray(testArr, 10);
  +    int iLenght = 0;
  +    int iExpectedLenght = 0;
  +    char testArr[10] = "test line";
  +    AxisUtils::clearArray(testArr, 10);
   
  -	iLenght = strlen(testArr);
  +    iLenght = strlen(testArr);
   
  -	CPPUNIT_ASSERT_EQUAL(iExpectedLenght, iLenght);
  +    CPPUNIT_ASSERT_EQUAL(iExpectedLenght, iLenght);
   }
   
   void AxisUtilsTestCase::testIsCharacterAvailable()
   {
  -	bool bResult = false;
  -	bool bExpectedResult = true;
  +    bool bResult = false;
  +    bool bExpectedResult = true;
   
  -	bResult = AxisUtils::isCharacterAvailable("test line", 's');
  +    bResult = AxisUtils::isCharacterAvailable("test line", 's');
   
  -	CPPUNIT_ASSERT_EQUAL(bExpectedResult, bResult);
  +    CPPUNIT_ASSERT_EQUAL(bExpectedResult, bResult);
   
  -	bResult = false;
  -	bExpectedResult = false;
  +    bResult = false;
  +    bExpectedResult = false;
   
  -	bResult = AxisUtils::isCharacterAvailable("test line", 'r');
  +    bResult = AxisUtils::isCharacterAvailable("test line", 'r');
   
  -	CPPUNIT_ASSERT_EQUAL(bExpectedResult, bResult);
  +    CPPUNIT_ASSERT_EQUAL(bExpectedResult, bResult);
   }
   
   void AxisUtilsTestCase::isCharacterAvailableref()
   {
   
  -	bool bResult = false;
  -	bool bExpectedResult = true;
  -	string myString = "MyTestString";
  +    bool bResult = false;
  +    bool bExpectedResult = true;
  +    string myString = "MyTestString";
   
  -	bResult = AxisUtils::isCharacterAvailable(myString, 'S');
  +    bResult = AxisUtils::isCharacterAvailable(myString, 'S');
   
  -	CPPUNIT_ASSERT_EQUAL(bExpectedResult, bResult);
  +    CPPUNIT_ASSERT_EQUAL(bExpectedResult, bResult);
   }
   
   
   void AxisUtilsTestCase::testToAxisXMLCh()
   {
  -	const AxisChar* myString = "MyTestString";
  -	const AxisChar* cResult;
  +    const AxisChar* myString = "MyTestString";
  +    const AxisChar* cResult;
   
   
  -	cResult = AxisUtils::ToAxisXMLCh(myString);
  +    cResult = AxisUtils::ToAxisXMLCh(myString);
   
  -	string ExpectedString = "MyTestString";
  -	string actualString = cResult;
  +    string ExpectedString = "MyTestString";
  +    string actualString = cResult;
   
  -	CPPUNIT_ASSERT_EQUAL(ExpectedString, actualString);
  +    CPPUNIT_ASSERT_EQUAL(ExpectedString, actualString);
   }
   
   void AxisUtilsTestCase::testtoLowerCase()
   {
  -	const char* myString = "MyTestString";
  +    const char* myString = "MyTestString";
   
  -	char* ExpectedString = NULL;
  -	char* sResult;
  +    char* ExpectedString = NULL;
  +    char* sResult;
   
   
  -	sResult = AxisUtils::toLowerCase(myString);
  +    sResult = AxisUtils::toLowerCase(myString);
   
  - 	CPPUNIT_ASSERT_EQUAL(ExpectedString, sResult); 
  +     CPPUNIT_ASSERT_EQUAL(ExpectedString, sResult); 
   }
   
   
  
  
  
  1.3       +10 -10    ws-axis/c/src/unit_tests/cppunit/common/AxisTraceTestCase.h
  
  Index: AxisTraceTestCase.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/unit_tests/cppunit/common/AxisTraceTestCase.h,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- AxisTraceTestCase.h	26 Apr 2004 04:04:38 -0000	1.2
  +++ AxisTraceTestCase.h	29 Apr 2004 05:21:14 -0000	1.3
  @@ -18,8 +18,8 @@
    *
    */
   
  -#if !defined(AFX_AXISTRACETESTCASE_H__1B84AE82_FFEA_4FA0_BB45_0F7289578559__OF_AXIS_INCLUDED_)
  -#define AFX_AXISTRACETESTCASE_H__1B84AE82_FFEA_4FA0_BB45_0F7289578559__OF_AXIS_INCLUDED_
  +#if !defined(AXIS_AXISTRACETESTCASE_H__OF_AXIS_INCLUDED_)
  +#define AXIS_AXISTRACETESTCASE_H__OF_AXIS_INCLUDED_
   
   #include "cppunit\TestCase.h"
   #include "cppunit\TestSuite.h"
  @@ -34,16 +34,16 @@
   class AxisTraceTestCase  : public TestCase
   {
   private:
  -	AxisTrace* pAxisTrace;
  +    AxisTrace* pAxisTrace;
   
   public:
  -	static Test* suite();
  -	void testTraceOne();
  -	void tearDown();
  -	void setUp();
  -	AxisTraceTestCase();
  -	virtual ~AxisTraceTestCase();
  +    static Test* suite();
  +    void testTraceOne();
  +    void tearDown();
  +    void setUp();
  +    AxisTraceTestCase();
  +    virtual ~AxisTraceTestCase();
   
   };
   
  -#endif // !defined(AFX_AXISTRACETESTCASE_H__1B84AE82_FFEA_4FA0_BB45_0F7289578559__OF_AXIS_INCLUDED_)
  +#endif
  
  
  
  1.3       +11 -11    ws-axis/c/src/unit_tests/cppunit/common/AxisTraceTestCase.cpp
  
  Index: AxisTraceTestCase.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/unit_tests/cppunit/common/AxisTraceTestCase.cpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- AxisTraceTestCase.cpp	26 Apr 2004 04:04:38 -0000	1.2
  +++ AxisTraceTestCase.cpp	29 Apr 2004 05:21:14 -0000	1.3
  @@ -33,39 +33,39 @@
   
   void AxisTraceTestCase::setUp()
   {
  -	pAxisTrace = new AxisTrace();
  +    pAxisTrace = new AxisTrace();
   
   }
   
   void AxisTraceTestCase::tearDown()
   {
  -	delete pAxisTrace;
  -	pAxisTrace = NULL;
  +    delete pAxisTrace;
  +    pAxisTrace = NULL;
   }
   
   
   void AxisTraceTestCase::testTraceOne()
   {
  -	int ExpectedInt = 0;
  +    int ExpectedInt = 0;
   
  -	const char* s1 = "MyTestString";
  +    const char* s1 = "MyTestString";
   
  -	int iResult;
  +    int iResult;
   
  -	iResult = pAxisTrace->trace(s1);
  +    iResult = pAxisTrace->trace(s1);
   
  -	CPPUNIT_ASSERT_EQUAL(ExpectedInt,iResult);
  +    CPPUNIT_ASSERT_EQUAL(ExpectedInt,iResult);
   
   }
   
   Test* AxisTraceTestCase::suite()
   {
  -	TestSuite *testSuite = new TestSuite("AxisTraceTestCase");
  +    TestSuite *testSuite = new TestSuite("AxisTraceTestCase");
   
  -	testSuite->addTest (new TestCaller <AxisTraceTestCase>
  +    testSuite->addTest (new TestCaller <AxisTraceTestCase>
         ("testTraceOne", &AxisTraceTestCase::testTraceOne));
   
  -	return testSuite;
  +    return testSuite;
   
   }
   
  
  
  
  1.3       +12 -12    ws-axis/c/src/unit_tests/cppunit/common/AxisSocketUtilsTestCase.h
  
  Index: AxisSocketUtilsTestCase.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/unit_tests/cppunit/common/AxisSocketUtilsTestCase.h,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- AxisSocketUtilsTestCase.h	26 Apr 2004 04:04:38 -0000	1.2
  +++ AxisSocketUtilsTestCase.h	29 Apr 2004 05:21:14 -0000	1.3
  @@ -18,8 +18,8 @@
    *
    */
   
  -#if !defined(AFX_AXISSOCKETUTILSTESTCASE1_H__2C8D2D1A_CCB5_433F_A2F3_2E3ABE5A1ECB__OF_AXIS_INCLUDED_)
  -#define AFX_AXISSOCKETUTILSTESTCASE1_H__2C8D2D1A_CCB5_433F_A2F3_2E3ABE5A1ECB__OF_AXIS_INCLUDED_
  +#if !defined(AXIS_AXISSOCKETUTILSTESTCASE1_H__OF_AXIS_INCLUDED_)
  +#define AXIS_AXISSOCKETUTILSTESTCASE1_H__OF_AXIS_INCLUDED_
   
   #include "cppunit\TestCase.h"
   #include "cppunit\TestSuite.h"
  @@ -36,18 +36,18 @@
   {
   private:
   
  -	AxisSocketUtils* pAxisSocketUtils;
  +    AxisSocketUtils* pAxisSocketUtils;
   
   public:
  -	
  -	static Test* suite();
  -	void testprintSocketErrorDescription();
  -	void TearDown();
  -	void setUp();
  -	AxisSocketUtilsTestCase();
  -	AxisSocketUtilsTestCase(string sName) : TestCase(sName) {}
  -	virtual ~AxisSocketUtilsTestCase();
  +    
  +    static Test* suite();
  +    void testprintSocketErrorDescription();
  +    void TearDown();
  +    void setUp();
  +    AxisSocketUtilsTestCase();
  +    AxisSocketUtilsTestCase(string sName) : TestCase(sName) {}
  +    virtual ~AxisSocketUtilsTestCase();
   
   };
   
  -#endif // !defined(AFX_AXISSOCKETUTILSTESTCASE1_H__2C8D2D1A_CCB5_433F_A2F3_2E3ABE5A1ECB__OF_AXIS_INCLUDED_)
  +#endif
  
  
  
  1.2       +33 -19    ws-axis/c/src/unit_tests/cppunit/common/AxisSocketUtilsTestCase.cpp
  
  Index: AxisSocketUtilsTestCase.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/unit_tests/cppunit/common/AxisSocketUtilsTestCase.cpp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AxisSocketUtilsTestCase.cpp	28 Jan 2004 11:45:25 -0000	1.1
  +++ AxisSocketUtilsTestCase.cpp	29 Apr 2004 05:21:14 -0000	1.2
  @@ -1,12 +1,25 @@
  -// AxisSocketUtilsTestCase1.cpp: implementation of the AxisSocketUtilsTestCase class.
  -//
  -//////////////////////////////////////////////////////////////////////
  +/*
  + *   Copyright 2003-2004 The Apache Software Foundation.
  + *
  + *   Licensed under the Apache License, Version 2.0 (the "License");
  + *   you may not use this file except in compliance with the License.
  + *   You may obtain a copy of the License at
  + *
  + *       http://www.apache.org/licenses/LICENSE-2.0
  + *
  + *   Unless required by applicable law or agreed to in writing, software
  + *   distributed under the License is distributed on an "AS IS" BASIS,
  + *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  + *   See the License for the specific language governing permissions and
  + *   limitations under the License.
  + */
  +
  +/* AxisSocketUtilsTestCase1.cpp: implementation of the AxisSocketUtilsTestCase
  + * class. 
  + */
   
   #include "axis/test_cases/cppunit/common/AxisSocketUtilsTestCase.h"
   
  -//////////////////////////////////////////////////////////////////////
  -// Construction/Destruction
  -//////////////////////////////////////////////////////////////////////
   
   AxisSocketUtilsTestCase::AxisSocketUtilsTestCase()
   {
  @@ -20,36 +33,37 @@
   
   void AxisSocketUtilsTestCase::setUp()
   {
  -	pAxisSocketUtils = new AxisSocketUtils();
  +    pAxisSocketUtils = new AxisSocketUtils();
   }
   
   void AxisSocketUtilsTestCase::TearDown()
   {
  -	delete pAxisSocketUtils;
  -	pAxisSocketUtils = NULL;
  +    delete pAxisSocketUtils;
  +    pAxisSocketUtils = NULL;
   }
   
   void AxisSocketUtilsTestCase::testprintSocketErrorDescription()
   {
  -	int ExpectedSocketError =0 ;
  -	
  -	static int SocketError = pAxisSocketUtils->printSocketErrorDescription();
  +    int ExpectedSocketError =0 ;
  +    
  +    static int SocketError = pAxisSocketUtils->printSocketErrorDescription();
   
  -	int SockError = SocketError;
  +    int SockError = SocketError;
   
  -	CPPUNIT_ASSERT_EQUAL(ExpectedSocketError,SockError);
  -	
  +    CPPUNIT_ASSERT_EQUAL(ExpectedSocketError,SockError);
  +    
   }
   
   
   
   Test* AxisSocketUtilsTestCase::suite()
   {
  -	TestSuite *testSuite = new TestSuite("AxisSocketUtilsTestCase");
  +    TestSuite *testSuite = new TestSuite("AxisSocketUtilsTestCase");
   
  -	testSuite->addTest (new TestCaller <AxisSocketUtilsTestCase>
  -      ("testprintSocketErrorDescription", &AxisSocketUtilsTestCase::testprintSocketErrorDescription));
  +    testSuite->addTest (new TestCaller <AxisSocketUtilsTestCase>
  +      ("testprintSocketErrorDescription", 
  +      &AxisSocketUtilsTestCase::testprintSocketErrorDescription));
   
   
  -	return testSuite;
  +    return testSuite;
   }
  
  
  
  1.3       +15 -15    ws-axis/c/src/unit_tests/cppunit/common/AxisConfigTestCase.h
  
  Index: AxisConfigTestCase.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/unit_tests/cppunit/common/AxisConfigTestCase.h,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- AxisConfigTestCase.h	26 Apr 2004 04:04:38 -0000	1.2
  +++ AxisConfigTestCase.h	29 Apr 2004 05:21:14 -0000	1.3
  @@ -18,8 +18,8 @@
    *
    */
   
  -#if !defined(AFX_AXISCONFIGTESTCASE_H__599874FA_EF16_454E_B45D_3C74F0280D5C__OF_AXIS_INCLUDED_)
  -#define AFX_AXISCONFIGTESTCASE_H__599874FA_EF16_454E_B45D_3C74F0280D5C__OF_AXIS_INCLUDED_
  +#if !defined(AXIS_AXISCONFIGTESTCASE_H__OF_AXIS_INCLUDED_)
  +#define AXIS_AXISCONFIGTESTCASE_H__OF_AXIS_INCLUDED_
   
   #include "cppunit\TestCase.h"
   #include "cppunit\TestSuite.h"
  @@ -36,20 +36,20 @@
   class AxisConfigTestCase  : public TestCase
   {
   private:
  -	AxisConfig* pAxisConfig;
  +    AxisConfig* pAxisConfig;
   public:
  -	void testGetWsddFilePath();
  -	void testGetAxisLogPath();
  -	void tearDown();
  -	void setUp();
  -	
  -	AxisConfigTestCase();
  -
  -	AxisConfigTestCase(string sName) : TestCase(sName) {}
  -	
  -	virtual ~AxisConfigTestCase();
  -	static Test* suite();
  +    void testGetWsddFilePath();
  +    void testGetAxisLogPath();
  +    void tearDown();
  +    void setUp();
  +    
  +    AxisConfigTestCase();
  +
  +    AxisConfigTestCase(string sName) : TestCase(sName) {}
  +    
  +    virtual ~AxisConfigTestCase();
  +    static Test* suite();
   };
   
   
  -#endif // !defined(AFX_AXISCONFIGTESTCASE_H__599874FA_EF16_454E_B45D_3C74F0280D5C__OF_AXIS_INCLUDED_)
  +#endif
  
  
  
  1.3       +18 -18    ws-axis/c/src/unit_tests/cppunit/common/AxisConfigTestCase.cpp
  
  Index: AxisConfigTestCase.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/unit_tests/cppunit/common/AxisConfigTestCase.cpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- AxisConfigTestCase.cpp	26 Apr 2004 04:04:38 -0000	1.2
  +++ AxisConfigTestCase.cpp	29 Apr 2004 05:21:14 -0000	1.3
  @@ -34,26 +34,26 @@
   
   void AxisConfigTestCase::setUp()
   {
  -	pAxisConfig = new AxisConfig();
  +    pAxisConfig = new AxisConfig();
   
   }
   
   void AxisConfigTestCase::tearDown()
   {
  -	delete pAxisConfig;
  -	pAxisConfig = NULL;
  +    delete pAxisConfig;
  +    pAxisConfig = NULL;
   }
   
   
   void AxisConfigTestCase::testGetAxisLogPath()
   {
  -	char* Expectedpath="Axis\\logs\\";
  -	char* LogPath;
  +    char* Expectedpath="Axis\\logs\\";
  +    char* LogPath;
   
  -	LogPath = pAxisConfig->GetAxisLogPath();
  -	Expectedpath = LogPath;
  +    LogPath = pAxisConfig->GetAxisLogPath();
  +    Expectedpath = LogPath;
   
  -	CPPUNIT_ASSERT_EQUAL(Expectedpath, LogPath);
  +    CPPUNIT_ASSERT_EQUAL(Expectedpath, LogPath);
   
   }
   
  @@ -61,29 +61,29 @@
   
   Test* AxisConfigTestCase::suite()
   {
  -	TestSuite *testSuite = new TestSuite("AxisConfigTestCase");
  +    TestSuite *testSuite = new TestSuite("AxisConfigTestCase");
   
  -	testSuite->addTest (new TestCaller <AxisConfigTestCase>
  +    testSuite->addTest (new TestCaller <AxisConfigTestCase>
         ("testGetAxisLogPath", &AxisConfigTestCase::testGetAxisLogPath));
   
  -	testSuite->addTest (new TestCaller <AxisConfigTestCase>
  +    testSuite->addTest (new TestCaller <AxisConfigTestCase>
         ("testGetWsddFilePath", &AxisConfigTestCase::testGetWsddFilePath));
   
   
  -	return testSuite;
  +    return testSuite;
   }
   
   void AxisConfigTestCase::testGetWsddFilePath()
   {
  -	char* ExpectedWsddLogPath ="Axis\\conf\\server.wsdd";
  -	char* WsddLogPath;
  -	WsddLogPath = pAxisConfig->GetWsddFilePath();
  +    char* ExpectedWsddLogPath ="Axis\\conf\\server.wsdd";
  +    char* WsddLogPath;
  +    WsddLogPath = pAxisConfig->GetWsddFilePath();
   
   
  -	string sResult = WsddLogPath;
  -	string ExpectedResult = ExpectedWsddLogPath;
  +    string sResult = WsddLogPath;
  +    string ExpectedResult = ExpectedWsddLogPath;
   
  -	CPPUNIT_ASSERT_EQUAL(ExpectedResult,sResult);
  +    CPPUNIT_ASSERT_EQUAL(ExpectedResult,sResult);
   
   }
   
  
  
  
  1.3       +19 -20    ws-axis/c/src/unit_tests/cppunit/common/ArrayBeanTestCase.h
  
  Index: ArrayBeanTestCase.h
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/unit_tests/cppunit/common/ArrayBeanTestCase.h,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ArrayBeanTestCase.h	26 Apr 2004 04:04:38 -0000	1.2
  +++ ArrayBeanTestCase.h	29 Apr 2004 05:21:14 -0000	1.3
  @@ -17,14 +17,13 @@
    * @author Thushantha De Alwis (thushantha@beyondm.net  ravi@opensource.lk)
    *
    */
  -//////////////////////////////////////////////////////////////////////
   
  -// ArrayBeanTestCase.h: interface for the ArrayBeanTestCase class.
  -//
  -//////////////////////////////////////////////////////////////////////
  +/* ArrayBeanTestCase.h: interface for the ArrayBeanTestCase class. */
   
  -#if !defined(AFX_ARRAYBEANTESTCASE_H__44645C5A_D33B_4194_BB25_4261CA669AF3__OF_AXIS_INCLUDED_)
  -#define AFX_ARRAYBEANTESTCASE_H__44645C5A_D33B_4194_BB25_4261CA669AF3__OF_AXIS_INCLUDED_
  +
  +
  +#if !defined(AXIS_ARRAYBEANTESTCASE_H_OF_AXIS_INCLUDED_)
  +#define AXIS_ARRAYBEANTESTCASE_H_OF_AXIS_INCLUDED_
   
   #include "cppunit\TestCase.h"
   #include "cppunit\TestSuite.h"
  @@ -39,21 +38,21 @@
   class ArrayBeanTestCase : public TestCase
   {
   private:
  -	ArrayBean* pArrayBean;
  +    ArrayBean* pArrayBean;
   public:
  -	void testAxisConfig();
  -	void testSetItemName(const AxisChar* name);
  -	
  -	
  -	void tearDown();
  -	void setUp();
  -	void testGetArraySize();
  -	
  -	static Test* suite();
  -	ArrayBeanTestCase();
  -	ArrayBeanTestCase(string sName) : TestCase(sName) {}
  -	virtual ~ArrayBeanTestCase();
  +    void testAxisConfig();
  +    void testSetItemName(const AxisChar* name);
  +    
  +    
  +    void tearDown();
  +    void setUp();
  +    void testGetArraySize();
  +    
  +    static Test* suite();
  +    ArrayBeanTestCase();
  +    ArrayBeanTestCase(string sName) : TestCase(sName) {}
  +    virtual ~ArrayBeanTestCase();
   
   };
   
  -#endif // !defined(AFX_ARRAYBEANTESTCASE_H__44645C5A_D33B_4194_BB25_4261CA669AF3__OF_AXIS_INCLUDED_)
  +#endif
  
  
  
  1.3       +12 -18    ws-axis/c/src/unit_tests/cppunit/common/ArrayBeanTestCase.cpp
  
  Index: ArrayBeanTestCase.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/unit_tests/cppunit/common/ArrayBeanTestCase.cpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ArrayBeanTestCase.cpp	26 Apr 2004 04:04:38 -0000	1.2
  +++ ArrayBeanTestCase.cpp	29 Apr 2004 05:21:14 -0000	1.3
  @@ -18,18 +18,12 @@
    * @author Thushantha De Alwis (thushantha@beyondm.net  ravi@opensource.lk)
    *
    */
  -//////////////////////////////////////////////////////////////////////
   
  +/* ArrayBeanTestCase.cpp: implementation of the ArrayBeanTestCase class. */
   
  -// ArrayBeanTestCase.cpp: implementation of the ArrayBeanTestCase class.
  -
  -//////////////////////////////////////////////////////////////////////
   
   #include "axis/test_cases/cppunit/common/ArrayBeanTestCase.h"
   
  -//////////////////////////////////////////////////////////////////////
  -// Construction/Destruction
  -//////////////////////////////////////////////////////////////////////
   
   ArrayBeanTestCase::ArrayBeanTestCase()
   {
  @@ -43,27 +37,27 @@
   
   void ArrayBeanTestCase::setUp()
   {
  -	pArrayBean = new ArrayBean();
  +    pArrayBean = new ArrayBean();
   
   }
   
   void ArrayBeanTestCase::tearDown()
   {
  -	delete pArrayBean;
  -	pArrayBean = NULL;
  +    delete pArrayBean;
  +    pArrayBean = NULL;
   }
   
   
   void ArrayBeanTestCase::testGetArraySize()
   {
  -	pArrayBean->m_nSize = 10;
  +    pArrayBean->m_nSize = 10;
   
  -	int ExpectedSize = 10;
  -	int iResult;
  +    int ExpectedSize = 10;
  +    int iResult;
   
  -	iResult = pArrayBean->GetArraySize();
  +    iResult = pArrayBean->GetArraySize();
   
  -	CPPUNIT_ASSERT_EQUAL(ExpectedSize, iResult);
  +    CPPUNIT_ASSERT_EQUAL(ExpectedSize, iResult);
   
   
   
  @@ -72,11 +66,11 @@
   
   Test* ArrayBeanTestCase::suite()
   {
  -	TestSuite* testSuite = new TestSuite("ArrayBeanTestCase");
  +    TestSuite* testSuite = new TestSuite("ArrayBeanTestCase");
   
  -	testSuite->addTest (new TestCaller <ArrayBeanTestCase>
  +    testSuite->addTest (new TestCaller <ArrayBeanTestCase>
         ("testGetArraySize", &ArrayBeanTestCase::testGetArraySize));
   
  -	return testSuite;
  +    return testSuite;
   
   }
  
  
  

Mime
View raw message