| # |
Action |
Description |
| 5.0.1 |
|
Export command |
| 5.1 |
Default Export working
  |
Use the same files as in previous steps. Right-click on CVS
root node and select "CVS|Export" action. Fill "Folder to Export to"
field with destination directory (for example: /tmp). Press OK. Whole
files should be exported from CVS repository into destination
directory. Delete all files in destination directory. |
| 5.2 |
Module/Tag/Date |
Export files using the same steps as in 4.10 but specify
module for export using "Module(s)" field. Press OK. Check results.
Destination directory should contain same structure that is in CVS
repository. Delete all files. Export files using the same steps as in
4.10 but specify "Branch Tag" another then main trunk. Check results.
Delete all files. Export files using the same steps as in 4.10 but
specify "Date". Check results (files should correspont to files that
were in CVS repository in specified date). Delete all files. |
| 5.3 |
Match HEAD revision |
Export files using the same steps as in 4.10 but check "Force
a Head Revision Match if Tag/Date not found" checkbox and fill "Date"
field with "1990/01/01". Press OK. All exported files should be files
from HEAD of main trunk. Delete all files. |
| 5.4 |
Keyword substitution |
Export files using the same steps as in 4.10 but select
"Binary (-kb)" item in "Keyword substitution" field. Press OK. All
exported files should be checked out with "-kb" sticky options
(therefore no platform character conversions should be applied). Delete
all files. |
| 5.5 |
Advanced options |
Export files using the same steps as in 4.10 but
check/uncheck "Run the Module Program (if any)" and "Process Directory
Recursively" checkbox. If you checked first checkbox, check if module
program is started on server side. If you checked second checkbox, all
files in exporting directory and its subdirectories is export. This
checkbox is presented only on directory nodes. |
| 5.0.2 |
|
Editing command |
| 5.6 |
Edit working
  |
Use "Dir4" directory and "File1" file for this test case.
Right-click on "Dir4" node and select "CVS|Editing|Edit" action. Check
both check boxes and select "All" in combo box. Press OK. |
| 5.7 |
Undo Edit working
  |
Change something in "File1" using NBEditor and save it.
Right-click on "File1 [Locally modified; 1.1.1.1]" node and select
"CVS|Editing|Undo Edit" action. You will be asking if you are really
sure to revert changes. Press Yes. "File1" should be "Up-to-date" and
no change should be presented in the file. |
| 5.8 |
Editors working
  |
Right-click on "Dir4" node and select "CVS|Editing|Editors"
action. In the "Output of CVS Command" window there should be listed
all files in "Dir4" directory. |
| 5.0.3 |
|
Watches command |
| 5.9 |
Watch On/Off working |
For performing this testcase, use the same files as in 4.10.
Right-click on "Dir1" node and select "CVS|Watches|Watch On" action.
Information dialog with message "The file Dir1 is being watched."
should appear. Press OK. For performing this testcase, use the same
files as in 4.10. Right-click on "Dir1" node and select
"CVS|Watches|Watch Off" action. Information dialog with message "The
file Dir1 is has stopped being watched." should appear. Press OK. |
| 5.10 |
Set Watch/Watchers working
  |
Right-click on "Dir2" node and select "CVS|Watches|Set Watch
..." action. Dialog should appear. Check all checkboxes. Press OK.
Right-click on "Dir1" node and select "CVS|Watches|Watchers" action. In
the "Output of CVS Command" window there should be line with
"Dir1/Dir2/File2 user edit unedit commit" only. Right-click on "Dir1"
node and select "CVS|Watches|Set Watch..." action. Dialog should
appear. Uncheck all checkboxes. Select "Set Watch Recursively" radio
button. Press OK. Right-click on "Dir1" node and select
"CVS|Watches|Watchers" action. In the "Output of CVS Command" window
there should not be line with "Dir1/Dir2/File2 user edit unedit
commit". |
| 5.0.4 |
|
Locking command |
| 5.11 |
Lock working
 |
