Commit in lcsim/test/org/lcsim on MAIN
StdhepFilterTest.java+3-31.3 -> 1.4
TestFastMC.java+4-21.3 -> 1.4
recon/vertexing/billoir/VertexFitterTest.java+2-21.6 -> 1.7
+9-7
3 modified files
new test file locations

lcsim/test/org/lcsim
StdhepFilterTest.java 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- StdhepFilterTest.java	11 Sep 2007 00:21:00 -0000	1.3
+++ StdhepFilterTest.java	17 Mar 2009 22:44:51 -0000	1.4
@@ -33,7 +33,7 @@
    public void testStdhepFilter() throws Exception
    {   
       final String detectorName = "sidaug05";
-      URL url = new URL("ftp://ftp-lcd.slac.stanford.edu/lcd/NewData/NLC500/ZZ/stdhep/pythia/pythiaZZ_nunu_bbbar.stdhep");
+      URL url = new URL("http://www.lcsim.org/test/stdhep/pythiaZZ_nunu_bbbar-0-1.stdhep");
       FileCache cache = new FileCache();
       File stdhep = cache.getCachedFile(url);
       
@@ -42,8 +42,8 @@
       LCSimLoop loop = new LCSimLoop();
       loop.setStdhepRecordSource(stdhep,detectorName);
       loop.add(writer);
-      loop.loop(100, null);
-      assertEquals(100,loop.getTotalCountableSupplied());
+      loop.loop(-1, null);
+      assertEquals(1,loop.getTotalCountableSupplied());
       loop.dispose();
    }
 }

lcsim/test/org/lcsim
TestFastMC.java 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- TestFastMC.java	11 Sep 2007 00:21:01 -0000	1.3
+++ TestFastMC.java	17 Mar 2009 22:44:51 -0000	1.4
@@ -20,6 +20,7 @@
  *
  * @author Tony Johnson
  */
+// FIXME: This test case has no assertions.
 public class TestFastMC extends TestCase
 {
    
@@ -38,7 +39,8 @@
    public void testFastMC() throws Exception
    {   
       final String detectorName = "sidaug05";      
-      URL url = new URL("ftp://ftp-lcd.slac.stanford.edu/lcd/NewData/NLC500/ZZ/stdhep/pythia/pythiaZZ_nunu_bbbar.stdhep");
+      //URL url = new URL("ftp://ftp-lcd.slac.stanford.edu/lcd/NewData/NLC500/ZZ/stdhep/pythia/pythiaZZ_nunu_bbbar.stdhep");
+      URL url = new URL("http://www.lcsim.org/test/stdhep/pythiaZZ_nunu_bbbar-0-1.stdhep");
       FileCache cache = new FileCache();
       File stdhep = cache.getCachedFile(url);
 
@@ -52,7 +54,7 @@
       loop.add(fast);
       loop.add(new JetDriver());
       loop.add(writer);
-      loop.loop(100, null);
+      loop.loop(-1, null);
       loop.dispose();
           
       AIDA.defaultInstance().saveAs((new TestOutputFile("fastmc.aida")).getAbsolutePath());

lcsim/test/org/lcsim/recon/vertexing/billoir
VertexFitterTest.java 1.6 -> 1.7
diff -u -r1.6 -r1.7
--- VertexFitterTest.java	17 Mar 2009 22:19:25 -0000	1.6
+++ VertexFitterTest.java	17 Mar 2009 22:44:51 -0000	1.7
@@ -1,7 +1,7 @@
 package org.lcsim.recon.vertexing.billoir;
 
 /**
- * @version $Id: VertexFitterTest.java,v 1.6 2009/03/17 22:19:25 jeremy Exp $
+ * @version $Id: VertexFitterTest.java,v 1.7 2009/03/17 22:44:51 jeremy Exp $
  */
 
 
@@ -59,7 +59,7 @@
     public void testFit() throws org.freehep.record.loop.LoopException, java.io.IOException {
         loop.add(new MCFast());
         loop.add(new TrackFitDriver());
-        loop.loop(5, null);
+        loop.loop(-1, null);
     }
     private class TrackFitDriver extends Driver {
         private List<double[]> weights = new ArrayList<double[]>();
CVSspam 0.2.8