Author: oheger
Date: Thu Jan 10 11:35:04 2008
New Revision: 610892
URL: http://svn.apache.org/viewvc?rev=610892&view=rev
Log:
Adapted test to new location of test resources
Modified:
commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/TestEqualsProperty.java
Modified:
commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/TestEqualsProperty.java
URL:
http://svn.apache.org/viewvc/commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/TestEqualsProperty.java?rev=610892&r1=610891&r2=610892&view=diff
==============================================================================
---
commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/TestEqualsProperty.java
(original)
+++
commons/proper/configuration/branches/configuration2_experimental/src/test/java/org/apache/commons/configuration/TestEqualsProperty.java
Thu Jan 10 11:35:04 2008
@@ -17,8 +17,6 @@
* limitations under the License.
*/
-import java.io.File;
-
import junit.framework.TestCase;
/**
@@ -29,7 +27,7 @@
public class TestEqualsProperty extends TestCase
{
/** The File that we test with */
- private String testProperties = new
File("conf/test.properties").getAbsolutePath();
+ private String testProperties =
ConfigurationAssert.getTestFile("test.properties").getAbsolutePath();
public void testEquals() throws Exception
{