Author: mageshbk(a)jboss.com
Date: 2008-09-27 05:02:27 -0400 (Sat, 27 Sep 2008)
New Revision: 8266
Modified:
framework/branches/jbossws-framework-2.0.1.GA_CP01_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxws/samples/jaxr/scout/JaxrBaseTest.java
framework/branches/jbossws-framework-2.0.1.GA_CP01_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxws/samples/jaxr/scout/publish/JaxrDeleteOrganizationTestCase.java
framework/branches/jbossws-framework-2.0.1.GA_CP01_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxws/samples/jaxr/scout/publish/JaxrSaveOrganizationTestCase.java
framework/branches/jbossws-framework-2.0.1.GA_CP01_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxws/samples/jaxr/scout/query/JaxrBusinessQueryTestCase.java
framework/branches/jbossws-framework-2.0.1.GA_CP01_JBPAPP-1211/version.properties
Log:
[JBPAPP-1155]-Fix Framework test case failures with EAP
Modified:
framework/branches/jbossws-framework-2.0.1.GA_CP01_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxws/samples/jaxr/scout/JaxrBaseTest.java
===================================================================
---
framework/branches/jbossws-framework-2.0.1.GA_CP01_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxws/samples/jaxr/scout/JaxrBaseTest.java 2008-09-27
09:01:44 UTC (rev 8265)
+++
framework/branches/jbossws-framework-2.0.1.GA_CP01_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxws/samples/jaxr/scout/JaxrBaseTest.java 2008-09-27
09:02:27 UTC (rev 8266)
@@ -91,6 +91,7 @@
{
//Change the createonstart setting for juddi service and restart it
server = getServer();
+ login();
server.invoke(OBJECT_NAME, "setCreateOnStart", new Object[] {
Boolean.TRUE }, new String[] { Boolean.TYPE.getName() });
server.invoke(OBJECT_NAME, "stop", null, null);
server.invoke(OBJECT_NAME, "start", null, null);
@@ -115,6 +116,7 @@
factory = ConnectionFactory.newInstance();
factory.setProperties(props);
connection = factory.createConnection();
+ logout();
}
/**
@@ -136,7 +138,7 @@
/**
* Does authentication with the uddi registry
*/
- protected void login() throws JAXRException
+ protected void jaxrLogin() throws JAXRException
{
PasswordAuthentication passwdAuth = new PasswordAuthentication(userid,
passwd.toCharArray());
Set creds = new HashSet();
Modified:
framework/branches/jbossws-framework-2.0.1.GA_CP01_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxws/samples/jaxr/scout/publish/JaxrDeleteOrganizationTestCase.java
===================================================================
---
framework/branches/jbossws-framework-2.0.1.GA_CP01_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxws/samples/jaxr/scout/publish/JaxrDeleteOrganizationTestCase.java 2008-09-27
09:01:44 UTC (rev 8265)
+++
framework/branches/jbossws-framework-2.0.1.GA_CP01_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxws/samples/jaxr/scout/publish/JaxrDeleteOrganizationTestCase.java 2008-09-27
09:02:27 UTC (rev 8266)
@@ -45,7 +45,7 @@
public String saveOrg(String orgname) throws JAXRException
{
String keyid = "";
- login();
+ jaxrLogin();
getJAXREssentials();
Collection orgs = new ArrayList();
Modified:
framework/branches/jbossws-framework-2.0.1.GA_CP01_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxws/samples/jaxr/scout/publish/JaxrSaveOrganizationTestCase.java
===================================================================
---
framework/branches/jbossws-framework-2.0.1.GA_CP01_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxws/samples/jaxr/scout/publish/JaxrSaveOrganizationTestCase.java 2008-09-27
09:01:44 UTC (rev 8265)
+++
framework/branches/jbossws-framework-2.0.1.GA_CP01_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxws/samples/jaxr/scout/publish/JaxrSaveOrganizationTestCase.java 2008-09-27
09:02:27 UTC (rev 8266)
@@ -47,7 +47,7 @@
public void testSaveOrg() throws JAXRException
{
String keyid = "";
- login();
+ jaxrLogin();
rs = connection.getRegistryService();
Modified:
framework/branches/jbossws-framework-2.0.1.GA_CP01_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxws/samples/jaxr/scout/query/JaxrBusinessQueryTestCase.java
===================================================================
---
framework/branches/jbossws-framework-2.0.1.GA_CP01_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxws/samples/jaxr/scout/query/JaxrBusinessQueryTestCase.java 2008-09-27
09:01:44 UTC (rev 8265)
+++
framework/branches/jbossws-framework-2.0.1.GA_CP01_JBPAPP-1211/src/test/java/org/jboss/test/ws/jaxws/samples/jaxr/scout/query/JaxrBusinessQueryTestCase.java 2008-09-27
09:02:27 UTC (rev 8266)
@@ -48,7 +48,7 @@
{
super.setUp();
String keyid = "";
- login();
+ jaxrLogin();
getJAXREssentials();
Collection orgs = new ArrayList();
Modified:
framework/branches/jbossws-framework-2.0.1.GA_CP01_JBPAPP-1211/version.properties
===================================================================
---
framework/branches/jbossws-framework-2.0.1.GA_CP01_JBPAPP-1211/version.properties 2008-09-27
09:01:44 UTC (rev 8265)
+++
framework/branches/jbossws-framework-2.0.1.GA_CP01_JBPAPP-1211/version.properties 2008-09-27
09:02:27 UTC (rev 8266)
@@ -5,8 +5,8 @@
specification.vendor=JBoss (
http://www.jboss.org)
specification.version=jbossws-2.0
-version.id=2.0.1.GA
-repository.id=2.0.1.GA
+version.id=2.0.1.GA_CP01_JBPAPP-1211
+repository.id=2.0.1.GA_CP01_JBPAPP-1211
implementation.title=JBoss Web Services - Framework
implementation.url=http://www.jboss.org/products/jbossws
@@ -14,7 +14,7 @@
implementation.vendor.id=http://www.jboss.org
# Thirdparty library versions
-jbossws-common=1.0.0.GA
+jbossws-common=1.0.0.GA_CP01_JBPAPP-1211
jbossws-spi=1.0.0.GA
dom4j=1.6.1