summaryrefslogtreecommitdiffstats
path: root/comm/mailnews/extensions/newsblog/test/unit/resources/README.md
blob: df655769b03836be1b8849de9de9cea4979794cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Data files for unit testing the feeds code.

- `rss_7_1.rdf`
   Simple RSS1.0 feed example, from:
   https://www.w3.org/2000/10/rdf-tests/RSS_1.0/rss_7_1.rdf

- `rss_7_1_BORKED.rdf`
   Sabotaged version of `rss_7_1.rdf` with a bad
   <items> list, pointing to all sorts of URLs not
   represented as <item>s in the feed (see Bug 476641).

- `rss2_example.xml`
   RSS2.0 example from wikipedia, but with
   Japanese text in the title, with leading/trailing
   whitespace.

- `rss2_guid.xml`
   RSS2.0 feed where two items have the same link but different guid.
   (they should both appear in the feed).

- `feeds-*/`
  Test cases for migrating legacy .rdf config files to
  the new json ones. The .rdf files are the old data,
  and the .json files are the expected results.