package net.sf.openrocket.preset.xml;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
/**
* OpenRocketComponentSaver Tester.
*
*/
public class OpenRocketComponentSaverTest {
@Before
public void before() throws Exception {
}
@After
public void after() throws Exception {
}
/**
*
* Method: marshalToOpenRocketComponent(List<Material> theMaterialList, List<ComponentPreset> thePresetList)
*
*/
@Test
public void testMarshalToOpenRocketComponent() throws Exception {
//TODO: Test goes here...
}
/**
*
* Method: unmarshalFromOpenRocketComponent(Reader is)
*
*/
@Test
public void testUnmarshalFromOpenRocketComponent() throws Exception {
//TODO: Test goes here...
}
/**
*
* Method: save(OutputStream dest, List<Material> theMaterialList, List<ComponentPreset> thePresetList)
*
*/
@Test
public void testSave() throws Exception {
//TODO: Test goes here...
}
/**
*
* Method: fromOpenRocketComponent(Reader is)
*
*/
@Test
public void testFromOpenRocketComponent() throws Exception {
//TODO: Test goes here...
/*
try {
Method method = OpenRocketComponentSaver.getClass().getMethod("fromOpenRocketComponent", Reader.class);
method.setAccessible(true);
method.invoke(<Object>, <Parameters>);
} catch(NoSuchMethodException e) {
} catch(IllegalAccessException e) {
} catch(InvocationTargetException e) {
}
*/
}
/**
*
* Method: toOpenRocketComponentDTO(List<Material> theMaterialList, List<ComponentPreset> thePresetList)
*
*/
@Test
public void testToOpenRocketComponentDTO() throws Exception {
//TODO: Test goes here...
/*
try {
Method method = OpenRocketComponentSaver.getClass().getMethod("toOpenRocketComponentDTO", List<Material>.class, List<ComponentPreset>.class);
method.setAccessible(true);
method.invoke(<Object>, <Parameters>);
} catch(NoSuchMethodException e) {
} catch(IllegalAccessException e) {
} catch(InvocationTargetException e) {
}
*/
}
/**
*
* Method: toComponentDTO(ComponentPreset thePreset)
*
*/
@Test
public void testToComponentDTO() throws Exception {
//TODO: Test goes here...
/*
try {
Method method = OpenRocketComponentSaver.getClass().getMethod("toComponentDTO", ComponentPreset.class);
method.setAccessible(true);
method.invoke(<Object>, <Parameters>);
} catch(NoSuchMethodException e) {
} catch(IllegalAccessException e) {
} catch(InvocationTargetException e) {
}
*/
}
}