Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 15
- Log:
Attempt to update Typo to a Typo SVN HEAD release from around the
time the prototype installation was set up on the RISC OS Open Limited
web site. Timestamps place this at 04-Jul so a revision from 05-Jul or
earlier was pulled and copied over the 2.6.0 tarball stable code.
- Author:
- adh
- Date:
- Sat Jul 22 23:27:35 +0100 2006
- Size:
- 2670 Bytes
1 | require File.dirname(__FILE__) + '/../test_helper' |
2 | |
3 | class DeliciousTest < Test::Unit::TestCase |
4 | |
5 | def setup |
6 | @delicious = Delicious.new("", false) |
7 | @delicious.send(:parse, fixture) |
8 | end |
9 | |
10 | def test_parser |
11 | assert_equal 3, @delicious.items.size |
12 | end |
13 | |
14 | def test_fields |
15 | assert_equal "del.icio.us/shanev", @delicious.title |
16 | assert_equal "http://del.icio.us/shanev", @delicious.link |
17 | end |
18 | |
19 | def test_items |
20 | assert_equal "Guide to Using XMLHttpRequest (with Baby Steps)", @delicious.items[0].title |
21 | assert_equal "http://www.webpasties.com/xmlHttpRequest/", @delicious.items[0].link |
22 | end |
23 | |
24 | private |
25 | |
26 | def fixture |
27 | %{<?xml version="1.0" encoding="UTF-8"?> |
28 | <rdf:RDF |
29 | xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
30 | xmlns="http://purl.org/rss/1.0/" |
31 | xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" |
32 | xmlns:dc="http://purl.org/dc/elements/1.1/" |
33 | xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" |
34 | xmlns:admin="http://webns.net/mvcb/" |
35 | > |
36 | |
37 | <channel rdf:about="http://del.icio.us/shanev"> |
38 | <title>del.icio.us/shanev</title> |
39 | <link>http://del.icio.us/shanev</link> |
40 | <description></description> |
41 | <items> |
42 | <rdf:Seq> |
43 | <rdf:li rdf:resource="http://www.webpasties.com/xmlHttpRequest/" /> |
44 | <rdf:li rdf:resource="http://www.w3schools.com/js/default.asp" /> |
45 | |
46 | <rdf:li rdf:resource="http://www.feedfab.com/xmljs/" /> |
47 | </rdf:Seq> |
48 | </items> |
49 | </channel> |
50 | |
51 | <item rdf:about="http://www.webpasties.com/xmlHttpRequest/"> |
52 | <title>Guide to Using XMLHttpRequest (with Baby Steps)</title> |
53 | <link>http://www.webpasties.com/xmlHttpRequest/</link> |
54 | <dc:creator>shanev</dc:creator> |
55 | <dc:date>2005-02-24T07:11Z</dc:date> |
56 | <dc:subject>XMLHTTPRequest</dc:subject> |
57 | |
58 | <taxo:topics> |
59 | <rdf:Bag> |
60 | <rdf:li resource="http://del.icio.us/tag/XMLHTTPRequest" /> |
61 | </rdf:Bag> |
62 | </taxo:topics> |
63 | </item> |
64 | |
65 | <item rdf:about="http://www.w3schools.com/js/default.asp"> |
66 | <title>W3 Schools Javascript Tutorial</title> |
67 | <link>http://www.w3schools.com/js/default.asp</link> |
68 | <dc:creator>shanev</dc:creator> |
69 | |
70 | <dc:date>2005-02-24T04:03Z</dc:date> |
71 | <dc:subject>javascript</dc:subject> |
72 | <taxo:topics> |
73 | <rdf:Bag> |
74 | <rdf:li resource="http://del.icio.us/tag/javascript" /> |
75 | </rdf:Bag> |
76 | </taxo:topics> |
77 | </item> |
78 | |
79 | <item rdf:about="http://www.feedfab.com/xmljs/"> |
80 | <title>XMLHTTPRequest Library</title> |
81 | |
82 | <link>http://www.feedfab.com/xmljs/</link> |
83 | <dc:creator>shanev</dc:creator> |
84 | <dc:date>2005-02-22T21:36Z</dc:date> |
85 | <dc:subject>XMLHTTPRequest</dc:subject> |
86 | <taxo:topics> |
87 | <rdf:Bag> |
88 | <rdf:li resource="http://del.icio.us/tag/XMLHTTPRequest" /> |
89 | </rdf:Bag> |
90 | </taxo:topics> |
91 | </item> |
92 | |
93 | </rdf:RDF> |
94 | } |
95 | end |
96 | end |