org.apache.maven.scm.tck.command.checkin
Class CheckInCommandTckTest

java.lang.Object
  extended byorg.apache.maven.scm.ScmTestCase
      extended byorg.apache.maven.scm.tck.command.checkin.CheckInCommandTckTest

public abstract class CheckInCommandTckTest
extends ScmTestCase

This test tests the check out command.

A check out has to produce these files:

Version:
$Id: CheckInCommandTckTest.java 225265 2005-07-26 09:16:45Z evenisse $
Author:
Brett Porter

Field Summary
private  java.io.File assertionDirectory
           
private  org.apache.maven.scm.repository.ScmRepository repository
           
private  org.apache.maven.scm.manager.ScmManager scmManager
           
private  java.io.File workingDirectory
           
 
Fields inherited from class org.apache.maven.scm.ScmTestCase
GMT_TIME_ZONE
 
Constructor Summary
CheckInCommandTckTest()
           
 
Method Summary
private  void changeReadmeTxt(java.io.File readmeTxt)
           
private  void createBarJava(java.io.File barJava)
           
private  void createFooJava(java.io.File fooJava)
           
protected  java.io.File getAssertionCopy()
           
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 testCheckInCommandPartialFileset()
           
 void testCheckInCommandTest()
           
 
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

scmManager

private org.apache.maven.scm.manager.ScmManager scmManager

repository

private org.apache.maven.scm.repository.ScmRepository repository

assertionDirectory

private java.io.File assertionDirectory
Constructor Detail

CheckInCommandTckTest

public CheckInCommandTckTest()
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()

getAssertionCopy

protected java.io.File getAssertionCopy()

setUp

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

testCheckInCommandTest

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

testCheckInCommandPartialFileset

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

createFooJava

private void createFooJava(java.io.File fooJava)
                    throws java.lang.Exception
Throws:
java.lang.Exception

createBarJava

private void createBarJava(java.io.File barJava)
                    throws java.lang.Exception
Throws:
java.lang.Exception

changeReadmeTxt

private void changeReadmeTxt(java.io.File readmeTxt)
                      throws java.lang.Exception
Throws:
java.lang.Exception