org.tigris.subversion.javahl.tests

Class BasicTests

public class BasicTests extends SVNTests

Tests the basic functionality of javahl binding (inspired by the tests in subversion/tests/cmdline/basic_tests.py).
Field Summary
static StringtestName
base name of all our tests
Constructor Summary
BasicTests()
Initialize the testBaseName and the testCounter, if this is the first test of this class
Method Summary
static voidmain(String[] args)
Main method to run tests standalone
static TestSuitesuite()
Build a test suite of all tests of this class
voidtestBasicAddIgnores()
test the basis SVNClient.add functionality with files that should be ignored
voidtestBasicCancelOperation()
voidtestBasicCat()
test the basic SVNClient.fileContent functionality
voidtestBasicCatStream()
test the basic SVNClient.fileContent functionality
voidtestBasicCheckout()
test the basic SVNClient.checkout functionality
voidtestBasicCheckoutDeleted()
voidtestBasicCleanup()
test the basic SVNClient.cleanup functionality
voidtestBasicCommit()
test the basic SVNClient.commit functionality
voidtestBasicConflict()
test the basic SVNClient.update functionality with concurrent changes in the repository and the working copy that generate conflicts
voidtestBasicDelete()
test the basic SVNClient.remove functionality
voidtestBasicImport()
Test the basic SVNClient.import functionality
voidtestBasicImportIgnores()
test the basis SVNClient.import functionality with files that should be ignored
voidtestBasicInfo()
test the basic SVNClient.info functionality
voidtestBasicInfo2()
test the baisc SVNClient.info2 functionality
voidtestBasicIsAdminDirectory()
test the basic SVNClient.isAdminDirectory functionality
voidtestBasicLocking()
test the baisc SVNClient locking functionality
voidtestBasicLogMessage()
test the basic SVNClient.logMessage functionality
voidtestBasicLs()
test the basic SVNClient.list functionality
voidtestBasicMerge()
test the basic SVNClient.merge functionality
voidtestBasicMergingUpdate()
test the basic SVNClient.update functionality with concurrent changes in the repository and the working copy
voidtestBasicMkdirUrl()
test basic SVNClient.mkdir with url parameter functionality
voidtestBasicNodeKindChange()
Test if Subversion will detect the change of a file to a direcory
voidtestBasicRevert()
Test the basic SVNClient.revert functionality
voidtestBasicStatus()
test the basic SVNClient.status functionality
voidtestBasicSwitch()
thest the basic SVNClient.switch functionality
voidtestBasicUpdate()
test the basic SVNClient.update functionality
voidtestBasicVersionInfo()
test the basic SVNClient.getVersionInfo functionality
voidtestPathValidation()
Tests Subversion path validation.
voidtestVersion()
Test SVNClient.getVersion().

Field Detail

testName

public static final String testName
base name of all our tests

Constructor Detail

BasicTests

public BasicTests()
Initialize the testBaseName and the testCounter, if this is the first test of this class

Method Detail

main

public static void main(String[] args)
Main method to run tests standalone

Parameters: args command line arguments to specify root directory and root url

suite

public static TestSuite suite()
Build a test suite of all tests of this class

Returns: the new test suite

testBasicAddIgnores

public void testBasicAddIgnores()
test the basis SVNClient.add functionality with files that should be ignored

Throws: Throwable

testBasicCancelOperation

public void testBasicCancelOperation()

testBasicCat

public void testBasicCat()
test the basic SVNClient.fileContent functionality

Throws: Throwable

testBasicCatStream

public void testBasicCatStream()
test the basic SVNClient.fileContent functionality

Throws: Throwable

testBasicCheckout

public void testBasicCheckout()
test the basic SVNClient.checkout functionality

Throws: Throwable

testBasicCheckoutDeleted

public void testBasicCheckoutDeleted()

testBasicCleanup

public void testBasicCleanup()
test the basic SVNClient.cleanup functionality

Throws: Throwable

testBasicCommit

public void testBasicCommit()
test the basic SVNClient.commit functionality

Throws: Throwable

testBasicConflict

public void testBasicConflict()
test the basic SVNClient.update functionality with concurrent changes in the repository and the working copy that generate conflicts

Throws: Throwable

testBasicDelete

public void testBasicDelete()
test the basic SVNClient.remove functionality

Throws: Throwable

testBasicImport

public void testBasicImport()
Test the basic SVNClient.import functionality

Throws: Throwable

testBasicImportIgnores

public void testBasicImportIgnores()
test the basis SVNClient.import functionality with files that should be ignored

Throws: Throwable

testBasicInfo

public void testBasicInfo()
test the basic SVNClient.info functionality

Throws: Throwable

testBasicInfo2

public void testBasicInfo2()
test the baisc SVNClient.info2 functionality

Throws: Throwable

Since: 1.2

testBasicIsAdminDirectory

public void testBasicIsAdminDirectory()
test the basic SVNClient.isAdminDirectory functionality

Throws: Throwable

Since: 1.2

testBasicLocking

public void testBasicLocking()
test the baisc SVNClient locking functionality

Throws: Throwable

Since: 1.2

testBasicLogMessage

public void testBasicLogMessage()
test the basic SVNClient.logMessage functionality

Throws: Throwable

testBasicLs

public void testBasicLs()
test the basic SVNClient.list functionality

Throws: Throwable

testBasicMerge

public void testBasicMerge()
test the basic SVNClient.merge functionality

Throws: Throwable

Since: 1.2

testBasicMergingUpdate

public void testBasicMergingUpdate()
test the basic SVNClient.update functionality with concurrent changes in the repository and the working copy

Throws: Throwable

testBasicMkdirUrl

public void testBasicMkdirUrl()
test basic SVNClient.mkdir with url parameter functionality

Throws: Throwable

testBasicNodeKindChange

public void testBasicNodeKindChange()
Test if Subversion will detect the change of a file to a direcory

Throws: Throwable

testBasicRevert

public void testBasicRevert()
Test the basic SVNClient.revert functionality

Throws: Throwable

testBasicStatus

public void testBasicStatus()
test the basic SVNClient.status functionality

Throws: Throwable

testBasicSwitch

public void testBasicSwitch()
thest the basic SVNClient.switch functionality

Throws: Throwable

testBasicUpdate

public void testBasicUpdate()
test the basic SVNClient.update functionality

Throws: Throwable

testBasicVersionInfo

public void testBasicVersionInfo()
test the basic SVNClient.getVersionInfo functionality

Throws: Throwable

Since: 1.2

testPathValidation

public void testPathValidation()
Tests Subversion path validation.

testVersion

public void testVersion()
Test SVNClient.getVersion().

Throws: Throwable