source: ComponentRegistry/branches/ComponentRegistry-1.13.0-olha/ComponentRegistry/src/test/java/clarin/cmdi/componentregistry/RssCreatorTest.java @ 2150

Last change on this file since 2150 was 2150, checked in by olhsha, 12 years ago

key stuff for fixing tickets 50 and 180 is discussed and coded

File size: 1.1 KB
Line 
1/*
2 * To change this template, choose Tools | Templates
3 * and open the template in the editor.
4 */
5package clarin.cmdi.componentregistry;
6
7import clarin.cmdi.componentregistry.rss.RssItem;
8import org.junit.After;
9import org.junit.AfterClass;
10import org.junit.Before;
11import org.junit.BeforeClass;
12import org.junit.Test;
13import static org.junit.Assert.*;
14
15/**
16 *
17 * @author olhsha
18 */
19public class RssCreatorTest {
20   
21    public RssCreatorTest() {
22    }
23   
24    @BeforeClass
25    public static void setUpClass() {
26    }
27   
28    @AfterClass
29    public static void tearDownClass() {
30    }
31   
32    @Before
33    public void setUp() {
34    }
35   
36    @After
37    public void tearDown() {
38    }
39
40    /**
41     * Test of toRssItem method, of class RssCreator.
42     */
43    @Test
44    public void nullTestToRssItem() {
45        System.out.println("toRssItem");
46        RssCreator instance = new RssCreator(null);
47        RssItem expResult = null;
48        RssItem result = instance.toRssItem();
49        assertEquals(expResult, result);
50        // TODO review the generated test code and remove the default call to fail.
51        // fail("The test case is a prototype.");
52    }
53}
Note: See TracBrowser for help on using the repository browser.