1   /*
2    * Created on Jun 24, 2004
3    *
4    */
5   package com.sun.syndication.unittest;
6   
7   import com.sun.syndication.feed.synd.SyndEntry;
8   
9   import java.util.List;
10  
11  
12  /***
13   * @author pat
14   *
15   */
16  public class TestSyndFeedRSS10 extends TestSyndFeedRSS090 {
17  
18  	public TestSyndFeedRSS10() {
19  		super("rss_1.0");
20  	}
21  
22      protected TestSyndFeedRSS10(String type) {
23          super(type);
24      }
25  
26      protected TestSyndFeedRSS10(String feedType,String feedFileName) {
27          super(feedType,feedFileName);
28      }
29  
30      protected void _testItem(int i) throws Exception {
31          super._testItem(i);
32          List items = getCachedSyndFeed().getEntries();
33          SyndEntry entry = (SyndEntry) items.get(i);
34          assertProperty(entry.getDescription().getValue(),"item["+i+"].description");
35      }
36  
37  }