org.apache.maven.scm.provider.cvslib.command.branch
Class CvsBranchCommandTckTest

java.lang.Object
  extended by PlexusTestCase
      extended by org.apache.maven.scm.ScmTestCase
          extended by org.apache.maven.scm.ScmTckTestCase
              extended by org.apache.maven.scm.tck.command.branch.BranchCommandTckTest
                  extended by org.apache.maven.scm.provider.cvslib.command.branch.CvsBranchCommandTckTest

public class CvsBranchCommandTckTest
extends BranchCommandTckTest

This test tests the branch command.

Version:
$Id: CvsBranchCommandTckTest.java 527150 2007-04-10 15:03:27Z evenisse $
Author:
Emmanuel Venisse

Field Summary
 
Fields inherited from class org.apache.maven.scm.ScmTestCase
GMT_TIME_ZONE
 
Constructor Summary
CvsBranchCommandTckTest()
           
 
Method Summary
protected  String getModule()
           
 String getScmUrl()
           
 void initRepo()
          

Initialize repository at the ScmTckTestCase.getScmUrl() location with the files in ScmTckTestCase.getScmFileNames()

 
Methods inherited from class org.apache.maven.scm.tck.command.branch.BranchCommandTckTest
testBranchCommandTest
 
Methods inherited from class org.apache.maven.scm.ScmTckTestCase
addToWorkingTree, checkOut, getScmFileNames, getScmRepository, setUp
 
Methods inherited from class org.apache.maven.scm.ScmTestCase
assertFile, assertPath, assertResultIsSuccess, execute, getAssertionCopy, getDate, getDate, getDate, getRepository, getRepositoryRoot, getScmFileSet, getScmManager, getUpdatingCopy, getWorkingCopy, getWorkingDirectory, makeDirectory, makeFile, makeFile, makeScmRepository, setDebugExecute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CvsBranchCommandTckTest

public CvsBranchCommandTckTest()
Method Detail

getScmUrl

public String getScmUrl()
Specified by:
getScmUrl in class ScmTckTestCase
Returns:
A provider spesific and valid url for the repository

getModule

protected String getModule()
Overrides:
getModule in class ScmTestCase

initRepo

public void initRepo()
              throws Exception
Description copied from class: ScmTckTestCase

Initialize repository at the ScmTckTestCase.getScmUrl() location with the files in ScmTckTestCase.getScmFileNames()

The setup is also asserting on the existence of these files.
This should only be used by this class (thus do not call this method from derived classes)

Specified by:
initRepo in class ScmTckTestCase
Throws:
Exception


Copyright © 2003-2008 Apache Software Foundation. All Rights Reserved.