Return-Path: Delivered-To: apmail-incubator-uima-user-archive@locus.apache.org Received: (qmail 71387 invoked from network); 31 Aug 2007 07:28:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 Aug 2007 07:28:34 -0000 Received: (qmail 12941 invoked by uid 500); 31 Aug 2007 07:28:30 -0000 Delivered-To: apmail-incubator-uima-user-archive@incubator.apache.org Received: (qmail 12910 invoked by uid 500); 31 Aug 2007 07:28:30 -0000 Mailing-List: contact uima-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: uima-user@incubator.apache.org Delivered-To: mailing list uima-user@incubator.apache.org Received: (qmail 12900 invoked by uid 99); 31 Aug 2007 07:28:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Aug 2007 00:28:30 -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 ro.franchini@gmail.com designates 64.233.182.186 as permitted sender) Received: from [64.233.182.186] (HELO nf-out-0910.google.com) (64.233.182.186) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Aug 2007 07:29:26 +0000 Received: by nf-out-0910.google.com with SMTP id h3so667137nfh for ; Fri, 31 Aug 2007 00:28:03 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=WFfrO12bAURk+5L3KOPqruR235ZvmnrPAVd9vdzbgOq3ZZqF2jL85TKqsA+/1RtilODDfKvcCjc7t/n45808QjS+2qsBOWYAselio+c5ZOl1OBhWVHEHjC+QRJ1CxPI8mpQKSwnRMGvmwWShDii/OJSuOuEyev9RCjNolO7Ts5Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=TUSrncins/lHYi5ItIy2Tjnhxj9rbpW6g8hHFJj37n7l+k1zdnsE6UQSkgY3Hv988e1zYImIA1H9mtJqjc6Ogu6Us5D0yGy0TNPPOsG3UFGIrKMTHHjD6hNEe3e7gDKeXge+QZXY+egQbzd7OIue70wOFObi735di6BHhZ/7Boo= Received: by 10.78.177.3 with SMTP id z3mr975362hue.1188545282914; Fri, 31 Aug 2007 00:28:02 -0700 (PDT) Received: by 10.78.106.11 with HTTP; Fri, 31 Aug 2007 00:28:02 -0700 (PDT) Message-ID: <63e2e4460708310028v27ee65e3id1edc47c5064ee19@mail.gmail.com> Date: Fri, 31 Aug 2007 09:28:02 +0200 From: "Roberto Franchini" To: uima-user@incubator.apache.org Subject: Re: How to test a CollectionReader In-Reply-To: <46D7195D.8070206@schor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <63e2e4460708290750x51c10630m6a3703ff137643c9@mail.gmail.com> <46D627D9.50302@schor.com> <63e2e4460708300241k18a34952y1c7f776d09f1ecd4@mail.gmail.com> <46D7195D.8070206@schor.com> X-Virus-Checked: Checked by ClamAV on apache.org On 8/30/07, Marshall Schor wrote: > Hi Roberto - > > After some tracing and tracking down, it seems the method you were using > to create your CAS pool > needs an additional statement. Here's the original, which unfortunately > doesn't set up the type system > from the Collection Reader into the CASes (normally this isn't a > problem, because this happens elsewhere > in the setup to use a collection reader within a CPE): [cut] Thanks a lot, now it works! I was on the right path, but I didn't find a way to set the type system. Maybe it could be usefull for others to include the test in further uima releases. I know, testing a FS collection reader seems silly, but we are going to implement collection readers for other sources, such as net and databases.I think good tests will help us write better code. Regards, Roberto -- Roberto Franchini CELI s.r.l. (http://www.celi.it) - C.so Moncalieri 21 - 10131 Torino - ITALY Tel +39-011-6600814 - Fax +39-011-6600687 jabber:ro.franchini@gmail.com skype:ro.franchini