| |
|
| validation.JavaCVSValidationTest
JavaCVSValidationTest | public class JavaCVSValidationTest extends JellyTestCase (Code) | | XTest / JUnit test class performing validation of JavaCVS module
author: Adam Sotona See Also: JavaCVSValidationTest.suite See Also: JavaCVS validation testsuite definition version: 1.0 |
capture | final static boolean capture(Code) | | |
his | static util.History his(Code) | | |
oldComparator | Operator.StringComparator oldComparator(Code) | | store previously used comparator
|
sbt | static MainWindowOperator.StatusTextTracer sbt(Code) | | |
JavaCVSValidationTest | public JavaCVSValidationTest(String testName)(Code) | | constructor required by JUnit
Parameters: testName - method name to be used as testcase |
dumpDiffGraphical | protected void dumpDiffGraphical(TopComponentOperator tco)(Code) | | |
failNotify | protected void failNotify(Throwable reason)(Code) | | Method called in case of fail or error just after screen shot and XML dumps.
Override this method when you need to be notified about test failures or errors
but avoid any exception to be throwed from this method.
super.failNotify() does not need to be called because it is empty.
Parameters: reason - Throwable reason of current fail |
initHistory | void initHistory(FileSystem testedJavaCVSFS)(Code) | | Inicializing of History object
|
setClassVariable | void setClassVariable()(Code) | | |
setUp | protected void setUp()(Code) | | method called before each testcase
sets long Jemmy WaitComponentTimeout and switches JavaCVS UI mode
|
tearDown | protected void tearDown()(Code) | | method called after each testcase
resets Jemmy WaitComponentTimeout
|
testCommit | public void testCommit()(Code) | | invokes Commit dialog from testfile's popup menu, runs commit command and verifies that testfile has now attributes [Up-to-date; 1.1] under Explorer
throws: Exception - any unexpected exception thrown during test See Also: JavaCVSValidationTest.testAdd See Also: depends on: testAdd See Also: JavaCVSValidationTest.testDiff See Also: next: testDiff |
testCommitToBranch | public void testCommitToBranch()(Code) | | changes testfile contents again, invokes Refresh command, verifies that testfile has now attributes [LMod; 1.2] (vetev2), invokes Commit command from testfile's popup menu, verifies that testfile has now attributes [Up-to-date; 1.2.2.1] (vetev2), performs Refresh Revissions command under Revision Expplorer and looks for "1.2.2.1 no message" node inside
throws: Exception - any unexpected exception thrown during test See Also: JavaCVSValidationTest.testUpdateBranch See Also: depends on: testUpdateBranch See Also: JavaCVSValidationTest.testMerge See Also: next: testMerge |
testConnectionManager | public void testConnectionManager()(Code) | | invokes Connection Manager window from Versioning menu, adds new record and performs login
throws: Exception - any unexpected exception thrown during test See Also: JavaCVSValidationTest.testMount See Also: next: testMount |
testCreateFile | public void testCreateFile()(Code) | | creates new unique testdirectory under workdir, creates new testfile indside and verifies that both are present under Explorer's Filesystems tab with attribute [Local]
throws: Exception - any unexpected exception thrown during test See Also: JavaCVSValidationTest.testHistory See Also: depends on: testHistory See Also: JavaCVSValidationTest.testAdd See Also: next: testAdd |
testDiff | public void testDiff()(Code) | | changes testfile contents, invokes Refresh command, verifies that testfile has now attributes [LMod; 1.1] under Explorer, invokes diff command from testfile's popup menu and waits for Diff Output frame
throws: Exception - any unexpected exception thrown during test See Also: JavaCVSValidationTest.testCommit See Also: depends on: testCommit See Also: JavaCVSValidationTest.testVCSGroups See Also: next: testVCSGroups |
testMerge | public void testMerge()(Code) | | performs update of testfile with Reset Sticky option, verifies that testfile has now [Up-to-date; 1.2] attributes, swithes to Revision Explorer, performs Merge With Revision command on "1.2.2 (vetev2)" node, verifies that testfile has now [LMod; 1.2] attributes, performs Commit command on testfile's node and verifies that testfile has now [Up-to-date; 1.3] attributes
throws: Exception - any unexpected exception thrown during test See Also: JavaCVSValidationTest.testCommitToBranch See Also: depends on: testCommitToBranch See Also: JavaCVSValidationTest.testStatus See Also: next: testStatus |
testUndock | public void testUndock()(Code) | | undocks VCS Groups and Versioning frames from Explorer and closes them
throws: Exception - any unexpected exception thrown during test See Also: JavaCVSValidationTest.testUnmount See Also: depends on: testUnmount |
testUpdateBranch | public void testUpdateBranch()(Code) | | invokes Update dialog from testfile's popup menu, performs update using Tag "vetev2" and verifies that testfile has now attributes [Up-to-date; 1.2] (vetev2) under Filesystems tab
throws: Exception - any unexpected exception thrown during test See Also: JavaCVSValidationTest.testBranch See Also: depends on: testBranch See Also: JavaCVSValidationTest.testCommitToBranch See Also: next: testCommitToBranch |
testVCSGroups | public void testVCSGroups()(Code) | | adds testfile to default VCS group using popup menu, invokes VCS Groups frame from Versioning menu, docks it into Explorer, performs Verify, Commit and Delete commands on default group and verifies that testfile has now attributes [Up-to-date; 1.2] under Explorer
throws: Exception - any unexpected exception thrown during test See Also: JavaCVSValidationTest.testDiff See Also: depends on: testDiff See Also: JavaCVSValidationTest.testVersioningExplorer See Also: next: testVersioningExplorer |
testVersioningExplorer | public void testVersioningExplorer()(Code) | | invokes Versioning Explorer from testdir's popup menu, docks it into Explorer and looks for "1.1 no message" and "1.2 " nodes under testfile node inside Versioning Explorer
throws: Exception - any unexpected exception thrown during test See Also: JavaCVSValidationTest.testVCSGroups See Also: depends on: testVCSGroups See Also: JavaCVSValidationTest.testBranch See Also: next: testBranch |
|
|
|