|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.tigris.subversion.javahl.tests.SVNTests.OneTest
this internal class represent the repository and the working copy for one test.
Field Summary | |
protected java.io.File |
repository
the file name of repository (used by SVNAdmin) |
protected java.lang.String |
url
the url of the repository (used by SVNClient) |
protected WC |
wc
the expected layout of the working copy after the next subversion command |
protected java.io.File |
workingCopy
the file name of the working copy directory |
Constructor Summary | |
protected |
SVNTests.OneTest()
build a new test setup with a new repository, a new working and a new expected working layout |
Method Summary | |
void |
checkStatus()
Check if the working copy has the expected status |
protected SVNTests.OneTest |
copy(java.lang.String append)
Copy the working copy and the expected working copy layout for tests which need multiple working copy |
protected java.io.File |
createStartRepository(java.lang.String testName)
Create the repository for the beginning of the test |
protected java.io.File |
createStartWorkingCopy(java.io.File repos,
java.lang.String testName)
Create the working copy for the beginning of the test |
java.io.File |
getRepository()
Return the directory of the repository |
java.lang.String |
getRepositoryPath()
Return the name of the directory of the repository |
java.lang.String |
getUrl()
Returns the url of repository |
WC |
getWc()
Returns the expected working copy content |
java.lang.String |
getWCPath()
Return the working copy directory name |
java.io.File |
getWorkingCopy()
Return the working copy directory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.io.File repository
protected java.io.File workingCopy
protected java.lang.String url
protected WC wc
Constructor Detail |
protected SVNTests.OneTest() throws java.lang.Exception
java.lang.Exception
- Method Detail |
protected SVNTests.OneTest copy(java.lang.String append) throws java.lang.Exception
append
- append to the working copy name of the originaljava.lang.Exception
- public java.io.File getRepository()
public java.lang.String getRepositoryPath()
public java.io.File getWorkingCopy()
public java.lang.String getWCPath()
public java.lang.String getUrl()
public WC getWc()
protected java.io.File createStartRepository(java.lang.String testName) throws java.lang.Exception
testName
- the name of the testjava.lang.Exception
- protected java.io.File createStartWorkingCopy(java.io.File repos, java.lang.String testName) throws java.lang.Exception
repos
- the repository directorytestName
- the name of the testjava.lang.Exception
- public void checkStatus() throws java.lang.Exception
java.lang.Exception
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |