camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject svn commit: r742856 - /camel/trunk/components/camel-restlet/src/test/java/org/apache/camel/component/restlet/RestletQueryTest.java
Date Tue, 10 Feb 2009 05:31:22 GMT
Author: wtam
Date: Tue Feb 10 05:31:20 2009
New Revision: 742856

URL: http://svn.apache.org/viewvc?rev=742856&view=rev
Log:
[CAMEL-1329] fixed broken test

Modified:
    camel/trunk/components/camel-restlet/src/test/java/org/apache/camel/component/restlet/RestletQueryTest.java

Modified: camel/trunk/components/camel-restlet/src/test/java/org/apache/camel/component/restlet/RestletQueryTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-restlet/src/test/java/org/apache/camel/component/restlet/RestletQueryTest.java?rev=742856&r1=742855&r2=742856&view=diff
==============================================================================
--- camel/trunk/components/camel-restlet/src/test/java/org/apache/camel/component/restlet/RestletQueryTest.java
(original)
+++ camel/trunk/components/camel-restlet/src/test/java/org/apache/camel/component/restlet/RestletQueryTest.java
Tue Feb 10 05:31:20 2009
@@ -49,8 +49,8 @@
     class SetUserProcessor implements Processor {
 
         public void process(Exchange exchange) throws Exception {   
-            assertEquals(QUERY_STRING, 
-                    exchange.getProperty(RestletConstants.QUERY_STRING, String.class));
+            assertEquals(QUERY_STRING, exchange.getIn().getHeader(RestletConstants.QUERY_STRING,

+                    String.class));
         }
         
     }



Mime
View raw message