For performing this testcase, use the same files as in 4.10.
Right-click on "File1" node and select "CVS|Locking|Lock" action. Try
to change this file using NBEditor - it should disallow to change this
file. Modify "File1" file using external tool and try to commit changes
into CVS. In the Output Window there should be error messages saying
that file is locked.
|
| 5.12 |
Unlock working
 |
Right-click on "File1" node and select "CVS|Locking|Unlock"
action. Commit changes into CVS. In the Output Window there should not
be any additional error messages. |
| 5.0.5 |
|
Branching/Tagging commands |
| 5.13 |
Add Tag working
  |
From this test case, use file structure defined for test case
3.1. Right click D_File [Up-to-date; 1.1] node and choose
CVS |
Branching And Tagging | Add Tag command. Setup MyBranch
as Tag Name, check Branch Tag checkbox and
select 1.1
revision using "Select..." button to On
Revision textfield. Push "OK" button and using CVS | Log command verify that the
branch was indeed created. |
| 5.14 |
Remove Sticky Tag working
  |
Using CVS | Update...
command checkout MyBranch
branch. Open the file, change some line and CVS | Commit it
as revision 1.1.2.1. Right click D_File
[Up-to-date; 1.1.2.1] (MyBranch) node and
invoke CVS | Update
action. Check "Reset Sticky
Tags/Dates" checkbox and press OK. Make sure that (MyBranch)
sticky tag disappeared and the
file is in 1.1 revision. |
| 5.15 |
Merge working |
Right click D_File [Up-to-date; 1.1] node and
choose CVS
| Update action from its popup menu. Check "Merge With
Differences Between Two Revisions" check. type HEAD into
"Revision 1" and 1.1.0.2 MyBranch
into "Revision 2".
Push "OK" button and verify that your file is [Locally Modified;
1.1] and contains changes made
in MyBranch branch. |
| 5.16 |
Remove Tag working |
Right click D_File [Locally Modified; 1.1] node
and choose CVS
| Branching And Tagging | Remove Tag action from its popup
menu. Using "Select..." buttons select 1.1.0.2 MyBranch
tag and click "OK" button. Using CVS
| Log
command verify that MyBranch tag name does not exist any
more. |
| 5.17 |
View Branches working
 |
Right click D_File [Locally Modified; 1.1] node
and choose CVS
| Branching And Tagging | View Branches action from its
popup menu. Verify that there are three boxes
displayed: 1.1, 1.1.2 and 1.1.2.1.
Left click 1.1 box, right
click 1.1.2.1 box and push "Diff" button. The diff window
must show up highlighting your changes. |
| 5.0.6 |
|
Diff commands |
| 5.18 |
Default Diff Graphical working
  |
Right click D_File [Locally Modified; 1.1] node
and choose CVS
| Diff Graphical action from its popup menu. Verify that
removed lines are highlighted as red, new lines
have green colour and modified should be blue. Make sure that both
buttons above text area move view area along
the differences forward and backward. Also verify that line numbers are
not broken and show correct values. |
| 5.19 |
Default Diff Textual working
  |
