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 | */ |
---|
5 | package clarin.cmdi.componentregistry; |
---|
6 | |
---|
7 | import clarin.cmdi.componentregistry.rss.RssItem; |
---|
8 | import org.junit.After; |
---|
9 | import org.junit.AfterClass; |
---|
10 | import org.junit.Before; |
---|
11 | import org.junit.BeforeClass; |
---|
12 | import org.junit.Test; |
---|
13 | import static org.junit.Assert.*; |
---|
14 | |
---|
15 | /** |
---|
16 | * |
---|
17 | * @author olhsha |
---|
18 | */ |
---|
19 | public 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.