View Javadoc

1   package org.lcsim.geometry.compact.converter.lcdd;
2   import junit.framework.*;
3   import java.io.InputStream;
4   
5   
6   /**
7    *
8    * @author tonyj
9    */
10  public class ConvertTest extends TestCase
11  {
12     public ConvertTest(String testName)
13     {
14        super(testName);
15     }
16     
17     public static TestSuite suite()
18     {
19        return new TestSuite(ConvertTest.class);
20     }
21     
22     /**
23      * Test of main method, of class org.lcsim.geometry.compact.converter.lcdd.Main.
24      */
25     /* FIXME: Does not appear to actually run the converter, because output stream is null! */
26     public void testMain() throws Exception
27     {
28        InputStream in = ConvertTest.class.getResourceAsStream("/org/lcsim/geometry/compact/sidloi3.xml");
29        new Main().convert("sdjan03",in,null);
30     }
31  }