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
This commit is contained in:
Brett Leslie Porter 2005-08-26 07:46:12 +00:00
parent fcd86eff85
commit 22365aeefe
2 changed files with 6 additions and 6 deletions

View File

@ -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 )
{

View File

@ -17,11 +17,6 @@
<type>1</type>
<location>${basedir}/src/test/projects/project-4/project.xml</location>
</link>
<link>
<name>src-main-java</name>
<type>2</type>
<location>${basedir}/src/test/projects/project-4/src/main/java</location>
</link>
<link>
<name>src-test-resources</name>
<type>2</type>
@ -37,5 +32,10 @@
<type>2</type>
<location>${basedir}/src/test/projects/project-4/src/main/resources</location>
</link>
<link>
<name>src-main-java</name>
<type>2</type>
<location>${basedir}/src/test/projects/project-4/src/main/java</location>
</link>
</linkedResources>
</projectDescription>