From 1e51de46ec10fe06598ae0dd5fa3be9fa715e3e8 Mon Sep 17 00:00:00 2001
From: lnu
Date: Thu, 15 Sep 2005 07:58:14 +0000
Subject: tests for unescaped html
git-svn-id: svn+ssh://svn.gna.org/svn/feed2imap/trunk/feed2imap@60 f70e237a-67f3-0310-a06c-d2b8a7116972
---
test/parserdata/bmc_escapedhtml.output | 25 +++++++++++++++++++++++++
test/parserdata/bmc_escapedhtml.xml | 24 ++++++++++++------------
test/parserdata/gnomefr_escapedhtml.output | 27 +++++++++++++++++++++++++++
3 files changed, 64 insertions(+), 12 deletions(-)
create mode 100644 test/parserdata/bmc_escapedhtml.output
create mode 100644 test/parserdata/gnomefr_escapedhtml.output
(limited to 'test/parserdata')
diff --git a/test/parserdata/bmc_escapedhtml.output b/test/parserdata/bmc_escapedhtml.output
new file mode 100644
index 0000000..8e3b998
--- /dev/null
+++ b/test/parserdata/bmc_escapedhtml.output
@@ -0,0 +1,25 @@
+Title: The Observation Deck
+Link: http://blogs.sun.com/roller/page/bmc
+
+--------------------------------
+Title: TR35
+Link: http://blogs.sun.com/roller/page/bmc?entry=tr35
+Date: Fri Sep 09 19:50:11 CEST 2005
+Creator: Bryan Cantrill
+Subject:
+Category: Solaris
+Content:
+So MIT's
+http://www.techreview.com/">Technology Review has named me as one of their
+http://www.technologyreview.com/articles/05/10/issue/feature_tr35.asp">TR35 -- the top 35 innovators under the age of thirty-five. It's a great honor, especially because the other
+honorees are actually working on things like
+http://www.wi.mit.edu/research/fellows/brummelkamp.html">cures for cancer
+and
+http://www.pw.utc.com/shock-system/popsci.html">rocket science -- domains
+that I have known only as rhetorical flourish.
+Should you like to hear me make a jackass out of myself on the subject, you might
+want to check out
+http://blogs.sun.com/roller/page/rgiles">Richard Giles's
+http://blogs.sun.com/roller/page/rgiles?entry=i_o_podcast_0003_bryan">latest I/O podcast,
+in which he interviewed me about the award.
+
diff --git a/test/parserdata/bmc_escapedhtml.xml b/test/parserdata/bmc_escapedhtml.xml
index bc52c58..0548011 100644
--- a/test/parserdata/bmc_escapedhtml.xml
+++ b/test/parserdata/bmc_escapedhtml.xml
@@ -10,18 +10,18 @@
Roller Weblogger 1.3 (20050824125848:ag92114)
-
TR35
- So MIT's
-<a href="http://www.techreview.com/">Technology Review</a> has named me as one of their
-<a href="http://www.technologyreview.com/articles/05/10/issue/feature_tr35.asp">TR35</a> -- the top 35 innovators under the age of thirty-five. It's a great honor, especially because the other
-honorees are <i>actually</i> working on things like
-<a href="http://www.wi.mit.edu/research/fellows/brummelkamp.html">cures for cancer</a>
-and
-<a href="http://www.pw.utc.com/shock-system/popsci.html">rocket science</a> -- domains
-that I have known only as rhetorical flourish.
-Should you like to hear me make a jackass out of myself on the subject, you might
-want to check out
-<a href="http://blogs.sun.com/roller/page/rgiles">Richard Giles</a>'s
-<a href="http://blogs.sun.com/roller/page/rgiles?entry=i_o_podcast_0003_bryan">latest I/O podcast</a>,
+ So MIT's
+<a href="http://www.techreview.com/">Technology Review</a> has named me as one of their
+<a href="http://www.technologyreview.com/articles/05/10/issue/feature_tr35.asp">TR35</a> -- the top 35 innovators under the age of thirty-five. It's a great honor, especially because the other
+honorees are <i>actually</i> working on things like
+<a href="http://www.wi.mit.edu/research/fellows/brummelkamp.html">cures for cancer</a>
+and
+<a href="http://www.pw.utc.com/shock-system/popsci.html">rocket science</a> -- domains
+that I have known only as rhetorical flourish.
+Should you like to hear me make a jackass out of myself on the subject, you might
+want to check out
+<a href="http://blogs.sun.com/roller/page/rgiles">Richard Giles</a>'s
+<a href="http://blogs.sun.com/roller/page/rgiles?entry=i_o_podcast_0003_bryan">latest I/O podcast</a>,
in which he interviewed me about the award.
Solaris
diff --git a/test/parserdata/gnomefr_escapedhtml.output b/test/parserdata/gnomefr_escapedhtml.output
new file mode 100644
index 0000000..36c001c
--- /dev/null
+++ b/test/parserdata/gnomefr_escapedhtml.output
@@ -0,0 +1,27 @@
+Title: Plančte GNOME-FR
+Link: http://planete.gnomefr.org/
+
+--------------------------------
+Title: Vincent Noel: I might need some supplies
+Link: http://members.cox.net/vnoel/weblog/2005/09/i-might-need-some-supplies.html
+Date: Wed Sep 14 22:21:47 CEST 2005
+Creator:
+Subject:
+Category:
+Content:
+
How are you supposed to trust these guys ?
http://members.cox.net/vnoel/weblog/uploaded_images/Screenshot-Flight%20Details-798819.png" />
+
+--------------------------------
+Title: Vincent Noel: nautilus and gworkspace
+Link: http://members.cox.net/vnoel/weblog/2005/09/nautilus-and-gworkspace.html
+Date: Wed Sep 14 21:15:01 CEST 2005
+Creator:
+Subject:
+Category:
+Content:
+Is it my imagination or is nautilus, with every release, getting closer to the interface of
GWorkspace ?
+
+
+
+
+
Everything is there : the "places" (vertical in nautilus and horizontal in GWorkspace), the path bar (thankfully scaled down, but the idea is the same), the icon/list views... Of course, I guess inspiration mostly comes from the MacOS X rework of GWorkspace, but it's weird to think that this UI has been there for years, just waiting for somebody to pimp it up.
Now there is just the
column view left to implement, and we'll be at 1:1 features ratio (although with good drag-n-drop management the current path bar could replace that view in most of the cases).
--
cgit v1.2.3-70-g09d2