maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jvan...@apache.org
Subject cvs commit: maven-components/maven-core/src/test/java/org/apache/maven/project/inheritance/t00 ProjectInheritanceTest.java
Date Thu, 24 Jun 2004 00:27:38 GMT
jvanzyl     2004/06/23 17:27:38

  Modified:    maven-core/src/test/java/org/apache/maven/project/inheritance/t00
                        ProjectInheritanceTest.java
  Log:
  o correcting name of project being built
  
  Revision  Changes    Path
  1.3       +9 -9      maven-components/maven-core/src/test/java/org/apache/maven/project/inheritance/t00/ProjectInheritanceTest.java
  
  Index: ProjectInheritanceTest.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-core/src/test/java/org/apache/maven/project/inheritance/t00/ProjectInheritanceTest.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ProjectInheritanceTest.java	24 Jun 2004 00:17:18 -0000	1.2
  +++ ProjectInheritanceTest.java	24 Jun 2004 00:27:38 -0000	1.3
  @@ -36,38 +36,38 @@
       public void testProjectInheritance()
           throws Exception
       {
  -        MavenProject p0 = projectBuilder.build( projectFile( "p4" ) );
  +        MavenProject p4 = projectBuilder.build( projectFile( "p4" ) );
   
  -        assertEquals( "p4", p0.getName() );
  +        assertEquals( "p4", p4.getName() );
   
           // ----------------------------------------------------------------------
           // Value inherited from p3
           // ----------------------------------------------------------------------
   
  -        assertEquals( "2000", p0.getInceptionYear() );
  +        assertEquals( "2000", p4.getInceptionYear() );
   
           // ----------------------------------------------------------------------
           // Value taken from p2
           // ----------------------------------------------------------------------
   
  -        assertEquals( "mailing-list", ((MailingList)p0.getMailingLists().get(0)).getName()
);
  +        assertEquals( "mailing-list", ((MailingList)p4.getMailingLists().get(0)).getName()
);
   
           // ----------------------------------------------------------------------
           // Value taken from p1
           // ----------------------------------------------------------------------
   
  -        assertEquals( "scm-url", p0.getScm().getUrl() );
  +        assertEquals( "scm-url", p4.getScm().getUrl() );
   
           // ----------------------------------------------------------------------
  -        // Value taken from p0
  +        // Value taken from p4
           // ----------------------------------------------------------------------
   
  -        assertEquals( "Codehaus", p0.getOrganization().getName() );
  +        assertEquals( "Codehaus", p4.getOrganization().getName() );
   
           // ----------------------------------------------------------------------
           // Value taken from super model
           // ----------------------------------------------------------------------
   
  -        assertEquals( "4.0.0", p0.getModelVersion() );
  +        assertEquals( "4.0.0", p4.getModelVersion() );
       }
   }
  
  
  

Mime
View raw message