wink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject svn commit: r1029672 - /incubator/wink/trunk/wink-itests/wink-itest/wink-itest-client/src/test/java/org/apache/wink/itest/client/NoAcceptHeaderHandlerTest.java
Date Mon, 01 Nov 2010 14:10:50 GMT
Author: bluk
Date: Mon Nov  1 14:10:50 2010
New Revision: 1029672

URL: http://svn.apache.org/viewvc?rev=1029672&view=rev
Log:
Correct changed error message in test

Modified:
    incubator/wink/trunk/wink-itests/wink-itest/wink-itest-client/src/test/java/org/apache/wink/itest/client/NoAcceptHeaderHandlerTest.java

Modified: incubator/wink/trunk/wink-itests/wink-itest/wink-itest-client/src/test/java/org/apache/wink/itest/client/NoAcceptHeaderHandlerTest.java
URL: http://svn.apache.org/viewvc/incubator/wink/trunk/wink-itests/wink-itest/wink-itest-client/src/test/java/org/apache/wink/itest/client/NoAcceptHeaderHandlerTest.java?rev=1029672&r1=1029671&r2=1029672&view=diff
==============================================================================
--- incubator/wink/trunk/wink-itests/wink-itest/wink-itest-client/src/test/java/org/apache/wink/itest/client/NoAcceptHeaderHandlerTest.java
(original)
+++ incubator/wink/trunk/wink-itests/wink-itest/wink-itest-client/src/test/java/org/apache/wink/itest/client/NoAcceptHeaderHandlerTest.java
Mon Nov  1 14:10:50 2010
@@ -145,7 +145,7 @@ public class NoAcceptHeaderHandlerTest e
         } catch (RuntimeException e) {
             assertEquals(e.getMessage(),
                          String
-                             .format("No javax.ws.rs.ext.MessageBodyReader found for type
class %s and media type %s.  Verify that all entity providers are correctly registered.",
+                             .format("A javax.ws.rs.ext.MessageBodyReader implementation
was not found for class %s type and %s media type.  Verify that all entity providers are correctly
registered.  Add a custom javax.ws.rs.ext.MessageBodyReader provider to handle the type and
media type if a JAX-RS entity provider does not currently exist.",
                                      Echo.class.getName(),
                                      MediaType.TEXT_PLAIN));
         }
@@ -166,7 +166,7 @@ public class NoAcceptHeaderHandlerTest e
             e.printStackTrace();
             assertEquals(e.getMessage(),
                          String
-                             .format("No javax.ws.rs.ext.MessageBodyReader found for type
class %s and media type %s.  Verify that all entity providers are correctly registered.",
+                             .format("A javax.ws.rs.ext.MessageBodyReader implementation
was not found for class %s type and %s media type.  Verify that all entity providers are correctly
registered.  Add a custom javax.ws.rs.ext.MessageBodyReader provider to handle the type and
media type if a JAX-RS entity provider does not currently exist.",
                                      JSONObject.class.getName(),
                                      MediaType.TEXT_PLAIN));
         }



Mime
View raw message