You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ha...@apache.org on 2012/01/20 23:23:31 UTC

svn commit: r1234188 - in /camel/branches/camel-2.9.x: ./ components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/

Author: hadrian
Date: Fri Jan 20 22:23:31 2012
New Revision: 1234188

URL: http://svn.apache.org/viewvc?rev=1234188&view=rev
Log:
Merged revisions 1232319 via svnmerge from 
https://svn.apache.org/repos/asf/camel/trunk

........
  r1232319 | davsclaus | 2012-01-17 01:29:57 -0500 (Tue, 17 Jan 2012) | 1 line
  
  CAMEL-4905: Fixed typos in tests. Thanks to Bilgin for the patch.
........

Modified:
    camel/branches/camel-2.9.x/   (props changed)
    camel/branches/camel-2.9.x/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducerClientFactoryCacheTest.java
    camel/branches/camel-2.9.x/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducerTest.java
    camel/branches/camel-2.9.x/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsSpringEndpointTest.java

Propchange: camel/branches/camel-2.9.x/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: camel/branches/camel-2.9.x/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducerClientFactoryCacheTest.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.9.x/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducerClientFactoryCacheTest.java?rev=1234188&r1=1234187&r2=1234188&view=diff
==============================================================================
--- camel/branches/camel-2.9.x/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducerClientFactoryCacheTest.java (original)
+++ camel/branches/camel-2.9.x/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducerClientFactoryCacheTest.java Fri Jan 20 22:23:31 2012
@@ -70,7 +70,7 @@ public class CxfRsProducerClientFactoryC
     }
     
     @Test
-    public void testGetConstumerWithHttpCentralClientAPI() throws Exception {
+    public void testGetCostumerWithHttpCentralClientAPI() throws Exception {
         doRunTest(template2);
         doRunTest(template1);
     }

Modified: camel/branches/camel-2.9.x/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducerTest.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.9.x/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducerTest.java?rev=1234188&r1=1234187&r2=1234188&view=diff
==============================================================================
--- camel/branches/camel-2.9.x/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducerTest.java (original)
+++ camel/branches/camel-2.9.x/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsProducerTest.java Fri Jan 20 22:23:31 2012
@@ -69,7 +69,7 @@ public class CxfRsProducerTest extends C
     }
     
     @Test
-    public void testGetConstumerWithClientProxyAPI() {
+    public void testGetCostumerWithClientProxyAPI() {
         // START SNIPPET: ProxyExample
         Exchange exchange = template.send("direct://proxy", new Processor() {
             public void process(Exchange exchange) throws Exception {
@@ -97,7 +97,7 @@ public class CxfRsProducerTest extends C
     }
     
     @Test
-    public void testGetConstumersWithClientProxyAPI() {
+    public void testGetCostumersWithClientProxyAPI() {
         Exchange exchange = template.send("direct://proxy", new Processor() {
             public void process(Exchange exchange) throws Exception {
                 exchange.setPattern(ExchangePattern.InOut);
@@ -123,7 +123,7 @@ public class CxfRsProducerTest extends C
     }
     
     @Test
-    public void testGetConstumerWithHttpCentralClientAPI() {
+    public void testGetCostumerWithHttpCentralClientAPI() {
      // START SNIPPET: HttpExample
         Exchange exchange = template.send("direct://http", new Processor() {
             public void process(Exchange exchange) throws Exception {
@@ -154,7 +154,7 @@ public class CxfRsProducerTest extends C
     }
     
     @Test
-    public void testGetConstumerWithCxfRsEndpoint() {
+    public void testGetCostumerWithCxfRsEndpoint() {
         Exchange exchange 
             = template.send("cxfrs://http://localhost:" + getPort1() + "/" + getClass().getSimpleName() + "/?httpClientAPI=true", new Processor() {
                 public void process(Exchange exchange) throws Exception {

Modified: camel/branches/camel-2.9.x/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsSpringEndpointTest.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.9.x/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsSpringEndpointTest.java?rev=1234188&r1=1234187&r2=1234188&view=diff
==============================================================================
--- camel/branches/camel-2.9.x/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsSpringEndpointTest.java (original)
+++ camel/branches/camel-2.9.x/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsSpringEndpointTest.java Fri Jan 20 22:23:31 2012
@@ -33,7 +33,7 @@ public class CxfRsSpringEndpointTest ext
         assertEquals("Get a wrong provider size", 1, sfb.getProviders().size());
         assertEquals("Get a wrong beanId", sfb.getBeanId(), "rsServer");
         assertEquals("Get a wrong address", sfb.getAddress(), "http://localhost:9000/router");
-        assertEquals("Get a wrong size of resource classess", sfb.getResourceClasses().size(), 1);
+        assertEquals("Get a wrong size of resource classes", sfb.getResourceClasses().size(), 1);
         assertEquals("Get a wrong resource class", sfb.getResourceClasses().get(0), CustomerService.class);
         assertEquals("Got the wrong loggingFeatureEnabled", true, sfb.isLoggingFeatureEnabled());
         assertEquals("Got the wrong loggingSizeLimit", 200, sfb.getLoggingSizeLimit());