From 22365aeefecb12dc3ee7b2eda59922c8c2660393 Mon Sep 17 00:00:00 2001 From: Brett Leslie Porter Date: Fri, 26 Aug 2005 07:46:12 +0000 Subject: [PATCH] fix tests: - ordering of link elements was wrong - windows path separator was wrong git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@240180 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/maven/plugin/eclipse/EclipsePluginTest.java | 2 +- .../src/test/projects/project-4/project | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/maven-plugins/maven-eclipse-plugin/src/test/java/org/apache/maven/plugin/eclipse/EclipsePluginTest.java b/maven-plugins/maven-eclipse-plugin/src/test/java/org/apache/maven/plugin/eclipse/EclipsePluginTest.java index d0ded69f06..1cad7008d2 100644 --- a/maven-plugins/maven-eclipse-plugin/src/test/java/org/apache/maven/plugin/eclipse/EclipsePluginTest.java +++ b/maven-plugins/maven-eclipse-plugin/src/test/java/org/apache/maven/plugin/eclipse/EclipsePluginTest.java @@ -135,7 +135,7 @@ public class EclipsePluginTest // replace some vars in the expected line, to account // for absolute paths that are different on each installation. - expected = StringUtils.replace( expected, "${basedir}", basedir ); + expected = StringUtils.replace( expected, "${basedir}", basedir.replace( '\\', '/' ) ); if ( actualLines.size() < i ) { diff --git a/maven-plugins/maven-eclipse-plugin/src/test/projects/project-4/project b/maven-plugins/maven-eclipse-plugin/src/test/projects/project-4/project index 8c7600147d..c74783adcc 100644 --- a/maven-plugins/maven-eclipse-plugin/src/test/projects/project-4/project +++ b/maven-plugins/maven-eclipse-plugin/src/test/projects/project-4/project @@ -17,11 +17,6 @@ 1 ${basedir}/src/test/projects/project-4/project.xml - - src-main-java - 2 - ${basedir}/src/test/projects/project-4/src/main/java - src-test-resources 2 @@ -37,5 +32,10 @@ 2 ${basedir}/src/test/projects/project-4/src/main/resources + + src-main-java + 2 + ${basedir}/src/test/projects/project-4/src/main/java +