You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by mu...@apache.org on 2005/12/21 16:47:40 UTC
svn commit: r358308 -
/xml/security/trunk/src_unitTests/org/apache/xml/security/test/encryption/XMLCipherTester.java
Author: mullan
Date: Wed Dec 21 07:47:35 2005
New Revision: 358308
URL: http://svn.apache.org/viewcvs?rev=358308&view=rev
Log:
Fixed bug in which test only worked if you ran it from the top level
(basedir) directory. Now it works no matter what directory you run it
from.
Modified:
xml/security/trunk/src_unitTests/org/apache/xml/security/test/encryption/XMLCipherTester.java
Modified: xml/security/trunk/src_unitTests/org/apache/xml/security/test/encryption/XMLCipherTester.java
URL: http://svn.apache.org/viewcvs/xml/security/trunk/src_unitTests/org/apache/xml/security/test/encryption/XMLCipherTester.java?rev=358308&r1=358307&r2=358308&view=diff
==============================================================================
--- xml/security/trunk/src_unitTests/org/apache/xml/security/test/encryption/XMLCipherTester.java (original)
+++ xml/security/trunk/src_unitTests/org/apache/xml/security/test/encryption/XMLCipherTester.java Wed Dec 21 07:47:35 2005
@@ -79,8 +79,9 @@
}
protected void setUp() {
+ String basedir = System.getProperty("basedir");
documentName = System.getProperty("org.apache.xml.enc.test.doc",
- "./build.xml");
+ basedir + "/build.xml");
elementName = System.getProperty("org.apache.xml.enc.test.elem",
"path");
elementIndex = System.getProperty("org.apache.xml.enc.test.idx",