Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 36291 invoked from network); 25 Aug 2005 19:16:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Aug 2005 19:16:38 -0000 Received: (qmail 5436 invoked by uid 500); 25 Aug 2005 19:16:35 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 5378 invoked by uid 500); 25 Aug 2005 19:16:35 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 5365 invoked by uid 500); 25 Aug 2005 19:16:34 -0000 Received: (qmail 5358 invoked by uid 99); 25 Aug 2005 19:16:34 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 25 Aug 2005 12:16:34 -0700 Received: (qmail 36235 invoked by uid 65534); 25 Aug 2005 19:16:34 -0000 Message-ID: <20050825191634.36234.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r240122 - /jakarta/commons/proper/betwixt/trunk/src/test/org/apache/commons/betwixt/io/read/TestReadData.java Date: Thu, 25 Aug 2005 19:16:33 -0000 To: commons-cvs@jakarta.apache.org From: rdonkin@apache.org X-Mailer: svnmailer-1.0.3 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: rdonkin Date: Thu Aug 25 12:16:30 2005 New Revision: 240122 URL: http://svn.apache.org/viewcvs?rev=240122&view=rev Log: Improved test. Modified: jakarta/commons/proper/betwixt/trunk/src/test/org/apache/commons/betwixt/io/read/TestReadData.java Modified: jakarta/commons/proper/betwixt/trunk/src/test/org/apache/commons/betwixt/io/read/TestReadData.java URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/betwixt/trunk/src/test/org/apache/commons/betwixt/io/read/TestReadData.java?rev=240122&r1=240121&r2=240122&view=diff ============================================================================== --- jakarta/commons/proper/betwixt/trunk/src/test/org/apache/commons/betwixt/io/read/TestReadData.java (original) +++ jakarta/commons/proper/betwixt/trunk/src/test/org/apache/commons/betwixt/io/read/TestReadData.java Thu Aug 25 12:16:30 2005 @@ -91,6 +91,7 @@ reader.registerBeanClass("ale", Nested.class); reader.getXMLIntrospector().getConfiguration().setAttributesForPrimitives(true); Object out = reader.parse(in); + assertNotNull("Expected bean to be output", out); assertEquals("Expected bean to be of type Nested", "org.apache.commons.betwixt.io.read.TestReadData$Nested", out.getClass().getName()); Nested bean = (Nested) out; assertEquals("Expected name to be set", "Timothy Taylor", bean.getName()); --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org