org.apache.maven.scm.provider.cvslib.command.mkdir
Class CvsMkdirCommandTckTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.scm.ScmTestCase
                  extended by org.apache.maven.scm.ScmTckTestCase
                      extended by org.apache.maven.scm.tck.command.mkdir.MkdirCommandTckTest
                          extended by org.apache.maven.scm.provider.cvslib.command.mkdir.CvsMkdirCommandTckTest
All Implemented Interfaces:
junit.framework.Test

public class CvsMkdirCommandTckTest
extends MkdirCommandTckTest


Field Summary
 
Fields inherited from class org.apache.maven.scm.ScmTestCase
GMT_TIME_ZONE
 
Fields inherited from class org.codehaus.plexus.PlexusTestCase
basedir, container
 
Constructor Summary
CvsMkdirCommandTckTest()
           
 
Method Summary
protected  String getModule()
          
 String getScmUrl()
          
 void initRepo()
          

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

The setup is also asserting on the existence of these files.

protected  void setUp()
          
 
Methods inherited from class org.apache.maven.scm.tck.command.mkdir.MkdirCommandTckTest
getMissingDirectory, testMkdirCommandMkdirLocal
 
Methods inherited from class org.apache.maven.scm.ScmTckTestCase
addToWorkingTree, checkIn, checkOut, getScmFileNames, getScmRepository, mapFilesByPath, removeRepo, tearDown
 
Methods inherited from class org.apache.maven.scm.ScmTestCase
assertCommandLine, assertFile, assertPath, assertResultIsSuccess, execute, getAssertionCopy, getDate, getDate, getDate, getRepository, getRepositoryRoot, getScmFileSet, getScmManager, getUpdatingCopy, getWorkingCopy, getWorkingDirectory, isSystemCmd, makeDirectory, makeFile, makeFile, makeScmRepository, printOutputError, setDebugExecute
 
Methods inherited from class org.codehaus.plexus.PlexusTestCase
createContainerInstance, customizeContext, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getContainer, getCustomConfiguration, getResourceAsStream, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, release
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CvsMkdirCommandTckTest

public CvsMkdirCommandTckTest()
Method Detail

getScmUrl

public String getScmUrl()

Specified by:
getScmUrl in class ScmTckTestCase
Returns:
A provider specific and valid url for the repository

getModule

protected String getModule()

Overrides:
getModule in class ScmTestCase

initRepo

public void initRepo()
              throws Exception

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)

Note: 'svnadmin' should be a system command.

Specified by:
initRepo in class ScmTckTestCase
Throws:
Exception - if any

setUp

protected void setUp()
              throws Exception
Description copied from class: ScmTckTestCase

Overrides:
setUp in class ScmTckTestCase
Throws:
Exception


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.