Commit in lcsim/test/org/lcsim/recon/vertexing/zvtop4 on MAIN
ZvTrackTest.java+7-11.2 -> 1.3
Downloading binary from lcsim.org/datasets instead of distributing it with the source now

lcsim/test/org/lcsim/recon/vertexing/zvtop4
ZvTrackTest.java 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- ZvTrackTest.java	24 Jun 2005 05:39:39 -0000	1.2
+++ ZvTrackTest.java	26 Jun 2005 04:34:58 -0000	1.3
@@ -1,7 +1,9 @@
 package org.lcsim.recon.vertexing.zvtop4;
 
 import java.io.File;
+import java.net.URL;
 
+import org.lcsim.util.cache.FileCache;
 import org.lcsim.util.loop.LCSimLoop;
 
 import junit.framework.TestCase;
@@ -9,11 +11,15 @@
 public class ZvTrackTest extends TestCase {
     LCSimLoop loop;
     File primaryVertexFile;
+    URL location;
+    FileCache cache;
     protected void setUp() throws Exception {
         super.setUp();
         loop = new LCSimLoop();
         // contains psi- mu mu events
-        primaryVertexFile = new File("psiMuMu.slcio");
+        location = new URL("http://www.lcsim.org/datasamples/psiMuMu.slcio");
+        cache = new FileCache();
+        primaryVertexFile = cache.getCachedFile(location);
         loop.setLCIORecordSource(primaryVertexFile);
     }
 
CVSspam 0.2.8