01: /*
02: * Created on Jun 24, 2004
03: *
04: */
05: package com.sun.syndication.unittest;
06:
07: import com.sun.syndication.feed.synd.SyndEntry;
08:
09: import java.util.List;
10:
11: /**
12: * @author pat
13: *
14: */
15: public class TestSyndFeedRSS094 extends TestSyndFeedRSS093 {
16:
17: public TestSyndFeedRSS094() {
18: super ("rss_0.94");
19: }
20:
21: protected TestSyndFeedRSS094(String type) {
22: super (type);
23: }
24:
25: protected TestSyndFeedRSS094(String feedType, String feedFileName) {
26: super (feedType, feedFileName);
27: }
28:
29: public void testCategories() throws Exception {
30: _testCategories(getCachedSyndFeed().getCategories(), "channel");
31: }
32:
33: protected void _testItem(int i) throws Exception {
34: super ._testItem(i);
35: List items = getCachedSyndFeed().getEntries();
36: SyndEntry entry = (SyndEntry) items.get(i);
37:
38: assertProperty(entry.getAuthor(), "channel.item[" + i
39: + "].author");
40: }
41:
42: protected void _testDescriptionType(SyndEntry entry, int i)
43: throws Exception {
44: }
45:
46: }
|