cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r706631 - /cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/AegisProviderTest.java
Date Tue, 21 Oct 2008 14:03:05 GMT
Author: sergeyb
Date: Tue Oct 21 07:03:04 2008
New Revision: 706631

URL: http://svn.apache.org/viewvc?rev=706631&view=rev
Log:
JAX-RS : Enabling Aegis test

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

Modified: cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/AegisProviderTest.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/AegisProviderTest.java?rev=706631&r1=706630&r2=706631&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/AegisProviderTest.java
(original)
+++ cxf/trunk/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/provider/AegisProviderTest.java
Tue Oct 21 07:03:04 2008
@@ -49,12 +49,13 @@
         assertTrue(p.isReadable(AegisTestBean.class, null, null));
     }
     
-    @org.junit.Ignore
+    
+    @SuppressWarnings("unchecked")
     @Test
     public void testReadFrom() throws Exception {
         MessageBodyReader<Object> p = new AegisElementProvider();
         byte[] simpleBytes = SIMPLE_BEAN_XML.getBytes("utf-8");
-        Object beanObject = p.readFrom(Object.class, null, null, 
+        Object beanObject = p.readFrom((Class)AegisTestBean.class, null, null, 
                                           null, null, new ByteArrayInputStream(simpleBytes));
         AegisTestBean bean = (AegisTestBean) beanObject;
         assertEquals("hovercraft", bean.getStrValue());



Mime
View raw message