| 9 |
<h1> |
<h1> |
| 10 |
Scenario: Updating Eclipse Install Using Eclipse Update 3.0</h1> |
Scenario: Updating Eclipse Install Using Eclipse Update 3.0</h1> |
| 11 |
Last Updated: |
Last Updated: |
| 12 |
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%A, %B %d, %Y" startspan -->Friday, May 30, 2003<!--webbot bot="Timestamp" endspan i-CheckSum="24875" --><p> |
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%A, %B %d, %Y" startspan -->Monday, June 02, 2003<!--webbot bot="Timestamp" endspan i-CheckSum="27835" --><p> |
| 13 |
<i>Note: This is the draft of the new test scenarios that are based on 2.1 |
<i>Note: This is the draft of the new test scenarios that are based on 2.1 |
| 14 |
version but take into account redesigned Eclipse Update user interface. Some of |
version but take into account redesigned Eclipse Update user interface. Some of |
| 15 |
the old functionality may not be available in the new UI, making some scenarios |
the old functionality may not be available in the new UI, making some scenarios |
| 662 |
Press [Next].<br> |
Press [Next].<br> |
| 663 |
B2. After accepting the license, verify that features 'XYZBogus' and 'Bogus' are |
B2. After accepting the license, verify that features 'XYZBogus' and 'Bogus' are |
| 664 |
checked and grayed out in 'Optional Features' page, while 'XYZ' plug-ins is |
checked and grayed out in 'Optional Features' page, while 'XYZ' plug-ins is |
| 665 |
unchecked (leave it unchecked). Install and restart.</p> |
unchecked (leave it unchecked). Install and restart.<br> |
| 666 |
<p><font color="#FF0000">Bug #38270:</font> <font color="#0000FF"> |
B3. Using Configuration Manager, verify that we now have Root 1.0.1 installed that is still without XYZ |
|
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=38270">[new UI] Part |
|
|
3,B2: Bogus is not grayed out, XYZ is checked in the Optional Features page</a></font></p> |
|
|
<p>B3. Using Configuration Manager, verify that we now have Root 1.0.1 installed that is still without XYZ |
|
| 667 |
feature (XYZ 1.0.1 shows as 'not installed').</p> |
feature (XYZ 1.0.1 shows as 'not installed').</p> |
| 668 |
<h2>C. Preserving the state of the optional feature</h2> |
<h2>C. Preserving the state of the optional feature</h2> |
| 669 |
<p>C1. Close Eclipse. Manually delete all 'com.example.*' features from the |
<p>C1. Close Eclipse. Manually delete all 'com.example.*' features from the |
| 677 |
Restart.<br> |
Restart.<br> |
| 678 |
C5. Verify that 'XYZ 1.0.0' feature is now disabled in the 'Root 1.0.0' |
C5. Verify that 'XYZ 1.0.0' feature is now disabled in the 'Root 1.0.0' |
| 679 |
hierarchy (you will need to make disabled features visible in the view to do |
hierarchy (you will need to make disabled features visible in the view to do |
| 680 |
that).</p> |
that).<br> |
| 681 |
<p><font color="#FF0000">Bug #38275:</font> |
C6. Open the New Updates wizard, press [Next], [Next], find Root 1.0.1 feature, |
|
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=38275">[new UI] Part |
|
|
3,C5: Optional feature XYZ 1.0.0 visible when disabled with the filter on</a></p> |
|
|
<p>C6. Open the New Updates wizard, press [Next], [Next], find Root 1.0.1 feature, |
|
| 682 |
press [Next].<br> |
press [Next].<br> |
| 683 |
C7. After accepting the license, leave all settings default and install the new |
C7. After accepting the license, leave all settings default and install the new |
| 684 |
version. Restart.<br> |
version. Restart.<br> |
| 687 |
installed but disabled </b>(we are testing whether the original state of XYZ |
installed but disabled </b>(we are testing whether the original state of XYZ |
| 688 |
1.0.0 was preserved during the update). The expected outcome is that the new |
1.0.0 was preserved during the update). The expected outcome is that the new |
| 689 |
version of XYZ is installed but it remains disabled as before.</p> |
version of XYZ is installed but it remains disabled as before.</p> |
|
<p><font color="#FF0000">Bug #38272:</font> |
|
|
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=38272">[new UI] Part3,C8: |
|
|
Optional feature state is not preserved after update</a></p> |
|
| 690 |
<h2><font color="#FF00FF">D1. Installing the missing optional feature (from the originating site) |
<h2><font color="#FF00FF">D1. Installing the missing optional feature (from the originating site) |
| 691 |
[cannot be done in the new UI]</font></h2> |
[cannot be done in the new UI]</font></h2> |
| 692 |
<p><font color="#FF00FF">D1.1. Repeat cleanup as in C1.<br> |
<p><font color="#FF00FF">D1.1. Repeat cleanup as in C1.<br> |
| 744 |
again because we now have previous version of XYZ and it can now bring it up to |
again because we now have previous version of XYZ and it can now bring it up to |
| 745 |
1.0.1. Reinstall Root 1.0.1 and restart.<br> |
1.0.1. Reinstall Root 1.0.1 and restart.<br> |
| 746 |
F8. Verify in the configuration that XYZ 1.0.1 is now installed and enabled.</p> |
F8. Verify in the configuration that XYZ 1.0.1 is now installed and enabled.</p> |
|
<p><font color="#FF0000">Bug #38274:</font> <font color="#0000FF"> |
|
|
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=38274">[new UI] Part |
|
|
3,F7: Root 1.0.1 is disabled and XYZ 1.0.1 is left orphaned.</a></font></p> |
|
| 747 |
<p><font color="#0000FF">Note: as you go through the the scenarios G, H and I |
<p><font color="#0000FF">Note: as you go through the the scenarios G, H and I |
| 748 |
that deal with e-fixes, it is recommended to increase the coverage by switching |
that deal with e-fixes, it is recommended to increase the coverage by switching |
| 749 |
between multiple workspaces (install couple of e-fixes, then start with a new |
between multiple workspaces (install couple of e-fixes, then start with a new |
| 784 |
backup". [This cannot be done in the new UI]</font></p> |
backup". [This cannot be done in the new UI]</font></p> |
| 785 |
<h2>H. Updating feature branches with partial patch cleanup</h2> |
<h2>H. Updating feature branches with partial patch cleanup</h2> |
| 786 |
<p>H1. After installing patch e452 in scenario G2, search for new updates by |
<p>H1. After installing patch e452 in scenario G2, search for new updates by |
| 787 |
selecting 'Window->Updates->New Updates'. <br> |
selecting 'Window->Updates->New Updates' (ensure that the first radio |
| 788 |
H2. When the update wizard comes up with the results, uncheck the checkbox |
button is selected). <br> |
| 789 |
|
H2. When the search finishes, uncheck the checkbox |
| 790 |
'Filter features included ...'. Uncheck "Root 1.0.1" and check "XYZBogus 1.0.1" |
'Filter features included ...'. Uncheck "Root 1.0.1" and check "XYZBogus 1.0.1" |
| 791 |
from the list of search results. <font color="#0000FF">Cool: this demonstrates |
from the list of search results. <font color="#0000FF">Cool: this demonstrates |
| 792 |
how branches in the feature hierarchy can be individually updated.</font><br> |
how branches in the feature hierarchy can be individually updated.</font><br> |
| 807 |
being an update to XYZBogus 1.0.0, contains all the fixes registered for |
being an update to XYZBogus 1.0.0, contains all the fixes registered for |
| 808 |
XYZBogus 1.0.0, including e388. It concludes that EFIX e452 will indirectly |
XYZBogus 1.0.0, including e388. It concludes that EFIX e452 will indirectly |
| 809 |
satisfy its need for e388 through XYZBogus 1.0.1 code.</font></p> |
satisfy its need for e388 through XYZBogus 1.0.1 code.</font></p> |
| 810 |
|
<p><font color="#FF0000">Bug #3840:</font> |
| 811 |
|
<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=38340">[new UI] Part3,H4: |
| 812 |
|
EFIX e452 is not configured properly</a></p> |
| 813 |
<h2>I. Updating feature root with patch cleanup</h2> |
<h2>I. Updating feature root with patch cleanup</h2> |
| 814 |
<p>I1. After updating XYZBogus in scenario H, search for updates again. This |
<p>I1. After updating XYZBogus in scenario H, search for updates again. This |
| 815 |
time, accept the default (Root 1.0.1) and install it.<br> |
time, choose Root 1.0.1 and install it.<br> |
| 816 |
I2. After restart, verify that Root 1.0.1 is installed and that all the included |
I2. After restart, verify that Root 1.0.1 is installed and that all the included |
| 817 |
features are version 1.0.1. Also verify that there are no e-fixes left enabled |
features are version 1.0.1. Also verify that there are no e-fixes left enabled |
| 818 |
in the configuration.<br> |
in the configuration.<br> |
| 856 |
features will be simultaneously updated to version 1.0.1.<br> |
features will be simultaneously updated to version 1.0.1.<br> |
| 857 |
J11. After restart, verify that the current configuration shows no warning |
J11. After restart, verify that the current configuration shows no warning |
| 858 |
overlays.</p> |
overlays.</p> |
| 859 |
<h2>K. Web-triggered updates</h2> |
<h2><font color="#FF00FF">[The following steps don't work in the new UI]</font></h2> |
| 860 |
<p>Update Manager has a neat feature whereby it can run a Web application and |
<h2><font color="#FF00FF">K. Web-triggered updates</font></h2> |
| 861 |
|
<p><font color="#FF00FF">Update Manager has a neat feature whereby it can run a Web application and |
| 862 |
accept calls from a browser with the right URL. Tasks like presentation, search, |
accept calls from a browser with the right URL. Tasks like presentation, search, |
| 863 |
classification, user verification etc. can all be handled by the provider's web |
classification, user verification etc. can all be handled by the provider's web |
| 864 |
site (presumably running a Web application itself). Features and plug-ins are |
site (presumably running a Web application itself). Features and plug-ins are |
| 866 |
When users click on 'Download' or similar buttons or links, a URL query is |
When users click on 'Download' or similar buttons or links, a URL query is |
| 867 |
composed and sent to Eclipse with the Update Web application running. Update |
composed and sent to Eclipse with the Update Web application running. Update |
| 868 |
servlet receives the query and initiates the install process. At this point, we |
servlet receives the query and initiates the install process. At this point, we |
| 869 |
are in the familiar install wizard.</p> |
are in the familiar install wizard.</font></p> |
| 870 |
Available sites: |
<font color="#FF00FF">Available sites: </font> |
| 871 |
<ul> |
<ul> |
| 872 |
<li><a href="http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform-update-home/optionalSite/index.html">http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-update-home/optionalSite/index.html</a> |
<li><a href="http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform-update-home/optionalSite/index.html"> |
| 873 |
|
<font color="#FF00FF">http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-update-home/optionalSite/index.html</font></a><font color="#FF00FF"> |
| 874 |
|
</font> |
| 875 |
</li> |
</li> |
| 876 |
</ul> |
</ul> |
| 877 |
<p>K1. Repeat the cleanup as in C1.<br> |
<p><font color="#FF00FF">K1. Repeat the cleanup as in Part 3,C1.<br> |
| 878 |
K2. Open "Preferences" dialog and select "Install/Update->Web-triggered updates" |
K2. Open "Preferences" dialog and select "Install/Update->Web-triggered updates" |
| 879 |
page. Turn the web application on. When pressing "OK" there will be a couple of |
page. Turn the web application on. When pressing "OK" there will be a couple of |
| 880 |
seconds delay (starting the Tomcat server).<br> |
seconds delay (starting the Tomcat server).<br> |
| 893 |
up indicating that the requested feature is already installed.<br> |
up indicating that the requested feature is already installed.<br> |
| 894 |
K7. Click on the 'Download' button for the feature Root 1.0.1. This one should |
K7. Click on the 'Download' button for the feature Root 1.0.1. This one should |
| 895 |
be treated as an update. Follow it to the end and restart.<br> |
be treated as an update. Follow it to the end and restart.<br> |
| 896 |
K8. Verify that the configuration shows the correct features.</p> |
K8. Verify that the configuration shows the correct features.</font></p> |
| 897 |
|
|
| 898 |
<h2>L. Updates view clipboard operations</h2> |
<h2><font color="#FF00FF">L. Updates view clipboard operations</font></h2> |
| 899 |
|
|
| 900 |
<p>L1. The following objects in the Updates view support clipboard operations: |
<p><font color="#FF00FF">L1. The following objects in the Updates view support clipboard operations: |
| 901 |
site bookmarks, folders and searches. Spend some time creating new bookmarks, |
site bookmarks, folders and searches. Spend some time creating new bookmarks, |
| 902 |
folders and searches, and rearranging them using both clipboard (cut/copy/paste) |
folders and searches, and rearranging them using both clipboard (cut/copy/paste) |
| 903 |
and direct manipulation (drag and drop) methods.</p> |
and direct manipulation (drag and drop) methods.</font></p> |
| 904 |
|
|
| 905 |
</body> |
</body> |
| 906 |
</html> |
</html> |