org.apache.maven.scm.tck.command.checkin
Class CheckInCommandTckTest
java.lang.Object
org.apache.maven.scm.ScmTestCase
org.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:
- /pom.xml
- /readme.txt
- /src/main/java/Application.java
- /src/test/java/Test.java
- Version:
- $Id: CheckInCommandTckTest.java 225265 2005-07-26 09:16:45Z evenisse $
- Author:
- Brett Porter
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 |
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
CheckInCommandTckTest
public CheckInCommandTckTest()
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