[jbossws-commits] JBossWS SVN: r14501 - shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/jaxbcust.
jbossws-commits at lists.jboss.org
jbossws-commits at lists.jboss.org
Thu Jun 9 12:02:55 EDT 2011
Author: alessio.soldano at jboss.com
Date: 2011-06-09 12:02:55 -0400 (Thu, 09 Jun 2011)
New Revision: 14501
Modified:
shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/jaxbcust/BindingCustomizationTestCase.java
Log:
[JBWS-3312] use newHttpEndpoint instead of newEndpoint
Modified: shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/jaxbcust/BindingCustomizationTestCase.java
===================================================================
--- shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/jaxbcust/BindingCustomizationTestCase.java 2011-06-09 15:51:15 UTC (rev 14500)
+++ shared-testsuite/trunk/testsuite/src/test/java/org/jboss/test/ws/jaxws/jaxbcust/BindingCustomizationTestCase.java 2011-06-09 16:02:55 UTC (rev 14501)
@@ -51,7 +51,7 @@
public void testCustomizationWriteAccess() throws Exception
{
- Endpoint endpoint = deploymentModelFactory.newEndpoint(null);
+ Endpoint endpoint = deploymentModelFactory.newHttpEndpoint(null);
BindingCustomization jaxbCustomization = new JAXBBindingCustomization();
jaxbCustomization.put("com.sun.xml.bind.defaultNamespaceRemap", "http://org.jboss.bindingCustomization");
endpoint.addAttachment(BindingCustomization.class, jaxbCustomization);
@@ -72,7 +72,7 @@
public void testCustomizationReadAccess() throws Exception
{
- Endpoint endpoint = deploymentModelFactory.newEndpoint(null);
+ Endpoint endpoint = deploymentModelFactory.newHttpEndpoint(null);
BindingCustomization jaxbCustomization = new JAXBBindingCustomization();
jaxbCustomization.put("com.sun.xml.bind.defaultNamespaceRemap", "http://org.jboss.bindingCustomization");
endpoint.addAttachment(BindingCustomization.class, jaxbCustomization);
@@ -86,7 +86,7 @@
try
{
endpoint.addAttachment(BindingCustomization.class, jaxbCustomization);
- fail("Started Endpoints should only axpose read acccess to their binding customizations");
+ fail("Started Endpoints should only expose read acccess to their binding customizations");
}
catch (Exception e)
{
More information about the jbossws-commits
mailing list