maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject cvs commit: maven/src/test/java/org/apache/maven/project ProjectInheritanceTest.java
Date Tue, 24 Jun 2003 23:58:25 GMT
jvanzyl     2003/06/24 16:58:25

  Modified:    src/test/java/org/apache/maven/project
                        ProjectInheritanceTest.java
  Log:
  o Sorry 'bout that. Head down in refactoring.
  
  Revision  Changes    Path
  1.31      +4 -4      maven/src/test/java/org/apache/maven/project/ProjectInheritanceTest.java
  
  Index: ProjectInheritanceTest.java
  ===================================================================
  RCS file: /home/cvs/maven/src/test/java/org/apache/maven/project/ProjectInheritanceTest.java,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- ProjectInheritanceTest.java	24 Jun 2003 22:14:05 -0000	1.30
  +++ ProjectInheritanceTest.java	24 Jun 2003 23:58:25 -0000	1.31
  @@ -69,7 +69,7 @@
       private String TEST_DOCUMENT = null;
       private String TEST_DOCUMENT2 = null;
       private String basedir;
  -    private String PS = System.getProperty( "path.separator" );
  +    private String FS = System.getProperty( "file.separator" );
       
       public ProjectInheritanceTest( String testName )
       {
  @@ -121,15 +121,15 @@
                         ( (Dependency) p.getDependencies().get( 1 ) ).getVersion() );
           
           // Test Source Directories
  -        assertEquals( basedir + PS + "src/java", p.getBuild().getSourceDirectory() );
  +        assertEquals( basedir + FS + "src/java", p.getBuild().getSourceDirectory() );
           // Unit Test Source Directories
  -        assertEquals( basedir + PS + "src/test/java", p.getBuild().getUnitTestSourceDirectory()
);
  +        assertEquals( basedir + FS + "src/test/java", p.getBuild().getUnitTestSourceDirectory()
);
   
           // Test Aspect Source Directories
           //assertEquals("src/aspect", p.getBuild().getAspectSourceDirectory());
   
           // Test Test Source Directories ;-)
  -        assertEquals( basedir + PS + "src/test/java", p.getBuild().getUnitTestSourceDirectory()
);
  +        assertEquals( basedir + FS + "src/test/java", p.getBuild().getUnitTestSourceDirectory()
);
           String iuSrc = p.getBuild().getIntegrationUnitTestSourceDirectory();
           assertTrue( "Should be empty in maven's project descriptor: [" + iuSrc + "]",
                       StringUtils.isEmpty( iuSrc ) );
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message