maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: maven-components/maven-core/src/test/java/org/apache/maven MavenTestCase.java
Date Thu, 24 Mar 2005 04:44:12 GMT
brett       2005/03/23 20:44:12

  Modified:    maven-core/src/test/java/org/apache/maven MavenTestCase.java
  Log:
  make abstract - contains no tests
  
  Revision  Changes    Path
  1.20      +10 -6     maven-components/maven-core/src/test/java/org/apache/maven/MavenTestCase.java
  
  Index: MavenTestCase.java
  ===================================================================
  RCS file: /home/cvs/maven-components/maven-core/src/test/java/org/apache/maven/MavenTestCase.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- MavenTestCase.java	21 Mar 2005 08:18:33 -0000	1.19
  +++ MavenTestCase.java	24 Mar 2005 04:44:12 -0000	1.20
  @@ -30,14 +30,15 @@
    * @author <a href="mailto:jason@maven.org">Jason van Zyl </a>
    * @version $Id$
    */
  -public class MavenTestCase
  +public abstract class MavenTestCase
       extends ArtifactEnabledPlexusTestCase
   {
       protected PluginManager pluginManager;
   
       protected MavenProjectBuilder projectBuilder;
   
  -    protected void setUp() throws Exception
  +    protected void setUp()
  +        throws Exception
       {
           super.setUp();
   
  @@ -70,7 +71,8 @@
           return resourceFile;
       }
   
  -    protected ArtifactRepository getLocalRepository() throws Exception
  +    protected ArtifactRepository getLocalRepository()
  +        throws Exception
       {
           ArtifactRepositoryLayout repoLayout = (ArtifactRepositoryLayout) lookup( ArtifactRepositoryLayout.ROLE,
                                                                                    "legacy"
);
  @@ -85,12 +87,14 @@
       // Project building
       // ----------------------------------------------------------------------
   
  -    protected MavenProject getProjectWithDependencies( File pom ) throws Exception
  +    protected MavenProject getProjectWithDependencies( File pom )
  +        throws Exception
       {
           return projectBuilder.buildWithDependencies( pom, getLocalRepository() );
       }
   
  -    protected MavenProject getProject( File pom ) throws Exception
  +    protected MavenProject getProject( File pom )
  +        throws Exception
       {
           return projectBuilder.build( pom, getLocalRepository() );
       }
  
  
  

Mime
View raw message