Right click D_File [Locally Modified; 1.1] node
and choose CVS
| Diff Textual action from its popup menu. Verify that Output
of VCS Commands [Diff Textual]
window was opened and contains correct textual result of cvs diff
command. |
| 5.20 |
Tag/Date selection |
Right click D_File [Locally Modified; 1.1]
node, hold down CTRL key and choose CVS | Diff Graphical... action from its
popup
menu. Using "Select..." buttons
choose 1.1.2.1 as "Revision or Tag 1" and HEAD
as "Revision or Tag 2" option. Push
"OK" button. Verify that shown differences are correct. Repeat the same
action but set tomorrow
as "Date 1" option instead of setting "Revision or Tag 2" option.
Verify that result is correct. |
| 5.21 |
Keyword substitution |
Add // $Revision: 1.2 $ line to the source of D_File.
CVS | Commit the
file twice. Use "Force Commit" option in the second case. Right click D_File
[Up-to-date; 1.3] node, hold down CTRL key and choose CVS | Diff
Graphical... action from its popup menu. Select 1.2
as "Revision or Tag 1", 1.2
as "Revision or Tag 2" and choose -kb option from
"Keyword Substitution" setting. Push "OK" button
and verify that the differences are correct. Left pane must contain
blue // $Revision: 1.2 $ line and
right pane must contain blue // $Revision: 1.2 $ line. |
| 5.22 |
Ignore options |
Delete the space between some two words in your D_File
and save it. Right click D_File [Locally Modified;
1.3] node, hold down CTRL key and choose CVS | Diff Graphical...
action from its popup menu. Check "Ignore Changes In The Amount Of
White Spaces" checkbox and push "OK". Information dialog about no
differences
must be shown. Now change some word to uppercase at another line and
save the file. Invoke the CVS |
Diff Graphical... again and check "Ignore Case" option.
Again no differences
must be found. Now add one more space somewhere in your code and save
it. Verify that "Ignore Changes In The Amount Of
White Spaces" option checked will not show any differences again. |
| 5.23 |
Format options |
Right click D_File [Locally Modified; 1.3]
node, hold down CTRL key and choose CVS | Diff Textual... action from its
popup menu.
Select "Context Format" option and push "OK" button.
Verify that output will contain some source context of each difference.
Do the same with "Unidiff Format" and verify that
diff result has unidiff format. It means differences in @@ pairs and
source highlighted by +- characters. |
| 5.0.7 |
|
Patch command |
| 5.24 |
Default Patch working
  |
CVS | Commit
your D_File to create revision 1.4
Right click D_File [Up-to-date; 1.4] node and choose CVS | Patch action from its
popup menu. Push "OK" button. Verify that
differences between revisions 1.3 and 1.4 were displayed
into output window. Verify that if you right click in the result area
you are able to save the output to file according to
what you select. |
| 5.25 |
Format selection |
Right click D_File [Up-to-date; 1.4] node and
choose CVS | Patch
action from its popup menu. Select "Unidiff Format" and
verify that patch result has unidiff format. Right click test
node and choose CVS | Patch
action from its popup menu.
Select "Short patch - one line per file" option, uncheck "Top two
diffs" checkbox, select 1.1 as "Revision
or Tag", 1.2 as "Revision or Tag 2" option and push "OK"
button. Verify that appropriate number of lines were
printed into output window. |
| 5.26 |
Tag/Date selection |
Right click D_File [Up-to-date; 1.4] node and
choose CVS | Patch
action from its popup menu. Uncheck "Top two diffs"
checkbox, select last week as "Date", now
as "Date 2" option and push "OK" button. Verify that correct result was
printed and execution string is correct. |
| 5.27 |
Match HEAD revision |
Right click D_File [Up-to-date; 1.4] node and
choose CVS | Patch
action from its popup menu. Uncheck "Top two diffs"
checkbox, select 1.1 as "Revision or Tag", 1.10
as "Revision or Tag 2" option, check "Force a Head Revision Match if
Tag/Date not found" checkbox and push "OK" button. Verify that correct
result
was printed and execution string is correct. |
| 5.0.8 |
|
Login / Logout command |
| 5.28 |
Logout working |
Mount CVS filesystem connected to some password server. Right
click some file and choose CVS
| Refresh action from its popup menu. Command must succeed.
Now invoke CVS |
Logout command. It must also succeed. Now run CVS | Refresh again and
it must fail. |
| 5.29 |
Login working
 |
Right click some file and choose CVS | Login action from its popup menu.
Write
correct password and push "Login" button. There will be "Connecting to
the server ..." status message displayed for some time and
then the dialog must disappear. Run CVS | Refresh on some file again and it
must succeed. |