brett       2003/08/19 17:18:53

  Modified:    src/test/java/org/apache/maven MavenUtilsTest.java
  Log:
  remove windows path check as it triggers a false alarm on Unix
  
  Revision  Changes    Path
  1.13      +1 -8      maven/src/test/java/org/apache/maven/MavenUtilsTest.java
  
  Index: MavenUtilsTest.java
  ===================================================================
  RCS file: /home/cvs/maven/src/test/java/org/apache/maven/MavenUtilsTest.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- MavenUtilsTest.java       19 Aug 2003 04:45:37 -0000      1.12
  +++ MavenUtilsTest.java       20 Aug 2003 00:18:53 -0000      1.13
  @@ -281,8 +281,6 @@
                         MavenUtils.makeAbsolutePath( basedirFile, "project.xml" ) );
           assertEquals( "Check unix relative path", new File( basedir + 
"/src/test/basedir/project.xml" ).getCanonicalPath(),
                         MavenUtils.makeAbsolutePath( basedirFile, 
"src/test/basedir/project.xml" ) );
  -        assertEquals( "Check windows relative path", new File( basedir + 
"\\src\\test\\basedir\\project.xml" ).getCanonicalPath(),
  -                      MavenUtils.makeAbsolutePath( basedirFile, 
"src/test/basedir/project.xml" ) );
           assertEquals( "Check absolute path outside basedir", new File( 
"/www/docs/index.html" ).getCanonicalPath(),
                         MavenUtils.makeAbsolutePath( basedirFile, new File( 
"/www/docs/index.html" ).getCanonicalPath() ) );
       }
  @@ -303,11 +301,6 @@
                         "project.xml",
                         MavenUtils.makeRelativePath( basedirFile,
                                                      new File( basedir + 
"/src/test/basedir/project.xml" ).getCanonicalPath() ) );
  -        assertEquals( "Check windows relative path",
  -                      "src" + File.separatorChar + "test" + File.separatorChar + 
"basedir" + File.separatorChar +
  -                      "project.xml",
  -                      MavenUtils.makeRelativePath( basedirFile,
  -                                                   new File( basedir + 
"\\src\\test\\basedir\\project.xml" ).getCanonicalPath() ) );
           assertEquals( "Check absolute path outside basedir", new File( 
"/www/docs/index.html" ).getCanonicalPath(),
                         MavenUtils.makeRelativePath( basedirFile, new File( 
"/www/docs/index.html" ).getCanonicalPath() ) );
       }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to