abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Garrett Rooney" <roo...@electricjellyfish.net>
Subject Re: [PATCH] Refactor parser tests
Date Thu, 22 Jun 2006 22:55:58 GMT
On 6/22/06, Garrett Rooney <rooneg@electricjellyfish.net> 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

Mime
View raw message