lcsim/test/org/lcsim/detector/driver
diff -N SiTrackerBarrelReadLcioTest.java
--- SiTrackerBarrelReadLcioTest.java 23 May 2007 20:13:44 -0000 1.3
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,40 +0,0 @@
-package org.lcsim.detector.driver;
-
-import java.io.File;
-import java.net.URL;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-import org.lcsim.util.cache.FileCache;
-import org.lcsim.util.loop.LCSimLoop;
-
-public class SiTrackerBarrelReadLcioTest
-extends TestCase
-{
- public SiTrackerBarrelReadLcioTest(String testName)
- {
- super(testName);
- }
-
- public static Test suite()
- {
- return new TestSuite(SiTrackerBarrelReadLcioTest.class);
- }
-
- public void testReadLcio() throws Exception
- {
- URL url =
- new URL("http://www.lcsim.org/test/lcio/mu-_10GeV_SiTrackerBarrelTest00.slcio");
- FileCache cache = new FileCache();
- File file = cache.getCachedFile(url);
-
- LCSimLoop loop = new LCSimLoop();
- loop.setLCIORecordSource(file);
- loop.add( new SimTrackerHitPositionalReadoutDriver(
- new String[] { "SiTrackerBarrel_RO" } ) );
- loop.loop(2);
- loop.dispose();
- }
-}
\ No newline at end of file