GeomConverter/test/org/lcsim/geometry/compact/converter/lcdd
diff -N SiTrackerEndcapTest.java
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ SiTrackerEndcapTest.java 29 Oct 2007 05:10:19 -0000 1.1
@@ -0,0 +1,30 @@
+package org.lcsim.geometry.compact.converter.lcdd;
+
+import java.io.BufferedOutputStream;
+import java.io.FileOutputStream;
+import java.io.InputStream;
+import java.io.OutputStream;
+
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+import org.lcsim.util.test.TestUtil.TestOutputFile;
+
+/**
+ *
+ * @author jeremym
+ */
+public class SiTrackerEndcapTest extends TestCase
+{
+ public SiTrackerEndcapTest(String name)
+ {
+ super(name);
+ }
+
+ public void test_converter() throws Exception
+ {
+ InputStream in = SiTrackerBarrel.class.getResourceAsStream("/org/lcsim/detector/converter/compact/SiTrackerEndcapTest.xml");
+ OutputStream out = new BufferedOutputStream(new FileOutputStream(new TestOutputFile("SiTrackerEndcapTest.lcdd")));
+ new Main(true).convert("SiTrackerBarrelTest",in,out);
+ }
+}