Return-Path: Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: (qmail 74488 invoked from network); 21 Oct 2008 14:03:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Oct 2008 14:03:56 -0000 Received: (qmail 87908 invoked by uid 500); 21 Oct 2008 14:03:58 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 87866 invoked by uid 500); 21 Oct 2008 14:03:58 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 87857 invoked by uid 99); 21 Oct 2008 14:03:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Oct 2008 07:03:58 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Oct 2008 14:02:56 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 872A22388961; Tue, 21 Oct 2008 07:03:05 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@cxf.apache.org From: sergeyb@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20081021140305.872A22388961@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 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());