You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2004/12/20 09:39:44 UTC
cvs commit: ws-axis/c/tests/client/stubTest/stubBase InteropBaseClient.cpp
samisa 2004/12/20 00:39:44
Modified: c/tests/client/httpHeader/test1/rpc TestClient.cpp
c/tests/client/httpHeader/test2/rpc TestClient.cpp
c/tests/client/httpHeader/test3/rpc TestClient.cpp
c/tests/client/httpHeader/test4/rpc TestClient.cpp
c/tests/client/httpHeader/test5/rpc TestClient.cpp
c/tests/client/httpHeader/test7/rpc TestClient.cpp
c/tests/client/httpHeader/test8/rpc TestClient.cpp
c/tests/client/stubTest/stubBase InteropBaseClient.cpp
Log:
Changes to client code in line with fixes for AXISCPP-316 - Spelling mistakes in API names. Changed 'Trasport' to 'Transport'.
Revision Changes Path
1.7 +5 -5 ws-axis/c/tests/client/httpHeader/test1/rpc/TestClient.cpp
Index: TestClient.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/tests/client/httpHeader/test1/rpc/TestClient.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- TestClient.cpp 24 Nov 2004 13:25:20 -0000 1.6
+++ TestClient.cpp 20 Dec 2004 08:39:44 -0000 1.7
@@ -73,13 +73,13 @@
printf("Unknown exception\n");
}
- printf("Test trasport property accessors\n");
- printf("First trasport key = %s\n", ws.getFirstTrasportPropertyKey());
- printf("First trasport value = %s\n",
- ws.getCurrentTrasportPropertyValue());
+ printf("Test transport property accessors\n");
+ printf("First transport key = %s\n", ws.getFirstTransportPropertyKey());
+ printf("First transport value = %s\n",
+ ws.getCurrentTransportPropertyValue());
//test removing HTTP headers
- ws.deleteTrasportProperty("Accept-Language");
+ ws.deleteTransportProperty("Accept-Language");
//now the request should not have these removed headers
try
1.7 +12 -12 ws-axis/c/tests/client/httpHeader/test2/rpc/TestClient.cpp
Index: TestClient.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/tests/client/httpHeader/test2/rpc/TestClient.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- TestClient.cpp 24 Nov 2004 13:25:20 -0000 1.6
+++ TestClient.cpp 20 Dec 2004 08:39:44 -0000 1.7
@@ -75,26 +75,26 @@
printf("Unknown exception\n");
}
- printf("Test trasport property accessors\n");
- printf("First trasport key = %s\n", ws.getFirstTrasportPropertyKey());
- printf("First trasport value = %s\n",
- ws.getCurrentTrasportPropertyValue());
+ printf("Test transport property accessors\n");
+ printf("First transport key = %s\n", ws.getFirstTransportPropertyKey());
+ printf("First transport value = %s\n",
+ ws.getCurrentTransportPropertyValue());
const char *key = NULL;
int count = 1;
- while (key = ws.getNextTrasportPropertyKey())
+ while (key = ws.getNextTransportPropertyKey())
{
- printf("Next trasport key = %s\n", key);
- printf("Next trasport value = %s\n",
- ws.getCurrentTrasportPropertyValue());
+ printf("Next transport key = %s\n", key);
+ printf("Next transport value = %s\n",
+ ws.getCurrentTransportPropertyValue());
count++;
- //test removal of last trasport property
+ //test removal of last transport property
if (count == 4)
- ws.deleteCurrentTrasportProperty();
+ ws.deleteCurrentTransportProperty();
}
//test removing HTTP headers
- ws.deleteTrasportProperty("Accept-Language", 1);
- ws.deleteTrasportProperty("Date");
+ ws.deleteTransportProperty("Accept-Language", 1);
+ ws.deleteTransportProperty("Date");
//now the request should not have these removed headers
try
1.7 +11 -11 ws-axis/c/tests/client/httpHeader/test3/rpc/TestClient.cpp
Index: TestClient.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/tests/client/httpHeader/test3/rpc/TestClient.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- TestClient.cpp 24 Nov 2004 13:25:20 -0000 1.6
+++ TestClient.cpp 20 Dec 2004 08:39:44 -0000 1.7
@@ -74,25 +74,25 @@
printf("Unknown exception\n");
}
- printf("Test trasport property accessors\n");
- printf("First trasport key = %s\n", ws.getFirstTrasportPropertyKey());
- printf("First trasport value = %s\n",
- ws.getCurrentTrasportPropertyValue());
+ printf("Test transport property accessors\n");
+ printf("First transport key = %s\n", ws.getFirstTransportPropertyKey());
+ printf("First transport value = %s\n",
+ ws.getCurrentTransportPropertyValue());
const char *key = NULL;
int count = 1;
- while (key = ws.getNextTrasportPropertyKey())
+ while (key = ws.getNextTransportPropertyKey())
{
- printf("Next trasport key = %s\n", key);
- printf("Next trasport value = %s\n",
- ws.getCurrentTrasportPropertyValue());
+ printf("Next transport key = %s\n", key);
+ printf("Next transport value = %s\n",
+ ws.getCurrentTransportPropertyValue());
count++;
- //test removal of last trasport property
+ //test removal of last transport property
if (count == 3)
- ws.deleteCurrentTrasportProperty();
+ ws.deleteCurrentTransportProperty();
}
//test removing HTTP headers
- ws.deleteTrasportProperty("Accept-Language", 1);
+ ws.deleteTransportProperty("Accept-Language", 1);
//now the request should not have these removed headers
try
1.7 +11 -11 ws-axis/c/tests/client/httpHeader/test4/rpc/TestClient.cpp
Index: TestClient.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/tests/client/httpHeader/test4/rpc/TestClient.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- TestClient.cpp 24 Nov 2004 13:25:20 -0000 1.6
+++ TestClient.cpp 20 Dec 2004 08:39:44 -0000 1.7
@@ -75,25 +75,25 @@
printf("Unknown exception\n");
}
- printf("Test trasport property accessors\n");
- printf("First trasport key = %s\n", ws.getFirstTrasportPropertyKey());
- printf("First trasport value = %s\n",
- ws.getCurrentTrasportPropertyValue());
+ printf("Test transport property accessors\n");
+ printf("First transport key = %s\n", ws.getFirstTransportPropertyKey());
+ printf("First transport value = %s\n",
+ ws.getCurrentTransportPropertyValue());
const char *key = NULL;
int count = 1;
- while (key = ws.getNextTrasportPropertyKey())
+ while (key = ws.getNextTransportPropertyKey())
{
- printf("Next trasport key = %s\n", key);
- printf("Next trasport value = %s\n",
- ws.getCurrentTrasportPropertyValue());
+ printf("Next transport key = %s\n", key);
+ printf("Next transport value = %s\n",
+ ws.getCurrentTransportPropertyValue());
count++;
- //test removal of last trasport property
+ //test removal of last transport property
if (count == 4)
- ws.deleteCurrentTrasportProperty();
+ ws.deleteCurrentTransportProperty();
}
//test removing HTTP headers
- ws.deleteTrasportProperty("Accept-Language", 1);
+ ws.deleteTransportProperty("Accept-Language", 1);
//now the request should not have these removed headers
try
1.7 +9 -9 ws-axis/c/tests/client/httpHeader/test5/rpc/TestClient.cpp
Index: TestClient.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/tests/client/httpHeader/test5/rpc/TestClient.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- TestClient.cpp 24 Nov 2004 13:25:21 -0000 1.6
+++ TestClient.cpp 20 Dec 2004 08:39:44 -0000 1.7
@@ -72,22 +72,22 @@
printf("Unknown exception\n");
}
- printf("Test trasport property accessors\n");
- printf("First trasport key = %s\n", ws.getFirstTrasportPropertyKey());
- printf("First trasport value = %s\n",
- ws.getCurrentTrasportPropertyValue());
+ printf("Test transport property accessors\n");
+ printf("First transport key = %s\n", ws.getFirstTransportPropertyKey());
+ printf("First transport value = %s\n",
+ ws.getCurrentTransportPropertyValue());
const char *key = NULL;
int count = 1;
- while (key = ws.getNextTrasportPropertyKey())
+ while (key = ws.getNextTransportPropertyKey())
{
- printf("Next trasport key = %s\n", key);
- printf("Next trasport value = %s\n",
- ws.getCurrentTrasportPropertyValue());
+ printf("Next transport key = %s\n", key);
+ printf("Next transport value = %s\n",
+ ws.getCurrentTransportPropertyValue());
count++;
}
//test removing HTTP headers
- ws.deleteTrasportProperty("SOAPAction");
+ ws.deleteTransportProperty("SOAPAction");
//now the request should not have these removed headers
try
1.7 +9 -9 ws-axis/c/tests/client/httpHeader/test7/rpc/TestClient.cpp
Index: TestClient.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/tests/client/httpHeader/test7/rpc/TestClient.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- TestClient.cpp 24 Nov 2004 13:25:21 -0000 1.6
+++ TestClient.cpp 20 Dec 2004 08:39:44 -0000 1.7
@@ -72,22 +72,22 @@
printf("Unknown exception\n");
}
- printf("Test trasport property accessors\n");
- printf("First trasport key = %s\n", ws.getFirstTrasportPropertyKey());
- printf("First trasport value = %s\n",
- ws.getCurrentTrasportPropertyValue());
+ printf("Test transport property accessors\n");
+ printf("First transport key = %s\n", ws.getFirstTransportPropertyKey());
+ printf("First transport value = %s\n",
+ ws.getCurrentTransportPropertyValue());
const char *key = NULL;
int count = 1;
- while (key = ws.getNextTrasportPropertyKey())
+ while (key = ws.getNextTransportPropertyKey())
{
- printf("Next trasport key = %s\n", key);
- printf("Next trasport value = %s\n",
- ws.getCurrentTrasportPropertyValue());
+ printf("Next transport key = %s\n", key);
+ printf("Next transport value = %s\n",
+ ws.getCurrentTransportPropertyValue());
count++;
}
//test removing HTTP headers
- ws.deleteTrasportProperty("Accept-Language");
+ ws.deleteTransportProperty("Accept-Language");
//now the request should not have these removed headers
try
1.8 +10 -10 ws-axis/c/tests/client/httpHeader/test8/rpc/TestClient.cpp
Index: TestClient.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/tests/client/httpHeader/test8/rpc/TestClient.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- TestClient.cpp 6 Dec 2004 02:34:56 -0000 1.7
+++ TestClient.cpp 20 Dec 2004 08:39:44 -0000 1.8
@@ -74,23 +74,23 @@
printf("Unknown exception\n");
}
- printf("Test trasport property accessors\n");
- printf("First trasport key = %s\n", ws.getFirstTrasportPropertyKey());
- printf("First trasport value = %s\n",
- ws.getCurrentTrasportPropertyValue());
+ printf("Test transport property accessors\n");
+ printf("First transport key = %s\n", ws.getFirstTransportPropertyKey());
+ printf("First transport value = %s\n",
+ ws.getCurrentTransportPropertyValue());
const char *key = NULL;
int count = 1;
- while (key = ws.getNextTrasportPropertyKey())
+ while (key = ws.getNextTransportPropertyKey())
{
- printf("Next trasport key = %s\n", key);
- printf("Next trasport value = %s\n",
- ws.getCurrentTrasportPropertyValue());
+ printf("Next transport key = %s\n", key);
+ printf("Next transport value = %s\n",
+ ws.getCurrentTransportPropertyValue());
count++;
}
//test removing HTTP headers
- ws.deleteTrasportProperty("Accept-Language");
- ws.deleteTrasportProperty("Accept-Language"); // delete non existant header
+ ws.deleteTransportProperty("Accept-Language");
+ ws.deleteTransportProperty("Accept-Language"); // delete non existant header
//now the request should not have these removed headers
try
1.13 +11 -11 ws-axis/c/tests/client/stubTest/stubBase/InteropBaseClient.cpp
Index: InteropBaseClient.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/tests/client/stubTest/stubBase/InteropBaseClient.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- InteropBaseClient.cpp 12 Nov 2004 09:05:26 -0000 1.12
+++ InteropBaseClient.cpp 20 Dec 2004 08:39:44 -0000 1.13
@@ -142,24 +142,24 @@
else
printf("failed\n");
- printf("Test trasport property accessors\n");
- printf("First trasport key = %s\n", ws.getFirstTrasportPropertyKey());
- printf("First trasport value = %s\n",
- ws.getCurrentTrasportPropertyValue());
+ printf("Test transport property accessors\n");
+ printf("First transport key = %s\n", ws.getFirstTransportPropertyKey());
+ printf("First transport value = %s\n",
+ ws.getCurrentTransportPropertyValue());
const char *key = NULL;
int count = 1;
- while (key = ws.getNextTrasportPropertyKey())
+ while (key = ws.getNextTransportPropertyKey())
{
- printf("Next trasport key = %s\n", key);
- printf("Next trasport value = %s\n",
- ws.getCurrentTrasportPropertyValue());
+ printf("Next transport key = %s\n", key);
+ printf("Next transport value = %s\n",
+ ws.getCurrentTransportPropertyValue());
count++;
- //test removal of last trasport property
+ //test removal of last transport property
if (count == 3)
- ws.deleteCurrentTrasportProperty();
+ ws.deleteCurrentTransportProperty();
}
- //ws.deleteTrasportProperty("Accept-Language", 2);
+ //ws.deleteTransportProperty("Accept-Language", 2);
printf("First header block no of children = %d\n",
ws.getFirstSOAPHeaderBlock()->getNoOfChildren());