From 8d2478dff6de08b71ca5dd14fe0aa4dba43b7c24 Mon Sep 17 00:00:00 2001 From: Brett Leslie Porter Date: Tue, 21 Feb 2006 10:27:29 +0000 Subject: [PATCH] undo previous change to test. It seems this was working on 2 other windows boxes, so I must have something funky. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379412 13f79535-47bb-0310-9956-ffa450edef68 --- maven-core-it/it0088/pom.xml | 6 ------ .../org/apache/maven/it0088/PomInterpolationTest.java | 11 +---------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/maven-core-it/it0088/pom.xml b/maven-core-it/it0088/pom.xml index c40243f018..c168fedca6 100644 --- a/maven-core-it/it0088/pom.xml +++ b/maven-core-it/it0088/pom.xml @@ -11,12 +11,6 @@ jar test - - org.codehaus.plexus - plexus-utils - 1.1 - test - diff --git a/maven-core-it/it0088/src/test/java/org/apache/maven/it0088/PomInterpolationTest.java b/maven-core-it/it0088/src/test/java/org/apache/maven/it0088/PomInterpolationTest.java index 646e3cf84c..652d8bc7ef 100644 --- a/maven-core-it/it0088/src/test/java/org/apache/maven/it0088/PomInterpolationTest.java +++ b/maven-core-it/it0088/src/test/java/org/apache/maven/it0088/PomInterpolationTest.java @@ -6,10 +6,6 @@ import java.util.Properties; import java.io.File; import java.io.FileInputStream; -import org.codehaus.plexus.util.FileUtils; -import org.codehaus.plexus.util.StringInputStream; -import org.codehaus.plexus.util.StringUtils; - public class PomInterpolationTest extends TestCase { @@ -30,12 +26,7 @@ public class PomInterpolationTest assertTrue( testPropertiesFile.exists() ); - String content = FileUtils.fileRead( testPropertiesFile ); - - // Properties files need \\ escaped - content = StringUtils.replace( content, "\\", "\\\\" ); - - testProperties.load( new StringInputStream( content ) ); + testProperties.load( new FileInputStream( testPropertiesFile ) ); File projectBuildDirectory = new File( basedir, "target" );