jvanzyl     2003/12/28 07:44:23

  Modified:    maven-project/src/test/org/apache/maven/project
                        DefaultProjectBuilderTest.java
  Log:
  o test defaults.properties property extraction. whatever you don't test is
    bound to be faulty ...
  
  Revision  Changes    Path
  1.22      +10 -0     
maven-components/maven-project/src/test/org/apache/maven/project/DefaultProjectBuilderTest.java
  
  Index: DefaultProjectBuilderTest.java
  ===================================================================
  RCS file: 
/home/cvs/maven-components/maven-project/src/test/org/apache/maven/project/DefaultProjectBuilderTest.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- DefaultProjectBuilderTest.java    27 Dec 2003 04:55:49 -0000      1.21
  +++ DefaultProjectBuilderTest.java    28 Dec 2003 15:44:23 -0000      1.22
  @@ -35,6 +35,16 @@
           assertNotNull( "Test projectBuilder can't be null!", projectBuilder );
       }
   
  +    public void testDefaultsPropertiesExtraction()
  +        throws Exception
  +    {
  +        File f = new File( basedir, "src/test/org/apache/maven/project/project.xml" 
);
  +
  +        Project project = projectBuilder.build( f );
  +
  +        assertNotNull( project.getProperty( "maven.build.dir" ) );
  +    }
  +
       public void testModelMapping()
           throws Exception
       {
  
  
  

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

Reply via email to