[dna-commits] DNA SVN: r673 - trunk/extensions/dna-connector-svn/src/test/java/org/jboss/dna/connector/svn.
dna-commits at lists.jboss.org
dna-commits at lists.jboss.org
Mon Dec 8 15:20:41 EST 2008
Author: rhauch
Date: 2008-12-08 15:20:41 -0500 (Mon, 08 Dec 2008)
New Revision: 673
Modified:
trunk/extensions/dna-connector-svn/src/test/java/org/jboss/dna/connector/svn/SVNRepositoryConnectionTest.java
Log:
DNA-36 Tried to correct the test case so Hudson runs it successfully. Can't understand why Hudson doesn't like it, so it's tough to fix
Modified: trunk/extensions/dna-connector-svn/src/test/java/org/jboss/dna/connector/svn/SVNRepositoryConnectionTest.java
===================================================================
--- trunk/extensions/dna-connector-svn/src/test/java/org/jboss/dna/connector/svn/SVNRepositoryConnectionTest.java 2008-12-08 19:44:27 UTC (rev 672)
+++ trunk/extensions/dna-connector-svn/src/test/java/org/jboss/dna/connector/svn/SVNRepositoryConnectionTest.java 2008-12-08 20:20:41 UTC (rev 673)
@@ -88,15 +88,15 @@
// First we need to find the absolute path. Note that Maven always runs the tests from the project's directory,
// so use new File to create an instance at the current location ...
File src = new File("src/test/resources/dummy_svn_repos");
- File dst = new File("target/copy_dummy_svn_repos");
+ File dst = new File("target/copy_of dummy_svn_repos");
// make sure the destination is empty before we copy
FileUtil.delete(dst);
FileUtil.copy(src, dst);
// Now set the two path roots
- String svnUrl = dst.getCanonicalFile().toURI().toURL().toString();
- svnUrl = svnUrl.replaceFirst("file:/", "file://localhost/"); // add the 'localhost'
+ String svnUrl = dst.getCanonicalFile().toURL().toString();
+ svnUrl = svnUrl.replaceFirst("file:/", "file:///"); // add the 'localhost'
String username = "sp";
String password = "";
// Create a Repository instance from the http-protocol, that use a anonymous credential.
More information about the dna-commits
mailing list