|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
java.gate.versioning.cmdline.AbstractTestVersionControl
class AbstractTestVersionControl extends TestCase
Tests for version control API.
Field Summary | |
---|---|
protected boolean |
DEBUG
|
protected File |
checkedOutDir
|
protected String |
checkedOutDirName
|
protected File |
newRootDir
|
protected Repository |
rep
|
protected File |
rootDir
|
protected String |
testDirPath
|
protected URL |
testDirURL
|
protected String |
testFileName
|
protected String |
testsDirName
|
protected File |
workingDir
|
Constructor Summary | |
AbstractTestVersionControl(String name)
|
Method Summary | |
---|---|
File
|
appendToTestFile()
Helper function for external users of this class. |
Repository
|
checkOutTestDir()
Helper function for external users of this class. |
protected String
|
getRepType()
What type of repository implementation to use. |
protected String
|
getRootName()
Basename of the repository directory. |
protected String
|
getRootPrefix()
Prefix of the repository directory (e.g. |
void
|
setUp()
Create new repository object for testing |
void
|
tearDown()
Delete any checked-out files |
void
|
testAddAndDelete()
|
void
|
testCheckout()
|
void
|
testCreate()
|
void
|
testDiffAndCheckin()
|
void
|
testExists()
Check testExists. |
void
|
testImport()
Test the operation of { |
void
|
testImport2()
Check that testImport can run twice on the same test fixture without failing. |
void
|
testInit()
Test initialisation |
void
|
testLifeCycle()
Lifecycle test - import, existence, checkout, modify, ... |
void
|
testStatus()
|
void
|
testStatusIndicators()
|
void
|
testUpdate()
|
Methods inherited from class TestCase | |
---|---|
run, run, toString, getName, setName, countTestCases, runBare, fail, fail, assertNotNull, assertNotNull, assertTrue, assertTrue, assertFalse, assertFalse, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNull, assertNull, assertSame, assertSame, assertNotSame, assertNotSame, failSame, failNotSame, failNotEquals, wait, wait, wait, hashCode, getClass, equals, notify, notifyAll |
Methods inherited from class Assert | |
---|---|
fail, fail, assertNotNull, assertNotNull, assertTrue, assertTrue, assertFalse, assertFalse, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNull, assertNull, assertSame, assertSame, assertNotSame, assertNotSame, failSame, failNotSame, failNotEquals, wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Methods inherited from class Object | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Field Detail |
---|
protected boolean DEBUG
protected File checkedOutDir
protected String checkedOutDirName
protected File newRootDir
protected Repository rep
protected File rootDir
protected String testDirPath
protected URL testDirURL
protected String testFileName
protected String testsDirName
protected File workingDir
Constructor Detail |
---|
public AbstractTestVersionControl(String name)
Method Detail |
---|
public File appendToTestFile()
public Repository checkOutTestDir()
protected String getRepType()
protected String getRootName()
protected String getRootPrefix()
public void setUp()
public void tearDown()
public void testAddAndDelete()
public void testCheckout()
public void testCreate()
public void testDiffAndCheckin()
public void testExists()
public void testImport()
public void testImport2()
public void testInit()
public void testLifeCycle()
public void testStatus()
public void testStatusIndicators()
public void testUpdate()
Groovy Documentation