abdera-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Garrett Rooney" <roo...@electricjellyfish.net>
Subject [PATCH] Move feedparser data files into the tree
Date Tue, 20 Jun 2006 15:03:08 GMT
This patch moves the feedparser xml files into the tree, instead of
fetching them from http://www.feedparser.org/ at runtime.  It also
adds the appropriate NOTICE and LICENSE entries for the files.


Stop fetching feedparser xml files from feedparser.org at test time.

* NOTICE: Note presence of software from feedparser.

* LICENSE: Add the feedparser license for their data files.

* build/build.xml
  (compile.parser): Copy feedparser files into test tree.

* parser/src/test/java/org/apache/abdera/test/parser/stax/FeedParserTest.java
  Remove import of java.net.URI.
  (get): Removed.
  (parse): New method.
  (setUp): Removed.
  (testAtom10Namespace, testEntryAuthorEmail,
   testEntryAuthorName, testEntryContentBase64,
   testEntryContentBase642): Use parse, not get.

* parser/src/test/resources/feedparser/entry_content_base64_2.xml: New file.
* parser/src/test/resources/feedparser/entry_author_name.xml: Ditto.
* parser/src/test/resources/feedparser/entry_author_email.xml: Ditto.
* parser/src/test/resources/feedparser/atom10_namespace.xml: Ditto.
* parser/src/test/resources/feedparser/entry_content_base64.xml: Ditto.

View raw message