camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r782993 - /camel/branches/camel-1.x/components/camel-restlet/src/test/java/org/apache/camel/component/restlet/RestletRouteBuilderAuthTest.java
Date Tue, 09 Jun 2009 13:17:09 GMT
Author: davsclaus
Date: Tue Jun  9 13:17:08 2009
New Revision: 782993

URL: http://svn.apache.org/viewvc?rev=782993&view=rev
Log:
Fixed NPE in unit test reported by TC.

Modified:
    camel/branches/camel-1.x/components/camel-restlet/src/test/java/org/apache/camel/component/restlet/RestletRouteBuilderAuthTest.java

Modified: camel/branches/camel-1.x/components/camel-restlet/src/test/java/org/apache/camel/component/restlet/RestletRouteBuilderAuthTest.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-1.x/components/camel-restlet/src/test/java/org/apache/camel/component/restlet/RestletRouteBuilderAuthTest.java?rev=782993&r1=782992&r2=782993&view=diff
==============================================================================
--- camel/branches/camel-1.x/components/camel-restlet/src/test/java/org/apache/camel/component/restlet/RestletRouteBuilderAuthTest.java
(original)
+++ camel/branches/camel-1.x/components/camel-restlet/src/test/java/org/apache/camel/component/restlet/RestletRouteBuilderAuthTest.java
Tue Jun  9 13:17:08 2009
@@ -50,6 +50,7 @@
         headers.put("id", "xyz");
         String response = (String) template.requestBodyAndHeaders("direct:start-auth", 
                 "<order foo='1'/>", headers);
+        assertNotNull("No response", response);
         assertTrue(response.contains("requires user authentication"));
     }
 



Mime
View raw message