View Javadoc

1   package org.lcsim.geometry.subdetector;
2   
3   import java.io.InputStream;
4   
5   import junit.framework.Test;
6   import junit.framework.TestCase;
7   import junit.framework.TestSuite;
8   
9   import org.lcsim.geometry.Detector;
10  import org.lcsim.geometry.GeometryReader;
11  
12  /**
13   * Test of all types in org.lcsim.geometry.subdetector
14   *
15   * @author Jeremy McCormick <jeremym@slac.stanford.edu>
16   */
17  public class SubdetectorTest extends TestCase
18  {
19      Detector det = null;
20      
21      public SubdetectorTest(String testName)
22      {
23          super(testName);
24      }
25      
26      public static Test suite()
27      {
28          return new TestSuite(SubdetectorTest.class);
29      }
30      
31      protected void setUp() throws Exception
32      {
33          InputStream in = SubdetectorTest.class.getResourceAsStream("/org/lcsim/geometry/subdetector/subdetectors.xml");
34          GeometryReader reader = new GeometryReader();
35          det = reader.read(in);
36      }
37      
38      public void testFoo()
39      {}
40  }