1
2
3
4
5
6
7 package com.sun.syndication.unittest;
8
9 import com.sun.syndication.feed.module.DCModuleI;
10 import com.sun.syndication.feed.synd.SyndEntryI;
11
12 import java.util.List;
13
14
15 /***
16 * @author pat
17 *
18 * TODO To change the template for this generated type comment go to
19 * Window - Preferences - Java - Code Generation - Code and Comments
20 */
21 public class TestSyndFeedRSS10_DC_Sy_Channel extends SyndFeedRSS10_DC_Sy_CommonTest {
22
23 public TestSyndFeedRSS10_DC_Sy_Channel() {
24 super("channel");
25 }
26
27 protected DCModuleI getDCModule() throws Exception {
28 List entryList = getCachedSyndFeed().getEntries();
29 SyndEntryI entry = (SyndEntryI) entryList.get(0);
30 return (DCModuleI) entry.getModule(DCModuleI.URI);
31 }
32
33 }