cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1053119 - /cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/DataBindingProviderTest.java
Date Mon, 27 Dec 2010 18:11:09 GMT
Author: sergeyb
Date: Mon Dec 27 18:11:09 2010
New Revision: 1053119

URL: http://svn.apache.org/viewvc?rev=1053119&view=rev
Log:
[CXF-2626] Fixing typos in DataBindingProvider test; they do not affect the xmlbeans tests
though

Modified:
    cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/DataBindingProviderTest.java

Modified: cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/DataBindingProviderTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/DataBindingProviderTest.java?rev=1053119&r1=1053118&r2=1053119&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/DataBindingProviderTest.java
(original)
+++ cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/DataBindingProviderTest.java
Mon Dec 27 18:11:09 2010
@@ -65,7 +65,8 @@ public class DataBindingProviderTest ext
     public void setUp() throws InvalidPropertiesFormatException, IOException {
         c = ResourceUtils.createClassResourceInfo(TheBooks.class, TheBooks.class, true, true);
         c2 = ResourceUtils.createClassResourceInfo(TheSDOBooks.class, TheSDOBooks.class,
true, true);
-        c3 = ResourceUtils.createClassResourceInfo(TheSDOBooks.class, TheSDOBooks.class,
true, true);
+        c3 = ResourceUtils.createClassResourceInfo(TheXmlBeansBooks.class, 
+                                                   TheXmlBeansBooks.class, true, true);
         properties = new Properties();
         properties.loadFromXML(getClass().getResourceAsStream("jsonCases.xml"));
     }
@@ -256,7 +257,7 @@ public class DataBindingProviderTest ext
 
         @GET
         @Path("/books/{bookId}/{new}")
-        public Address getStructure() {
+        public Address getAddress() {
             return null;
         }
         



Mime
View raw message