From Fedora Project Wiki

Revision as of 20:57, 31 August 2011 by Jerboaa (talk | contribs)

Description

This test case tests whether old projects cloned with Fedora Packager for Eclipse 0.1.12 and below can be properly upgraded to Fedora Packager for Eclipse 0.2 using the conversion tool shipped with 0.2.

Setup

  1. Boot into the machine/VM you wish to test
  2. Ensure the Package-x-generic-16.pngeclipse-fedorapackager-0.2.1-1.fc16 package is NOT installed. Remove it via yum remove eclipse-fedorapackager-0.2.1-1.fc16.
  3. Ensure the Package-x-generic-16.pngeclipse-fedorapackager-0.1.12-1.fc16 package IS installed. Install it via yum install eclipse-fedorapackager-0.1.12-1.fc16.
  4. Make sure that file ~/.fedora.cert does not exist. You can move it out of the way via mv ~/.fedora.cert{,-away}

How to test

  1. Open Eclipse (it is recommended to use a new workspace).
  2. Open the "Import from Fedora Git" wizard. Press CTRL+3 and start typing "Projects from Fedora" and hit return once it's the only option shown. Alternatively, use File => Import => Git => Projects from Fedora Git
  3. Enter "eclipse-fedorapackager" (this should clone the eclipse-fedorapackager package from Fedora Git
  4. You should now see an "eclipse-fedorapackager" project in your Eclipse workspace.
  5. If you right-click on this project, you should see a context menu item called "Fedora Packager"
  6. We now upgrade eclipse-fedorapackager. yum update eclipse-fedorapackager-0.2.1-1.fc16
  7. Restart Eclipse. File => Restart.
  8. Once Eclipse has been restarted, try right-clicking on the project "eclipse-fedorapackager". The "Fedora Packager" context menu item should be gone. Now we need to upgrade this project.
  9. Open the "Fedora Packaging" perspective
  10. <<<FIXME>>>

Expected Results

  1. Changes made to the date and time in the desktop's own configuration app, in system-config-date, and with the console date command should all work correctly and be reflected in the date displayed within the desktop