1 |
1..2646 |
2 |
# Running under perl version 5.010000 for linux |
3 |
# Current time local: Sat Dec 6 19:04:08 2008 |
4 |
# Current time GMT: Sat Dec 6 10:04:08 2008 |
5 |
# Using Test.pm version 1.25 |
6 |
# t/content-model-atom-1.dat |
7 |
ok 1 |
8 |
ok 2 |
9 |
ok 3 |
10 |
ok 4 |
11 |
ok 5 |
12 |
ok 6 |
13 |
ok 7 |
14 |
ok 8 |
15 |
ok 9 |
16 |
ok 10 |
17 |
ok 11 |
18 |
ok 12 |
19 |
ok 13 |
20 |
ok 14 |
21 |
ok 15 |
22 |
ok 16 |
23 |
ok 17 |
24 |
ok 18 |
25 |
ok 19 |
26 |
ok 20 |
27 |
ok 21 |
28 |
ok 22 |
29 |
ok 23 |
30 |
ok 24 |
31 |
ok 25 |
32 |
ok 26 |
33 |
ok 27 |
34 |
ok 28 |
35 |
ok 29 |
36 |
ok 30 |
37 |
ok 31 |
38 |
ok 32 |
39 |
ok 33 |
40 |
ok 34 |
41 |
ok 35 |
42 |
ok 36 |
43 |
ok 37 |
44 |
ok 38 |
45 |
ok 39 |
46 |
ok 40 |
47 |
ok 41 |
48 |
ok 42 |
49 |
ok 43 |
50 |
ok 44 |
51 |
ok 45 |
52 |
ok 46 |
53 |
not ok 47 |
54 |
# Test 47 got: "/entry/content/@type;IMT:unknown subtype;u\n/entry/content;atom|content not supported;image/png;u\n/entry;child element missing:atom;summary;m" (t/content-checker.pl at line 68 fail #47) |
55 |
# Expected: "/entry/content;atom|content not supported;image/png;u\n/entry;child element missing:atom;summary;m" (<entry xmlns="http://www.w3.org/2005/Atom"> |
56 |
#<id>about:</id> |
57 |
#<author><name>x</name></author> |
58 |
#<link rel="alternate" href=""/> |
59 |
#<updated>2000-01-02T03:04:05Z</updated> |
60 |
#<title>x</title> |
61 |
#<content type="image/png"/> |
62 |
#</entry>) |
63 |
not ok 48 |
64 |
# Test 48 got: "/entry/content/@type;IMT:composite;m\n/entry/content/@type;IMT:unknown subtype;u\n/entry/content;atom|content not supported;message/rfc822;u\n/entry;child element missing:atom;summary;m" (t/content-checker.pl at line 68 fail #48) |
65 |
# Expected: "/entry/content/@type;IMT:composite;m\n/entry/content;atom|content not supported;image/png;u\n/entry;child element missing:atom;summary;m" (<entry xmlns="http://www.w3.org/2005/Atom"> |
66 |
#<id>about:</id> |
67 |
#<author><name>x</name></author> |
68 |
#<link rel="alternate" href=""/> |
69 |
#<updated>2000-01-02T03:04:05Z</updated> |
70 |
#<title>x</title> |
71 |
#<content type="message/rfc822"/> |
72 |
#</entry>) |
73 |
ok 49 |
74 |
ok 50 |
75 |
ok 51 |
76 |
# t/content-model-atom-2.dat |
77 |
ok 52 |
78 |
ok 53 |
79 |
ok 54 |
80 |
ok 55 |
81 |
ok 56 |
82 |
ok 57 |
83 |
ok 58 |
84 |
ok 59 |
85 |
ok 60 |
86 |
ok 61 |
87 |
ok 62 |
88 |
ok 63 |
89 |
ok 64 |
90 |
ok 65 |
91 |
ok 66 |
92 |
ok 67 |
93 |
ok 68 |
94 |
ok 69 |
95 |
ok 70 |
96 |
ok 71 |
97 |
ok 72 |
98 |
ok 73 |
99 |
ok 74 |
100 |
ok 75 |
101 |
# t/content-model-atom-threading-1.dat |
102 |
not ok 76 |
103 |
# Test 76 got: "/feed/entry/in-reply-to/@type;IMT:unknown subtype;u\n/feed/entry/link/@type;IMT:unknown subtype;u\n/feed;element missing:atom:link:self;s" (t/content-checker.pl at line 68 fail #76) |
104 |
# Expected: "/feed;child element missing:atom:link:self;s" (<!-- From RFC 4685 --> |
105 |
# <feed xmlns="http://www.w3.org/2005/Atom" |
106 |
# xmlns:thr="http://purl.org/syndication/thread/1.0"> |
107 |
# <id>http://www.example.org/myfeed</id> |
108 |
# <title>My Example Feed</title> |
109 |
# <updated>2005-07-28T12:00:00Z</updated> |
110 |
# <link href="http://www.example.org/myfeed" /> |
111 |
# <author><name>James</name></author> |
112 |
# <entry> |
113 |
# <id>tag:example.org,2005:1</id> |
114 |
# <title>My original entry</title> |
115 |
# <updated>2006-03-01T12:12:12Z</updated> |
116 |
# <link |
117 |
# type="application/xhtml+xml" |
118 |
# href="http://www.example.org/entries/1" /> |
119 |
# <summary>This is my original entry</summary> |
120 |
# </entry> |
121 |
# <entry> |
122 |
# <id>tag:example.org,2005:1,1</id> |
123 |
# <title>A response to the original</title> |
124 |
# <updated>2006-03-01T12:12:12Z</updated> |
125 |
# <link href="http://www.example.org/entries/1/1" /> |
126 |
# <thr:in-reply-to |
127 |
# ref="tag:example.org,2005:1" |
128 |
# type="application/xhtml+xml" |
129 |
# href="http://www.example.org/entries/1"/> |
130 |
# <summary>This is a response to the original entry</summary> |
131 |
# </entry> |
132 |
# </feed>) |
133 |
not ok 77 |
134 |
# Test 77 got: "/feed/entry/in-reply-to/@type;IMT:unknown subtype;u\n/feed/entry/link/@type;IMT:unknown subtype;u\n/feed;element missing:atom:link:self;s" (t/content-checker.pl at line 68 fail #77) |
135 |
# Expected: "/feed;child element missing:atom:link:self;s" (<!-- From RFC 4685 --> |
136 |
# <feed xmlns="http://www.w3.org/2005/Atom" |
137 |
# xmlns:thr="http://purl.org/syndication/thread/1.0"> |
138 |
# <id>http://www.example.org/myfeed</id> |
139 |
# <title>My Example Feed</title> |
140 |
# <updated>2005-07-28T12:00:00Z</updated> |
141 |
# <link href="http://www.example.org/myfeed" /> |
142 |
# <author><name>James</name></author> |
143 |
# <entry> |
144 |
# <id>tag:example.org,2005:1,1</id> |
145 |
# <title>A response to the original</title> |
146 |
# <updated>2006-03-01T12:12:12Z</updated> |
147 |
# <link href="http://www.example.org/entries/1/1" /> |
148 |
# <thr:in-reply-to |
149 |
# ref="tag:example.org,2005:1,0" |
150 |
# type="application/xhtml+xml" |
151 |
# href="http://www.example.org/entries/1" |
152 |
# source="http://www.example.org/myfeed" /> |
153 |
# <link |
154 |
# rel="related" |
155 |
# type="application/xhtml+xml" |
156 |
# href="http://www.example.org/entries/1" /> |
157 |
# <summary>This is a response to the original entry</summary> |
158 |
# </entry> |
159 |
# </feed>) |
160 |
ok 78 |
161 |
ok 79 |
162 |
ok 80 |
163 |
ok 81 |
164 |
ok 82 |
165 |
ok 83 |
166 |
ok 84 |
167 |
ok 85 |
168 |
ok 86 |
169 |
ok 87 |
170 |
ok 88 |
171 |
ok 89 |
172 |
ok 90 |
173 |
ok 91 |