You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ha...@apache.org on 2005/01/31 18:47:51 UTC
cvs commit: ws-axis/c/tests/auto_build/testcases/client/cpp SimpleTypeInnerUnboundedClient.cpp EnumerationClient.cpp SimpleRefDocClient.cpp SimpleTypeInnerUnboundedInOutputClient.cpp SimpleTypeArrayClient.cpp LargeReturningStringClient.cpp ManyTypeRefRootClient.cpp
hawkeye 2005/01/31 09:47:51
Modified: c/tests/auto_build/testcases/output SimpleTypeArray.cpp.out
LargeReturningString.cpp.out
SimpleTypeInnerUnboundedInOutput.cpp.out
ManyTypeRefRoot.cpp.out Enumeration.cpp.out
SimpleRefDoc.cpp.out
SimpleTypeInnerUnbounded.cpp.out
c/tests/auto_build/testcases/client/cpp
SimpleTypeInnerUnboundedClient.cpp
EnumerationClient.cpp SimpleRefDocClient.cpp
SimpleTypeInnerUnboundedInOutputClient.cpp
SimpleTypeArrayClient.cpp
LargeReturningStringClient.cpp
ManyTypeRefRootClient.cpp
Log:
Tests now have a end of test marker on cout. Also made tests that used printf no use cout
Revision Changes Path
1.2 +1 -0 ws-axis/c/tests/auto_build/testcases/output/SimpleTypeArray.cpp.out
Index: SimpleTypeArray.cpp.out
===================================================================
RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/output/SimpleTypeArray.cpp.out,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- SimpleTypeArray.cpp.out 1 Oct 2004 20:04:00 -0000 1.1
+++ SimpleTypeArray.cpp.out 31 Jan 2005 17:47:50 -0000 1.2
@@ -98,3 +98,4 @@
item [97] = 97
item [98] = 98
item [99] = 99
+---------------------- TEST COMPLETE -----------------------------
\ No newline at end of file
1.2 +1 -0 ws-axis/c/tests/auto_build/testcases/output/LargeReturningString.cpp.out
Index: LargeReturningString.cpp.out
===================================================================
RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/output/LargeReturningString.cpp.out,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- LargeReturningString.cpp.out 18 Nov 2004 10:09:13 -0000 1.1
+++ LargeReturningString.cpp.out 31 Jan 2005 17:47:50 -0000 1.2
@@ -1,2 +1,3 @@
Result
2097152
+---------------------- TEST COMPLETE -----------------------------
1.2 +1 -0 ws-axis/c/tests/auto_build/testcases/output/SimpleTypeInnerUnboundedInOutput.cpp.out
Index: SimpleTypeInnerUnboundedInOutput.cpp.out
===================================================================
RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/output/SimpleTypeInnerUnboundedInOutput.cpp.out,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- SimpleTypeInnerUnboundedInOutput.cpp.out 1 Oct 2004 20:04:01 -0000 1.1
+++ SimpleTypeInnerUnboundedInOutput.cpp.out 31 Jan 2005 17:47:50 -0000 1.2
@@ -8,3 +8,4 @@
Result [7] : 7
Result [8] : 8
Result [9] : 9
+---------------------- TEST COMPLETE -----------------------------
\ No newline at end of file
1.2 +1 -0 ws-axis/c/tests/auto_build/testcases/output/ManyTypeRefRoot.cpp.out
Index: ManyTypeRefRoot.cpp.out
===================================================================
RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/output/ManyTypeRefRoot.cpp.out,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ManyTypeRefRoot.cpp.out 1 Oct 2004 20:04:00 -0000 1.1
+++ ManyTypeRefRoot.cpp.out 31 Jan 2005 17:47:50 -0000 1.2
@@ -9,3 +9,4 @@
Result 7 : Test type
Result 8 : Test type
Result 9 : Test type
+---------------------- TEST COMPLETE -----------------------------
\ No newline at end of file
1.2 +1 -0 ws-axis/c/tests/auto_build/testcases/output/Enumeration.cpp.out
Index: Enumeration.cpp.out
===================================================================
RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/output/Enumeration.cpp.out,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Enumeration.cpp.out 1 Oct 2004 20:04:00 -0000 1.1
+++ Enumeration.cpp.out 31 Jan 2005 17:47:50 -0000 1.2
@@ -4,3 +4,4 @@
enum_int 0
enum_string one
enum_kind CHEQUE
+---------------------- TEST COMPLETE -----------------------------
1.3 +1 -0 ws-axis/c/tests/auto_build/testcases/output/SimpleRefDoc.cpp.out
Index: SimpleRefDoc.cpp.out
===================================================================
RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/output/SimpleRefDoc.cpp.out,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- SimpleRefDoc.cpp.out 20 Oct 2004 15:06:42 -0000 1.2
+++ SimpleRefDoc.cpp.out 31 Jan 2005 17:47:50 -0000 1.3
@@ -1,2 +1,3 @@
invoking echoInt..
successful
+---------------------- TEST COMPLETE -----------------------------
1.2 +1 -0 ws-axis/c/tests/auto_build/testcases/output/SimpleTypeInnerUnbounded.cpp.out
Index: SimpleTypeInnerUnbounded.cpp.out
===================================================================
RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/output/SimpleTypeInnerUnbounded.cpp.out,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- SimpleTypeInnerUnbounded.cpp.out 1 Oct 2004 20:04:00 -0000 1.1
+++ SimpleTypeInnerUnbounded.cpp.out 31 Jan 2005 17:47:50 -0000 1.2
@@ -4,3 +4,4 @@
enum_int 1
enum_string one
enum_kind CHEQUE
+---------------------- TEST COMPLETE -----------------------------
\ No newline at end of file
1.5 +15 -0 ws-axis/c/tests/auto_build/testcases/client/cpp/SimpleTypeInnerUnboundedClient.cpp
Index: SimpleTypeInnerUnboundedClient.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/SimpleTypeInnerUnboundedClient.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- SimpleTypeInnerUnboundedClient.cpp 9 Nov 2004 10:26:22 -0000 1.4
+++ SimpleTypeInnerUnboundedClient.cpp 31 Jan 2005 17:47:51 -0000 1.5
@@ -70,6 +70,21 @@
if(endpoint_set)
free(endpoint);
}
+
+ // clean up
+ try
+ {
+ delete ws;
+ }
+ catch(exception& exception)
+ {
+ cout << "Exception on clean up of ws: " << exception.what()<<endl;
+ }
+ catch(...)
+ {
+ cout << "Unknown exception on clean up of ws: " << endl;
+ }
+ cout << "---------------------- TEST COMPLETE -----------------------------"<< endl;
return returnValue;
}
1.6 +15 -3 ws-axis/c/tests/auto_build/testcases/client/cpp/EnumerationClient.cpp
Index: EnumerationClient.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/EnumerationClient.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- EnumerationClient.cpp 21 Jan 2005 09:27:28 -0000 1.5
+++ EnumerationClient.cpp 31 Jan 2005 17:47:51 -0000 1.6
@@ -65,9 +65,21 @@
if(endpoint_set)
free(endpoint);
}
- delete ws;
- delete input;
- delete result;
+ try
+ {
+ delete ws;
+ delete input;
+ delete result;
+ }
+ catch(exception& exception)
+ {
+ cout << "Exception when cleaning up: " << exception.what()<<endl;
+ }
+ catch(...)
+ {
+ cout << "Unknown exception when cleaning up: "<<endl;
+ }
+ cout << "---------------------- TEST COMPLETE -----------------------------"<< endl;
return returnValue;
}
1.6 +13 -6 ws-axis/c/tests/auto_build/testcases/client/cpp/SimpleRefDocClient.cpp
Index: SimpleRefDocClient.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/SimpleRefDocClient.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- SimpleRefDocClient.cpp 29 Nov 2004 12:39:31 -0000 1.5
+++ SimpleRefDocClient.cpp 31 Jan 2005 17:47:51 -0000 1.6
@@ -5,6 +5,7 @@
#include "RefTestPortType.hpp"
#include <axis/AxisException.hpp>
+#include <iostream>
#define ARRAYSIZE 2
@@ -22,27 +23,33 @@
sprintf(endpoint, "%s", url);
RefTestPortType ws(endpoint);
- printf("invoking echoInt..\n");
+ cout << "invoking echoInt.."<<endl;
IntType refint;
refint.intItem =56;
if ((ws.echoInt(&refint))->intItem == 56)
- printf("successful\n");
+ {
+ cout << "successful"<<endl;
+ }
else
- printf("failed \n");
+ {
+ cout << "failed "<<endl;
+ }
}
catch(AxisException& e)
{
- printf("Exception : %s\n", e.what());
+ cout << "Exception : " << e.what() << endl;
}
catch(exception& e)
{
- printf("Unknown exception has occured\n");
+ cout << "Unexpected exception has occured" << e.what() << endl;
}
catch(...)
{
- printf("Unknown exception has occured\n");
+ cout << "Unknown exception has occured" << endl;
}
+ cout << "---------------------- TEST COMPLETE -----------------------------"<< endl;
+
return 0;
}
1.5 +14 -1 ws-axis/c/tests/auto_build/testcases/client/cpp/SimpleTypeInnerUnboundedInOutputClient.cpp
Index: SimpleTypeInnerUnboundedInOutputClient.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/SimpleTypeInnerUnboundedInOutputClient.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- SimpleTypeInnerUnboundedInOutputClient.cpp 9 Nov 2004 10:26:22 -0000 1.4
+++ SimpleTypeInnerUnboundedInOutputClient.cpp 31 Jan 2005 17:47:51 -0000 1.5
@@ -57,7 +57,20 @@
free(endpoint);
}
}
-
+// clean up
+ try
+ {
+ delete ws;
+ }
+ catch(exception& exception)
+ {
+ cout << "Exception on clean up of ws: " << exception.what()<<endl;
+ }
+ catch(...)
+ {
+ cout << "Unknown exception on clean up of ws: " << endl;
+ }
+ cout << "---------------------- TEST COMPLETE -----------------------------"<< endl;
return returnValue;
}
1.5 +15 -0 ws-axis/c/tests/auto_build/testcases/client/cpp/SimpleTypeArrayClient.cpp
Index: SimpleTypeArrayClient.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/SimpleTypeArrayClient.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- SimpleTypeArrayClient.cpp 9 Nov 2004 10:26:22 -0000 1.4
+++ SimpleTypeArrayClient.cpp 31 Jan 2005 17:47:51 -0000 1.5
@@ -62,6 +62,21 @@
if(endpoint_set)
free(endpoint);
}
+
+ // clean up
+ try
+ {
+ delete ws;
+ }
+ catch(exception& exception)
+ {
+ cerr << "Exception on clean up of ws : " << exception.what()<<endl;
+ }
+ catch(...)
+ {
+ cerr << "Unknown exception on clean up of ws : " << endl;
+ }
+ cout << "---------------------- TEST COMPLETE -----------------------------"<< endl;
return returnValue;
}
1.6 +14 -0 ws-axis/c/tests/auto_build/testcases/client/cpp/LargeReturningStringClient.cpp
Index: LargeReturningStringClient.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/LargeReturningStringClient.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- LargeReturningStringClient.cpp 17 Nov 2004 13:35:41 -0000 1.5
+++ LargeReturningStringClient.cpp 31 Jan 2005 17:47:51 -0000 1.6
@@ -52,6 +52,20 @@
if(endpoint_set)
free(endpoint);
}
+ try
+ {
+ delete ws;
+ }
+ catch(exception& exception)
+ {
+ cout << "Exception on clean up of ws: " << exception.what()<<endl;
+ }
+ catch(...)
+ {
+ cout << "Unknown exception on clean up of ws: " << endl;
+ }
+ cout << "---------------------- TEST COMPLETE -----------------------------"<< endl;
+
return returnValue;
}
1.5 +1 -0 ws-axis/c/tests/auto_build/testcases/client/cpp/ManyTypeRefRootClient.cpp
Index: ManyTypeRefRootClient.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/tests/auto_build/testcases/client/cpp/ManyTypeRefRootClient.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ManyTypeRefRootClient.cpp 9 Nov 2004 10:26:21 -0000 1.4
+++ ManyTypeRefRootClient.cpp 31 Jan 2005 17:47:51 -0000 1.5
@@ -65,6 +65,7 @@
if(endpoint_set)
free(endpoint);
}
+ cout << "---------------------- TEST COMPLETE -----------------------------"<< endl;
return returnValue;
}