Return-Path: Delivered-To: apmail-incubator-abdera-dev-archive@locus.apache.org Received: (qmail 72422 invoked from network); 22 Jun 2006 22:56:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Jun 2006 22:56:21 -0000 Received: (qmail 31096 invoked by uid 500); 22 Jun 2006 22:56:21 -0000 Delivered-To: apmail-incubator-abdera-dev-archive@incubator.apache.org Received: (qmail 31078 invoked by uid 500); 22 Jun 2006 22:56:21 -0000 Mailing-List: contact abdera-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: abdera-dev@incubator.apache.org Delivered-To: mailing list abdera-dev@incubator.apache.org Received: (qmail 31069 invoked by uid 99); 22 Jun 2006 22:56:21 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Jun 2006 15:56:21 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=RCVD_IN_BL_SPAMCOP_NET,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of rooneg@gmail.com designates 66.249.92.170 as permitted sender) Received: from [66.249.92.170] (HELO ug-out-1314.google.com) (66.249.92.170) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Jun 2006 15:56:20 -0700 Received: by ug-out-1314.google.com with SMTP id q2so55439uge for ; Thu, 22 Jun 2006 15:55:58 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=KcFJg12AwRKBoVPIwOvVcV1xhZooesj5jnJpptSMfj4f33XlnckLy5c8RlyTO3Gjl5Bi5zdvbzQVyAf3oD8kWLEfCNapiS/RMoDKUNuHj2COi4d3046wBPWG2b9WcJ0FadE65USp+eHBJUF5nPGeULtl+RpCX7FZhuZB+PoREzE= Received: by 10.78.177.3 with SMTP id z3mr1048813hue; Thu, 22 Jun 2006 15:55:58 -0700 (PDT) Received: by 10.78.81.7 with HTTP; Thu, 22 Jun 2006 15:55:58 -0700 (PDT) Message-ID: <7edfeeef0606221555odac507v8907480c7466a06e@mail.gmail.com> Date: Thu, 22 Jun 2006 18:55:58 -0400 From: "Garrett Rooney" Sender: rooneg@gmail.com To: abdera-dev@incubator.apache.org Subject: Re: [PATCH] Refactor parser tests In-Reply-To: <7edfeeef0606221552nacfaf2fq351793783e1916fc@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7edfeeef0606221552nacfaf2fq351793783e1916fc@mail.gmail.com> X-Google-Sender-Auth: 741e0a0d4f51c170 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 6/22/06, Garrett Rooney wrote: > [[[ > Move code for reading xml files off of disk into a common base class. > > [ in parser/src/java/org/apache/abdera/test/parser/stax ] > > * BaseParserTestCase.java: New file. > > * AtomConformanceTest.java > Extend BaseParserTestCase. > (parse): Removed. > (testContentTypes, testOrder, testLink): Don't call .toString() on our > URI. > > * FeedParserTest.java > Extend BaseParserTestCase. > (parse): Removed. > (baseURI): New member. > (setUp): New method, initializes baseURI. > (testAtom10Namespace, testEntryAuthorEmail, testEntryAuthorName, > testEntryContentBase64, testEntryContentBase642): Use our baseURI to > resolve the actual URI, and pass it to parse. > ]]] Oops, forgot the change to build.xml. This log should also include: * build/build.xml (compile.parser): Copy all the contents of the resource directory. -garrett