| # | Test case | Description |
| 1 | Unlock specific revision |
1. Press CTRL key and invoke PVCS | Unlock... on "D_File [Current; 2.0.1.1] (...)" node. 2. Setup "2.0.1.1" as desired revision and push "OK" button.
|
|
RESULT:
The file must change to "D_File". |
| 2 | Lock specific revision |
1. Press CTRL key and invoke PVCS | Lock... on "D_File" node. 2. Setup "2.0" as desired revision and push "OK" button.
|
|
RESULT:
The file must change to "D_File [Current; 2.1] (...)". |
| 3 | Unlock by user |
1. Press CTRL key and invoke PVCS | Unlock... on "D_File [Current; 2.1] (...)" node. 2. Setup your name as desired user and push "OK" button.
|
|
RESULT:
The file must change to "D_File". |
| 4 | Lock by version label |
1. Press CTRL key and invoke PVCS | Lock... on "Formular" node. 2. Choose "Revisions identified by version label(s)" radio button. 3. Setup "floating_version:My_Version" as desired version label and push "OK" button.
|
|
RESULT:
The file must change to "Formular [Current; 1.1] (...)". |
| 5 | Unlock trunk revision |
1. Hold CTRL key and right click "Formular [Current; 1.1] (...)" node. 2. Choose PVCS | Unlock... popup menu action and push "OK" button.
|
|
RESULT:
The file must change back to "Formular". |
| 6 | Local refreshing |
1. Externally delete D_File.java file. 2. Within 15 seconds invoke PVCS | Refresh on "D_File" node. 3. The file must immediately change to "D_File.java [Missing]". 4. Press CTRL key and invoke PVCS | Get... on "D_File.java [Missing]" node. 5. Setup "Version Label" as "floating_version" and push "OK" button. Then repeat step 1. 6. Within 15 seconds invoke PVCS | Refresh on "test" node.
|
|
RESULT:
The file must immediately change to "D_File.java [Missing]". |
| 7 | Recursive checkout |
1. Invoke PVCS | Get on Test node. 2. Uncheck "Get all subdirectories" and push "OK" button. 3. Close the "Retrieving" dialog once it's done. 4. The "D_File.java" node must stay still as [Missing]. 5. Repeat step 1 and push "OK" button directly.
|
|
RESULT:
Once "Retrieving..." dialog has finished its work, the node must immediately change to "D_File". |
| 8 | Recursive refreshing |
1. Externally delete D_File.java file. 2. Within 15 seconds invoke PVCS | Refresh Recursively on "Test" node.
|
|
RESULT:
Once "Retrieving..." dialog has finished its work, the file must immediately change to "D_File.java [Missing]". |
| 9 | Recursive checkout by date |
1. Press CTRL key and invoke PVCS | Get... on Test node. 2. Check "Check out by date" and push "OK" button.
|
|
RESULT:
Once "Retrieving..." dialog has finished its work, the node must immediately change to "D_File". |
| 10 | Checkout newer revision |
1. Externally delete D_File.java file. 2. Press CTRL key and invoke PVCS | Get... on D_File.java [Missing] node. 3. Check "Check out by date" and choose "Revision newer than date/time" option. 4. Set it to yesterday's date in format mm/dd/yy hh:mm:ss and push "OK" button.
|
|
RESULT:
The node must change to "D_File". |
| 11 | Checkout older revision |
1. Externally delete D_File.java file. 2. Press CTRL key and invoke PVCS | Get... on D_File.java [Missing] node. 3. Check "Check out by date" and choose "Revision checked in before" option. 4. Set it to tomorrow's date in format mm/dd/yy hh:mm:ss and push "OK" button.
|
|
RESULT:
The node must change to "D_File". |
| 12 | Diff specific revisions |
1. Press CTRL key and invoke PVCS | Diff... on A_File node. 2. Setup "1.0" as "Revision 1". 3. Setup "1.1" as "Revision 2" and push "OK" button.
|
|
RESULT:
Exactly the same window as in "4.3 View differences" test case must get opened into editor. |
| 13 | Diff by version labels |
1. Press CTRL key and invoke PVCS | Diff... on A_File node. 2. Choose "Version label 1" option and set it up to "floating_version". 3. Choose "Version label 2" option and set it up to "My_Version" and push "OK" button.
|
|
RESULT:
"No differences were found in D_File.java" message dialog must show up. |
| 14 | Diff without whitespaces |
1. Invoke PVCS | Get on B_File node. 2. Check both checkboxes and push "OK" button. 3. Open "B_File [Current; 1.1] (...)". 4. Change some word at one line and press TAB key at beginning of another line. Save the file. 5. Press CTRL key and invoke PVCS | Diff... on B_File [Locally Modified; 1.1] (...) node. 6. Check "Ignore white spaces at beginning and end of line" checkbox and push "OK" button.
|
|
|
RESULT:
Diff window must highlight only one line with the modified word. |
| 15 | Generate delta file |
1. Press CTRL key and invoke PVCS | Diff... on B_File [Locally Modified; 1.1] (...) node. 2. Check "Generate delta file" checkbox. 3. Setup "Delta output file" to e.g. "D:\Tests\PVCS\Repo1\delta.txt" and push "OK" button.
|
|
RESULT:
Status line must say "Command Diff finished." Make sure that "D:\Tests\PVCS\Repo1\delta.txt" file has been really created. |
| 16 | Apply delta file |
1. Invoke PVCS | Get on B_File [Locally Modified; 1.1] (...) node. 2. Check "Check out writable workfile" and push "OK". 3. Invoke PVCS | Apply Delta on B_File [Current; 1.1] (...) node. 4. Use "Browse..." button to setup "Delta file" to "D:\Tests\PVCS\Repo1\delta.txt" and push "OK" button.
|
|
RESULT:
Status line must say "Command Apply Delta finished." and the file contains changes made in test case "5.13 Diff without whitespaces". |
| 17 | Create 3 more revisions |
1. Press CTRL key and invoke PVCS | Put... on B_File [Locally Modified; 1.1] (...) node. 2. Check "Apply a lock on checkout" and setup "Change Description" to "One minor change done.". 3. Setup "Assign a version label" to "Revision_A" and push "OK". 4. Change some other line, Save the file and repeat steps 1 and 2. 5. Setup "Assign a version label" to "Revision_B" and push "OK". 6. Change some other line, Save the file and repeat steps 1 and 2. 7. Setup "Assign a version label" to "Revision_C" and push "OK".
|
|
RESULT:
The node must change to "B_File [Current; 1.4] (...)". |
| 18 | Merge by revisions |
1. Invoke PVCS | Merge on "B_File [Current; 1.4] (...)" node. 2. Setup "1.1" as "Parent Revision Number". 3. Setup "1.2" as "Branch Point 1 Revision Number". 4. Setup "1.3" as "Branch Point 2 Revision Number" and push "OK" button.
|
|
RESULT:
The node must change to "B_File [Locally Modified; 1.4] (...)". Make sure the file contains all changes from those three revisions. |
| 19 | Merge by version labels |
1. Press CTRL key and invoke PVCS | Merge... on "B_File [Current; 1.4] (...)" node. 2. Setup "Revision_A" as "Parent Version Label". 3. Setup "Revision_B" as "Branch Point 1 Version Label". 4. Setup "Revision_C" as "Branch Point 2 Version Label". 5. Setup e.g. "D:\Tests\PVCS\Repo1\B_File.merged" and push "OK" button.
|
|
RESULT:
Make sure that "D:\Tests\PVCS\Repo1\B_File.merged" file contains all changes from those three revisions. |
| 20 | View selected information |
1. Press CTRL key and invoke PVCS | History... on "B_File [Current; 1.4] (...)" node. 2. Choose "Revision information only" as "Report type". 3. Setup "1.2" as "Revision". 4. Setup your name as "Author(s)" and "Owner(s)". 5. Setup 12/12/01 00:00:00 as "Date from". 6. Setup 12/12/05 00:00:00 as "Date to" and push "OK" button.
|
|
|
RESULT:
Make sure that only information about revision 1.2 was printed without standard header. |
| 21 | Remove particular revision |
1. Invoke PVCS | Remove on "B_File [Current; 1.4] (...)" node. 2. Confirm your decision. Choose "Specific revision(s)" option, set it up to "1.2" and push "OK" button. 3. Choose "Revisions identified by version label(s)" option, set it up to "Revision_A" and push "OK" button.
|
|
|
RESULT:
Make sure that PVCS | History command does not give any information about revision 1.2 any more. |
| 22 | Set password |
1. Create new command "Test" with execution string cmd /x /c "echo ${PASSWORD}" and turn on its "Display Output" property. 2. Invoke PVCS | Set Password command on the filesystem. 3. Type in "abcd" and push "OK" button. 4. Invoke Test command on the filesystem.
|
|
RESULT:
Verify that there is "abcd" printed in the "Standard Output" tab of output window. |
| 23 | Other recursive commands |
1. Test functionality of PVCS | Add command on "test" node. 2. Test functionality of PVCS | Lock command on "Test" node. 3. Test functionality of PVCS | Unlock command on "Test" node. 4. Test functionality of PVCS | History command on "Test" node.
|
|
RESULT:
Make sure that these commands works fine according to how "Proceed all subdirectories" checkbox is set. |