|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTestCase
org.tigris.subversion.javahl.tests.SVNTests
org.tigris.subversion.javahl.tests.BasicTests
public class BasicTests
Tests the basic functionality of javahl binding (inspired by the tests in subversion/tests/cmdline/basic_tests.py).
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.tigris.subversion.javahl.tests.SVNTests |
---|
SVNTests.FileInputer, SVNTests.FileOutputer, SVNTests.IgnoreOutputer, SVNTests.OneTest |
Field Summary | |
---|---|
static java.lang.String |
testName
base name of all our tests |
Fields inherited from class org.tigris.subversion.javahl.tests.SVNTests |
---|
admin, client, conf, expectedCommitItems, greekDump, greekRepos, greekWC, localTmp, logMessage, repositories, rootDir, rootDirectoryName, rootUrl, testBaseName, testCounter, workingCopies |
Constructor Summary | |
---|---|
BasicTests()
Initialize the testBaseName and the testCounter, if this is the first test of this class |
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
Main method to run tests standalone |
static TestSuite |
suite()
Build a test suite of all tests of this class |
void |
testBasicAddIgnores()
test the basis SVNClient.add functionality with files that should be ignored |
void |
testBasicCancelOperation()
|
void |
testBasicCat()
test the basic SVNClient.fileContent functionality |
void |
testBasicCatStream()
test the basic SVNClient.fileContent functionality |
void |
testBasicCheckout()
test the basic SVNClient.checkout functionality |
void |
testBasicCheckoutDeleted()
|
void |
testBasicCleanup()
test the basic SVNClient.cleanup functionality |
void |
testBasicCommit()
test the basic SVNClient.commit functionality |
void |
testBasicConflict()
test the basic SVNClient.update functionality with concurrent changes in the repository and the working copy that generate conflicts |
void |
testBasicDelete()
test the basic SVNClient.remove functionality |
void |
testBasicImport()
Test the basic SVNClient.import functionality |
void |
testBasicImportIgnores()
test the basis SVNClient.import functionality with files that should be ignored |
void |
testBasicInfo()
test the basic SVNClient.info functionality |
void |
testBasicInfo2()
test the baisc SVNClient.info2 functionality |
void |
testBasicIsAdminDirectory()
test the basic SVNClient.isAdminDirectory functionality |
void |
testBasicLocking()
test the baisc SVNClient locking functionality |
void |
testBasicLogMessage()
test the basic SVNClient.logMessage functionality |
void |
testBasicLs()
test the basic SVNClient.list functionality |
void |
testBasicMerge()
test the basic SVNClient.merge functionality |
void |
testBasicMergingUpdate()
test the basic SVNClient.update functionality with concurrent changes in the repository and the working copy |
void |
testBasicMkdirUrl()
test basic SVNClient.mkdir with url parameter functionality |
void |
testBasicNodeKindChange()
Test if Subversion will detect the change of a file to a direcory |
void |
testBasicRevert()
Test the basic SVNClient.revert functionality |
void |
testBasicStatus()
test the basic SVNClient.status functionality |
void |
testBasicSwitch()
thest the basic SVNClient.switch functionality |
void |
testBasicUpdate()
test the basic SVNClient.update functionality |
void |
testBasicVersionInfo()
test the basic SVNClient.getVersionInfo functionality |
void |
testPathValidation()
Tests Subversion path validation. |
void |
testVersion()
Test SVNClient.getVersion(). |
Methods inherited from class org.tigris.subversion.javahl.tests.SVNTests |
---|
addExpectedCommitItem, getAdminDirectoryName, makeReposUrl, processArgs, removeDirectoryWithContent, setUp, tearDown |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String testName
Constructor Detail |
---|
public BasicTests()
Method Detail |
---|
public static TestSuite suite()
public static void main(java.lang.String[] args)
args
- command line arguments to specify root directory and root
urlpublic void testVersion() throws java.lang.Throwable
java.lang.Throwable
public void testPathValidation() throws java.lang.Throwable
java.lang.Throwable
public void testBasicCheckout() throws java.lang.Throwable
java.lang.Throwable
public void testBasicStatus() throws java.lang.Throwable
java.lang.Throwable
public void testBasicCommit() throws java.lang.Throwable
java.lang.Throwable
public void testBasicUpdate() throws java.lang.Throwable
java.lang.Throwable
public void testBasicMkdirUrl() throws java.lang.Throwable
java.lang.Throwable
public void testBasicMergingUpdate() throws java.lang.Throwable
java.lang.Throwable
public void testBasicConflict() throws java.lang.Throwable
java.lang.Throwable
public void testBasicCleanup() throws java.lang.Throwable
java.lang.Throwable
public void testBasicRevert() throws java.lang.Throwable
java.lang.Throwable
public void testBasicSwitch() throws java.lang.Throwable
java.lang.Throwable
public void testBasicDelete() throws java.lang.Throwable
java.lang.Throwable
public void testBasicCheckoutDeleted() throws java.lang.Throwable
java.lang.Throwable
public void testBasicNodeKindChange() throws java.lang.Throwable
java.lang.Throwable
public void testBasicImport() throws java.lang.Throwable
java.lang.Throwable
public void testBasicCat() throws java.lang.Throwable
java.lang.Throwable
public void testBasicCatStream() throws java.lang.Throwable
java.lang.Throwable
public void testBasicLs() throws java.lang.Throwable
java.lang.Throwable
public void testBasicAddIgnores() throws java.lang.Throwable
java.lang.Throwable
public void testBasicImportIgnores() throws java.lang.Throwable
java.lang.Throwable
public void testBasicInfo() throws java.lang.Throwable
java.lang.Throwable
public void testBasicLogMessage() throws java.lang.Throwable
java.lang.Throwable
public void testBasicVersionInfo() throws java.lang.Throwable
java.lang.Throwable
public void testBasicLocking() throws java.lang.Throwable
java.lang.Throwable
public void testBasicInfo2() throws java.lang.Throwable
java.lang.Throwable
public void testBasicMerge() throws java.lang.Throwable
java.lang.Throwable
public void testBasicIsAdminDirectory() throws java.lang.Throwable
java.lang.Throwable
public void testBasicCancelOperation() throws java.lang.Throwable
java.lang.Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |