sventon subversion web client - http://www.sventon.org
[show recent changes]
 
  Help
HEAD
Rev: 16155 - svn://svn.freehep.org/svn / freehep / trunk / hepio / freehep-rootio / src / test / java / hep / io / root / daemon / xrootd / XrootdConnectionTest.java
Unified Diff View - XrootdConnectionTest.java
Search for Help
/freehep/trunk/hepio/freehep-rootio/src/test/java/hep/io/root/daemon/xrootd/XrootdConnectionTest.java @ revision 16154
/freehep/trunk/hepio/freehep-rootio/src/test/java/hep/io/root/daemon/xrootd/XrootdConnectionTest.java @ revision 16155
@@ -24,7 +24,7 @@     public void testConnection() throws MalformedURLException, IOException {         int expectedLength = 353216; -        URL url = new URL(null, "xroot://glast-xrootd01.slac.stanford.edu/u/gl/glast/xrootd/testdata/pawdemo.root", new XrootdStreamHandler()); +        URL url = new URL(null, "xroot://glast-xrootd01.slac.stanford.edu//u/gl/glast/xrootd/testdata/pawdemo.root", new XrootdStreamHandler());         URLConnection conn = url.openConnection();         conn.setRequestProperty(XrootdURLConnection.XROOT_AUTHORIZATION_SCHEME, "anonymous");         InputStream in = conn.getInputStream(); @@ -123,7 +123,7 @@     public void testError2() throws MalformedURLException, IOException { -        URL url = new URL(null, "xroot://glast-xrootd01.slac.stanford.edu/u/gl/glast/xrootd/testdata/pawdemo.root", new XrootdStreamHandler()); +        URL url = new URL(null, "xroot://glast-xrootd01.slac.stanford.edu//u/gl/glast/xrootd/testdata/pawdemo.root", new XrootdStreamHandler());         URLConnection conn = url.openConnection();         conn.setRequestProperty(XrootdURLConnection.XROOT_AUTHORIZATION_SCHEME, "anonymous");         try { @@ -149,7 +149,7 @@     public void testError3() throws MalformedURLException, IOException {         // Host does not exist, but doesn't run rootd -        URL url = new URL(null, "xroot://badHost.slac.stanford.edu/u/gl/glast/xrootd/testdata/pawdemo.root", new XrootdStreamHandler()); +        URL url = new URL(null, "xroot://badHost.slac.stanford.edu//u/gl/glast/xrootd/testdata/pawdemo.root", new XrootdStreamHandler());         URLConnection conn = url.openConnection();         conn.setRequestProperty(XrootdURLConnection.XROOT_AUTHORIZATION_SCHEME, "anonymous");         try { @@ -162,7 +162,7 @@ // public void testError4() throws MalformedURLException, IOException { // // Host exists, but doesn't run rootd -// URL url = new URL(null, "xroot://www.slac.stanford.edu/u/gl/glast/xrootd/testdata/pawdemo.root", new XrootdStreamHandler()); +// URL url = new URL(null, "xroot://www.slac.stanford.edu//u/gl/glast/xrootd/testdata/pawdemo.root", new XrootdStreamHandler()); // URLConnection conn = url.openConnection(); // conn.setRequestProperty(XrootdURLConnection.XROOT_AUTHORIZATION_SCHEME, "anonymous"); // try {


feed icon

sventon 2.5.1