create changelog entry
[debian/openrocket] / core / test / net / sf / openrocket / preset / xml / OpenRocketComponentSaverTest.java
1 package net.sf.openrocket.preset.xml;
2
3 import org.junit.After;
4 import org.junit.Before;
5 import org.junit.Test;
6
7 /**
8 * OpenRocketComponentSaver Tester.
9 *
10 */
11 public class OpenRocketComponentSaverTest {
12
13     @Before
14     public void before() throws Exception {
15     }
16
17     @After
18     public void after() throws Exception {
19     }
20
21     /**
22      *
23      * Method: marshalToOpenRocketComponent(List<Material> theMaterialList, List<ComponentPreset> thePresetList)
24      *
25      */
26     @Test
27     public void testMarshalToOpenRocketComponent() throws Exception {
28         //TODO: Test goes here...
29     }
30
31     /**
32      *
33      * Method: unmarshalFromOpenRocketComponent(Reader is)
34      *
35      */
36     @Test
37     public void testUnmarshalFromOpenRocketComponent() throws Exception {
38         //TODO: Test goes here...
39     }
40
41     /**
42      *
43      * Method: save(OutputStream dest, List<Material> theMaterialList, List<ComponentPreset> thePresetList)
44      *
45      */
46     @Test
47     public void testSave() throws Exception {
48         //TODO: Test goes here...
49     }
50
51
52     /**
53      *
54      * Method: fromOpenRocketComponent(Reader is)
55      *
56      */
57     @Test
58     public void testFromOpenRocketComponent() throws Exception {
59         //TODO: Test goes here...
60 /*
61 try {
62    Method method = OpenRocketComponentSaver.getClass().getMethod("fromOpenRocketComponent", Reader.class);
63    method.setAccessible(true);
64    method.invoke(<Object>, <Parameters>);
65 } catch(NoSuchMethodException e) {
66 } catch(IllegalAccessException e) {
67 } catch(InvocationTargetException e) {
68 }
69 */
70     }
71
72     /**
73      *
74      * Method: toOpenRocketComponentDTO(List<Material> theMaterialList, List<ComponentPreset> thePresetList)
75      *
76      */
77     @Test
78     public void testToOpenRocketComponentDTO() throws Exception {
79         //TODO: Test goes here...
80 /*
81 try {
82    Method method = OpenRocketComponentSaver.getClass().getMethod("toOpenRocketComponentDTO", List<Material>.class, List<ComponentPreset>.class);
83    method.setAccessible(true);
84    method.invoke(<Object>, <Parameters>);
85 } catch(NoSuchMethodException e) {
86 } catch(IllegalAccessException e) {
87 } catch(InvocationTargetException e) {
88 }
89 */
90     }
91
92     /**
93      *
94      * Method: toComponentDTO(ComponentPreset thePreset)
95      *
96      */
97     @Test
98     public void testToComponentDTO() throws Exception {
99         //TODO: Test goes here...
100 /*
101 try {
102    Method method = OpenRocketComponentSaver.getClass().getMethod("toComponentDTO", ComponentPreset.class);
103    method.setAccessible(true);
104    method.invoke(<Object>, <Parameters>);
105 } catch(NoSuchMethodException e) {
106 } catch(IllegalAccessException e) {
107 } catch(InvocationTargetException e) {
108 }
109 */
110     }
111
112 }