maven-scm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: maven-scm/maven-scm-providers/maven-scm-provider-local/src/test/java/org/apache/maven/scm/provider/local AbstractLocalScmTest.java
Date Mon, 03 Jan 2005 00:59:39 GMT
brett       2005/01/02 16:59:39

  Modified:    maven-scm-providers/maven-scm-provider-local/src/test/java/org/apache/maven/scm/provider/local/repository
                        LocalRepositoryTest.java
  Removed:     maven-scm-providers/maven-scm-provider-local/src/test/java/org/apache/maven/scm/provider/local/command/checkin
                        LocalCheckInCommandTest.java
               maven-scm-providers/maven-scm-provider-local/src/test/java/org/apache/maven/scm/provider/local/command/checkout
                        LocalCheckoutCommandTest.java
               maven-scm-providers/maven-scm-provider-local/src/test/java/org/apache/maven/scm/provider/local
                        AbstractLocalScmTest.java
  Log:
  clean up local provider tests
  
  Revision  Changes    Path
  1.4       +17 -3     maven-scm/maven-scm-providers/maven-scm-provider-local/src/test/java/org/apache/maven/scm/provider/local/repository/LocalRepositoryTest.java
  
  Index: LocalRepositoryTest.java
  ===================================================================
  RCS file: /home/cvs/maven-scm/maven-scm-providers/maven-scm-provider-local/src/test/java/org/apache/maven/scm/provider/local/repository/LocalRepositoryTest.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- LocalRepositoryTest.java	29 Oct 2004 12:01:03 -0000	1.3
  +++ LocalRepositoryTest.java	3 Jan 2005 00:59:39 -0000	1.4
  @@ -16,17 +16,18 @@
    * limitations under the License.
    */
   
  +import org.apache.maven.scm.ScmTestCase;
   import org.apache.maven.scm.provider.ScmProviderRepository;
  -import org.apache.maven.scm.provider.local.AbstractLocalScmTest;
   import org.apache.maven.scm.repository.ScmRepository;
   import org.apache.maven.scm.repository.ScmRepositoryException;
  +import org.codehaus.plexus.util.FileUtils;
   
   /**
    * @author <a href="mailto:trygvis@inamo.no">Trygve Laugst&oslash;l</a>
    * @version $Id$
    */
   public class LocalRepositoryTest
  -    extends AbstractLocalScmTest
  +    extends ScmTestCase
   {
       public void testExistingRepository()
   		throws Exception
  @@ -122,5 +123,18 @@
           {
               // expected
           }
  +    }
  +
  +    public void setUp()
  +        throws Exception
  +    {
  +        super.setUp();
  +
  +        FileUtils.mkdir( getWorkingDirectory().getAbsolutePath() );
  +    }
  +
  +    protected String getScmUrl()
  +    {
  +        return "scm:local|" + getRepository() + "|" + getModule();
       }
   }
  
  
  

Mime
View raw message