platform-update-home/doc/Test Scenarios/eclipse update 3.1.html
Parent Directory
|
Revision Log
Revision 1.5 - (view) (download) (as text)
| 1 : | kkolosow | 1.2 | <h2>Update/Install Test Scenarios for Eclipse 3.1</h2> |
| 2 : | <p>[ work in progress ]</p> | ||
| 3 : | <h3>Objectives:</h3> | ||
| 4 : | <p>The objective of these scenarios is to cover the main functionality of the | ||
| 5 : | Update/Install component in Eclipse 3.1 through simple end-to-end use cases. The | ||
| 6 : | scenarios are divided into two parts. </p> | ||
| 7 : | <ul> | ||
| 8 : | <li>Part-1 exercises updating of Eclipse features, installing new features, | ||
| 9 : | redirecting updates, etc.</li> | ||
| 10 : | <li>Part-2 exercises various aspects of update/install.</li> | ||
| 11 : | </ul> | ||
| 12 : | <h2>Part 1: Updating Eclipse</h2> | ||
| 13 : | <h4>1. Install Eclipse</h4> | ||
| 14 : | |||
| 15 : | <p>Download Eclipse SDK and install it to | ||
| 16 : | <i>D:\eclipseTest</i>. </p> | ||
| 17 : | |||
| 18 : | <h4><font color="#FF0000"><b>Note: If you install it to another directory | ||
| 19 : | (including an OS other than Windows), please make sure that the path names that | ||
| 20 : | appear in the text below are properly renamed, to reflect your particular setup.</b></font><br> | ||
| 21 : | <br> | ||
| 22 : | 2. Create a product extension</h4> | ||
| 23 : | dejan | 1.1 | |
| 24 : | kkolosow | 1.2 | <p>Unzip the file </p> |
| 25 : | dejan | 1.1 | |
| 26 : | kkolosow | 1.2 | <p><i> |
| 27 : | <a href="http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform-update-home/3.0/org.eclipse.update.tests.jarred.site.ToLink.zip">http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform-update-home/3.0/org.eclipse.update.tests.jarred.site.ToLink.zip</a></i></p> | ||
| 28 : | dejan | 1.1 | |
| 29 : | kkolosow | 1.2 | <p>into folder <i> D:\eclipseTestSite2</i></p> |
| 30 : | dejan | 1.1 | |
| 31 : | kkolosow | 1.2 | <p>(FYI: URL for installing the same set of features, but from http site:<br> |
| 32 : | <i> | ||
| 33 : | <a href="http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform-update-home/projects/org.eclipse.update.tests.jarred.site/">http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-update-home/projects/org.eclipse.update.tests.jarred.site/</a></i>)<br> | ||
| 34 : | <br> | ||
| 35 : | Now, to register the extension with our eclipse install, create the links | ||
| 36 : | subfolder in the eclipse installation directory: <i> | ||
| 37 : | D:\eclipseTest\eclipse\links</i> and a new file | ||
| 38 : | <i>D:\eclipseTest\eclipse\links\site2.link</i> with the following content:</p> | ||
| 39 : | |||
| 40 : | |||
| 41 : | <p>path=D:\\eclipseTestSite2<br> | ||
| 42 : | </p> | ||
| 43 : | |||
| 44 : | |||
| 45 : | <h4>3. Launch Eclipse</h4> | ||
| 46 : | Launch the Eclipse workbench<p>3.1) from the menu, select Help -> Software Updates -> Manage Configuration<br> | ||
| 47 : | Expand the configuration and verify that both the installation and the extension | ||
| 48 : | sites are listed:<br> | ||
| 49 : | <i>- | ||
| 50 : | file:/d:/eclipseTest/eclipse/</i> | ||
| 51 : | with six eclipse features<br> | ||
| 52 : | <i>- | ||
| 53 : | file:/d:/eclipseTestSite2/eclipse</i> | ||
| 54 : | with org.eclipse.update.tests.jarred.feature 1.0.0<br> | ||
| 55 : | <br> | ||
| 56 : | 3.2) From the menu, select Help -> About -> Plugin Details<br> | ||
| 57 : | Verify that following plugins are present:<br> | ||
| 58 : | org.eclipse.update.tests.jarred.plugin 1.0.0<br> | ||
| 59 : | org.eclipse.update.tests.jarred.fragment 1.0.0<br> | ||
| 60 : | org.eclipse.update.tests.jarred.bundle 1.0.0<br> | ||
| 61 : | </p> | ||
| 62 : | <p>3.3) | ||
| 63 : | From either a toolbar or "Jarred Plugin Menu" lunch three actions:<br> | ||
| 64 : | Jarred Plug-in Action, Jarred Fragment Action, Jarred Bundle Action.<br> | ||
| 65 : | Verify that all are present and work.<br> | ||
| 66 : | <br> | ||
| 67 : | </p> | ||
| 68 : | <h4>4. Update Policy</h4> | ||
| 69 : | <p>An update policy file allows features to be updated from a different update | ||
| 70 : | site, particularly from a site hosted inside the local network.</p> | ||
| 71 : | <p> | ||
| 72 : | Create directory outside of eclipse directory, say D:\eclipseTestPolicy<br> | ||
| 73 : | Download a policy file from <br> | ||
| 74 : | <a href="http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform-update-home/3.0/zippedPatchesPolicy.xml">http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-update-home/3.0/zippedPatchesPolicy.xml</a><br> | ||
| 75 : | into this directory.<br> | ||
| 76 : | Download zipped updated site from<br> | ||
| 77 : | <a href="http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform-update-home/3.0/org.eclipse.update.tests.patches.site.zip">http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-update-home/3.0/org.eclipse.update.tests.patches.site.zip</a><br> | ||
| 78 : | into this directory. Do NOT unzip.<br> | ||
| 79 : | If you use a different directory name, edit policy file and fill in the correct | ||
| 80 : | path.<br> | ||
| 81 : | (FYI: URL for installing the same set of features, but from http site:<br> | ||
| 82 : | <a href="http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform-update-home/projects/org.eclipse.update.tests.patches.site/">http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-update-home/projects/org.eclipse.update.tests.patches.site/</a>)<br> | ||
| 83 : | <br> | ||
| 84 : | Start Eclipse, if not already started.<br> | ||
| 85 : | From the menu, open Windows -> Preferences -> Install/Update, fill in Update Policy URL as:<br> | ||
| 86 : | <a href="file:///D:/eclipseTestPolicy/zippedPatchesPolicy.xml">file:///D:/eclipseTestPolicy/zippedPatchesPolicy.xml</a></p> | ||
| 87 : | <p> | ||
| 88 : | From the menu, launch the install wizard:<br> | ||
| 89 : | Help -> Software Updates -> Find and Install.</p> | ||
| 90 : | <p> | ||
| 91 : | -Click next, select SDK patch, accept license, click finish.<br> | ||
| 92 : | -Accept unsigned jar.<br> | ||
| 93 : | -After installation, confirm dialog to restart.<br> | ||
| 94 : | </p> | ||
| 95 : | <p> | ||
| 96 : | 4.1) | ||
| 97 : | Verify Eclipse restarted.<br> | ||
| 98 : | 4.2) | ||
| 99 : | In Help -> Software Updates -> Manage Configuration, verify SDK patch containing | ||
| 100 : | Platform and PDE patches are installed.<br> | ||
| 101 : | 4.3) | ||
| 102 : | In Help -> About -> Feature Details, verify both original features (SDK, | ||
| 103 : | Platform, PDE) and 3 patch features are listed.<br> | ||
| 104 : | 4.4) | ||
| 105 : | Select SDK patch, click Plugin Details, verify feature does not contain any | ||
| 106 : | plugins. Click OK<br> | ||
| 107 : | kkolosow | 1.4 | (Bug 97093 Update configuration does not show plug-ins for a feature.)<br> |
| 108 : | kkolosow | 1.2 | 4.5) |
| 109 : | Select Platform patch, click Plugin Details, verify feature contains osgi, help, | ||
| 110 : | update configurator plugins version 3.1.0.patch1. Click OK<br> | ||
| 111 : | 4.6) | ||
| 112 : | Select PDE patch, click Plugin Details, verify feature contains PDE UI plugin | ||
| 113 : | version 3.1.0.patch1. Click OK.<br> | ||
| 114 : | 4.7) | ||
| 115 : | Click OK again to go back to About dialog, click Plugin Details.<br> | ||
| 116 : | | ||
| 117 : | Verify eclipse runs version 3.1.0.patch1 of org.eclipse.help, org.eclipse.osgi, | ||
| 118 : | org.eclipse.pde.ui, and org.eclipse.update.configurator plug-in.</p> | ||
| 119 : | <p> | ||
| 120 : | Close all open dialogs. Exit eclipse.<br> | ||
| 121 : | <br> | ||
| 122 : | Change policy in D:/eclipseTestPolicy/zippedPatchesPolicy.xml to use<br> | ||
| 123 : | <a href="http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform-update-home/projects/org.eclipse.update.tests.patches.site/">http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-update-home/projects/org.eclipse.update.tests.patches.site/</a><br> | ||
| 124 : | for updates/install from http.</p> | ||
| 125 : | <p> | ||
| 126 : | -Start eclipse and launch the install wizard again: | ||
| 127 : | Help -> Software Updates -> Find and Install.<br> | ||
| 128 : | -Click next, select PDE patch2, accept license, click finish, restart.</p> | ||
| 129 : | <p> | ||
| 130 : | 4.8) | ||
| 131 : | Check if D:\eclipseTest\eclipse\plugins\org.eclipse.pde.ui_3.1.0.patch2 contains | ||
| 132 : | same number of files as<br> | ||
| 133 : | | ||
| 134 : | D:\eclipseTest\eclipse\plugins\org.eclipse.pde.ui_3.1.0.patch2.<br> | ||
| 135 : | 4.9) i n Help -> Software Updates -> Manage Configuration, verify PDE patch2 | ||
| 136 : | installed.<br> | ||
| 137 : | 4.10) in Help -> About -> Feature Details, verify both original PDE feature and | ||
| 138 : | org.eclipse.pde.patch2 is installed.<br> | ||
| 139 : | 4.11) | ||
| 140 : | Click OK to go back to About dialog, click Plugin Details. | ||
| 141 : | Verify eclipse runs version 3.1.0.patch2 of org.eclipse.pde.ui plug-in.</p> | ||
| 142 : | kkolosow | 1.5 | <p>(PDE-UI plugin is installed, but does not work - Bug 97094 Partial patch for jarred bundles not working easily )</p> |
| 143 : | kkolosow | 1.2 | <p> |
| 144 : | Close all open dialogs. Exit eclipse.</p> | ||
| 145 : | dejan | 1.1 | <h4> |
| 146 : | kkolosow | 1.2 | <br> |
| 147 : | 5. Update Eclipse</h4> | ||
| 148 : | <p> | ||
| 149 : | This should be done after test 4 above (Update Policy).</p> | ||
| 150 : | <p> | ||
| 151 : | 5.1 Search for updates to existing features. You should see SDK 3.1.1 update. | ||
| 152 : | Select it and install it. Restart when prompted</p> | ||
| 153 : | <p> | ||
| 154 : | 5.2 Eclipse should restart and you should see the new versions (3.1.1) for | ||
| 155 : | plugins org.eclipse.help, org.eclipse.osgi, org.eclipse.pde.ui, | ||
| 156 : | org.eclipse.update.configurator, and the updated features (SDK, Platform, and | ||
| 157 : | PDE).</p> | ||
| 158 : | <p> | ||
| 159 : | 5.3 All the patches installed in test 4 should be disabled.</p> | ||
| 160 : | dejan | 1.1 | <h4> |
| 161 : | kkolosow | 1.2 | 6. Revert configuration</h4> |
| 162 : | <p> | ||
| 163 : | dejan | 1.1 | <br> |
| 164 : | kkolosow | 1.2 | 6.1) |
| 165 : | In Help -> Software Updates -> Manage Configuration, right click Eclipse | ||
| 166 : | product, choose Revert... from the popup menu.<br> | ||
| 167 : | 6.2) | ||
| 168 : | Pick original configuration (before starting update tests), click finish, | ||
| 169 : | confirm restart.<br> | ||
| 170 : | 6.3) | ||
| 171 : | In Help -> About -> Feature Details, verify no patches are enabled.<br> | ||
| 172 : | 6.4) | ||
| 173 : | Click OK to go back to About dialog, click Plugin Details.Verify eclipse runs original version of plugins (usually 3.1.0).<br> | ||
| 174 : | dejan | 1.1 | <br> |
| 175 : | kkolosow | 1.2 | </p> |
| help@eclipse.org | ViewVC Help |
| Powered by ViewVC 1.0.3 |
