ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adammurd...@apache.org
Subject cvs commit: jakarta-ant-myrmidon/container/src/test/org/apache/myrmidon/components/builder/test DefaultProjectBuilderTestCase.java
Date Thu, 23 May 2002 09:19:24 GMT
adammurdoch    02/05/23 02:19:24

  Modified:    container/src/test/org/apache/myrmidon/components/builder/test
                        DefaultProjectBuilderTestCase.java
  Log:
  Fix compile errors.
  
  Revision  Changes    Path
  1.9       +18 -5     jakarta-ant-myrmidon/container/src/test/org/apache/myrmidon/components/builder/test/DefaultProjectBuilderTestCase.java
  
  Index: DefaultProjectBuilderTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant-myrmidon/container/src/test/org/apache/myrmidon/components/builder/test/DefaultProjectBuilderTestCase.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- DefaultProjectBuilderTestCase.java	23 May 2002 01:01:45 -0000	1.8
  +++ DefaultProjectBuilderTestCase.java	23 May 2002 09:19:24 -0000	1.9
  @@ -9,6 +9,7 @@
   
   import java.io.File;
   import java.io.IOException;
  +import java.util.Collections;
   import org.apache.avalon.excalibur.i18n.Resources;
   import org.apache.avalon.excalibur.io.FileUtil;
   import org.apache.myrmidon.AbstractContainerTestCase;
  @@ -21,7 +22,7 @@
    * Test cases for {@link DefaultProjectBuilder}.
    *
    * @author <a href="mailto:darrell@apache.org">Darrell DeBoer</a>
  - * @version $Revision: 1.8 $ $Date: 2002/05/23 01:01:45 $
  + * @version $Revision: 1.9 $ $Date: 2002/05/23 09:19:24 $
    */
   public class DefaultProjectBuilderTestCase
       extends AbstractContainerTestCase
  @@ -126,7 +127,9 @@
               new DefaultProject( getNameFor( projFile ),
                                   getURIFor( projFile ),
                                   getTestDirectory(),
  -                                "main" );
  +                                "main",
  +                                Collections.EMPTY_MAP,
  +                                Collections.EMPTY_MAP);
           assertSameProject( expected, project );
       }
   
  @@ -149,7 +152,9 @@
               new DefaultProject( "some-project",
                                   getURIFor( projFile ),
                                   getTestDirectory(),
  -                                "main" );
  +                                "main",
  +                                Collections.EMPTY_MAP,
  +                                Collections.EMPTY_MAP);
           assertSameProject( expected, project );
       }
   
  @@ -164,7 +169,13 @@
   
           // Compare against expected project
           final File baseDir = getTestDirectory( "other-base-dir" );
  -        DefaultProject expected = new DefaultProject( getNameFor( projFile ), getURIFor(
projFile ), baseDir, "main" );
  +        DefaultProject expected =
  +            new DefaultProject( getNameFor( projFile ),
  +                                getURIFor( projFile ),
  +                                baseDir,
  +                                "main",
  +                                Collections.EMPTY_MAP,
  +                                Collections.EMPTY_MAP );
           assertSameProject( expected, project );
       }
   
  @@ -182,7 +193,9 @@
               new DefaultProject( getNameFor( projFile ),
                                   getURIFor( projFile ),
                                   getTestDirectory(),
  -                                "some-target" );
  +                                "some-target",
  +                                Collections.EMPTY_MAP,
  +                                Collections.EMPTY_MAP );
           assertSameProject( expected, project );
       }
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message