Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 50923 invoked from network); 3 Sep 2007 13:49:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Sep 2007 13:49:11 -0000 Received: (qmail 42113 invoked by uid 500); 3 Sep 2007 13:49:06 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 41731 invoked by uid 500); 3 Sep 2007 13:49:05 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 41720 invoked by uid 99); 3 Sep 2007 13:49:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Sep 2007 06:49:05 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ats37@hotmail.com designates 65.54.246.77 as permitted sender) Received: from [65.54.246.77] (HELO bay0-omc1-s5.bay0.hotmail.com) (65.54.246.77) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Sep 2007 13:50:10 +0000 Received: from BAY121-W27 ([207.46.10.62]) by bay0-omc1-s5.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 3 Sep 2007 06:48:36 -0700 Message-ID: X-Originating-IP: [193.108.78.10] From: Andrew Stevens To: Subject: Unit testing readers Date: Mon, 3 Sep 2007 14:48:36 +0100 Importance: Normal Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 03 Sep 2007 13:48:36.0973 (UTC) FILETIME=[2084C9D0:01C7EE31] X-Virus-Checked: Checked by ClamAV on apache.org What's the easiest way to unit test a reader (and associated service=20 components & configuration)? I've been using SitemapComponentTestCase=20 no problems with other components types (actions, transformers, selectors)= =20 but it doesn't appear to contain a read() method. Andrew. --=20 http://pseudoq.sourceforge.net/ Open source java Sudoku application. _________________________________________________________________ The next generation of MSN Hotmail has arrived - Windows Live Hotmail http://www.newhotmail.co.uk=