View Javadoc

1   /*
2    * CylindricalBarrelCalorimeterTest.java
3    *
4    * Created on June 15, 2005, 12:00 PM
5    */
6   
7   package org.lcsim.geometry.subdetector;
8   
9   import hep.graphics.heprep.HepRepProvider;
10  import java.io.IOException;
11  import java.io.InputStream;
12  import junit.framework.TestCase;
13  import junit.framework.TestSuite;
14  import org.jdom.JDOMException;
15  import org.lcsim.geometry.Calorimeter;
16  import org.lcsim.geometry.GeometryReader;
17  import org.lcsim.geometry.compact.Detector;
18  import org.lcsim.util.xml.ElementFactory.ElementCreationException;
19  
20  import org.lcsim.geometry.layer.Layering;
21  
22  /**
23   *
24   * @author jeremym
25   */
26  public class TestBeamCalorimeterTest extends TestCase
27  {
28      Detector detector;
29      
30      /** Creates a new instance of CylindricalBarrelCalorimeterTest */
31      public TestBeamCalorimeterTest(String name)
32      {
33          super(name);
34      }
35      
36      protected void setUp() throws java.lang.Exception
37      {
38          InputStream in = this.getClass().getResourceAsStream("/org/lcsim/geometry/subdetector/TestBeamCalorimeterTest.xml");
39          
40          GeometryReader reader = new GeometryReader();
41          Detector det = reader.read(in);
42      }
43      
44      public static junit.framework.Test suite()
45      {
46          return new TestSuite(TestBeamCalorimeterTest.class);
47      }
48      
49      public void testDummy()
50      {
51          return;
52      }    
53  }