You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by na...@apache.org on 2007/12/14 15:04:31 UTC
svn commit: r604199 -
/webservices/rampart/trunk/java/modules/rampart-integration/src/test/java/org/apache/rampart/RampartTest.java
Author: nandana
Date: Fri Dec 14 06:04:30 2007
New Revision: 604199
URL: http://svn.apache.org/viewvc?rev=604199&view=rev
Log:
Edited Rampart Test include scenario 15 and 16.
Modified:
webservices/rampart/trunk/java/modules/rampart-integration/src/test/java/org/apache/rampart/RampartTest.java
Modified: webservices/rampart/trunk/java/modules/rampart-integration/src/test/java/org/apache/rampart/RampartTest.java
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-integration/src/test/java/org/apache/rampart/RampartTest.java?rev=604199&r1=604198&r2=604199&view=diff
==============================================================================
--- webservices/rampart/trunk/java/modules/rampart-integration/src/test/java/org/apache/rampart/RampartTest.java (original)
+++ webservices/rampart/trunk/java/modules/rampart-integration/src/test/java/org/apache/rampart/RampartTest.java Fri Dec 14 06:04:30 2007
@@ -74,15 +74,15 @@
"Unlimited Strength Jurisdiction Policy !!!");
}
- for (int i = 2; i <= 14; i++) { //<-The number of tests we have
- if(!basic256Supported && (i == 3 || i == 4 || i ==5)) {
+ for (int i = 1; i <= 16; i++) { //<-The number of tests we have
+ if(!basic256Supported && (i == 3 || i == 4 || i == 5)) {
//Skip the Basic256 tests
continue;
}
Options options = new Options();
- if(i == 13) {
- return;
+ if(i == 1 || i == 13) {
+ continue; // Can't test Transport binding with Simple HTTP Server
//Username token created with user/pass from options
//options.setUserName("alice");
//options.setPassword("password");
@@ -91,7 +91,7 @@
System.out.println("Testing WS-Sec: custom scenario " + i);
options.setAction("urn:echo");
options.setTo(new EndpointReference("http://127.0.0.1:" +
- PORT +
+ PORT +
"/axis2/services/SecureService" + i));
ServiceContext context = serviceClient.getServiceContext();
@@ -105,6 +105,10 @@
for (int i = 1; i <= 3; i++) { //<-The number of tests we have
+
+ if (i == 3) {
+ continue; // Can't test Transport binding scenarios with Simple HTTP Server
+ }
Options options = new Options();
System.out.println("Testing WS-SecConv: custom scenario " + i);