org.apache.maven.scm.tck.command.checkout
Class CheckOutCommandTckTest

java.lang.Object
  extended byorg.apache.maven.scm.ScmTestCase
      extended byorg.apache.maven.scm.tck.command.checkout.CheckOutCommandTckTest

public abstract class CheckOutCommandTckTest
extends ScmTestCase

This test tests the check out command. A check out has to produce these files:

Version:
$Id: CheckOutCommandTckTest.java 225265 2005-07-26 09:16:45Z evenisse $
Author:
Trygve Laugstøl

Field Summary
private  java.io.File workingDirectory
           
 
Fields inherited from class org.apache.maven.scm.ScmTestCase
GMT_TIME_ZONE
 
Constructor Summary
CheckOutCommandTckTest()
           
 
Method Summary
protected  java.io.File getRepositoryRoot()
           
abstract  java.lang.String getScmUrl()
           
protected  java.io.File getWorkingCopy()
           
abstract  void initRepo()
          Copy the existing checked in repository to the working directory.
protected  void setUp()
           
 void testCheckOutCommandTest()
           
 
Methods inherited from class org.apache.maven.scm.ScmTestCase
assertPath, assertResultIsSuccess, execute, getDate, getDate, getModule, getRepository, getScmFileSet, getScmManager, getWorkingDirectory, makeDirectory, makeFile, makeFile, makeScmRepository, setDebugExecute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

workingDirectory

private java.io.File workingDirectory
Constructor Detail

CheckOutCommandTckTest

public CheckOutCommandTckTest()
Method Detail

getScmUrl

public abstract java.lang.String getScmUrl()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

initRepo

public abstract void initRepo()
                       throws java.lang.Exception
Copy the existing checked in repository to the working directory. (src/test/repository/my-cvs-repository)

Throws:
java.lang.Exception

getRepositoryRoot

protected java.io.File getRepositoryRoot()

getWorkingCopy

protected java.io.File getWorkingCopy()

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class ScmTestCase
Throws:
java.lang.Exception

testCheckOutCommandTest

public void testCheckOutCommandTest()
                             throws java.lang.Exception
Throws:
java.lang.Exception