From Fedora Project Wiki

(Created page with "{{QA/Test_Case |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 Ecl...")
 
No edit summary
Line 5: Line 5:
# Ensure the {{package|eclipse-fedorapackager-0.2.1-1.fc16}} package is '''NOT''' installed. Remove it via {{command|yum remove eclipse-fedorapackager-0.2.1-1.fc16}}.
# Ensure the {{package|eclipse-fedorapackager-0.2.1-1.fc16}} package is '''NOT''' installed. Remove it via {{command|yum remove eclipse-fedorapackager-0.2.1-1.fc16}}.
# Ensure the {{package|eclipse-fedorapackager-0.1.12-1.fc16}} package '''IS''' installed. Install it via {{command|yum install eclipse-fedorapackager-0.1.12-1.fc16}}.
# Ensure the {{package|eclipse-fedorapackager-0.1.12-1.fc16}} package '''IS''' installed. Install it via {{command|yum install eclipse-fedorapackager-0.1.12-1.fc16}}.
# Make sure that file ~/.fedora.cert does not exist. You can move it out of the way via {{command|mv ~/.fedora.cert{,-away}}}
|actions=
|actions=
# Open Eclipse (it is recommended to use a new workspace).
# Open Eclipse (it is recommended to use a new workspace).
# If the tool allows it, try enabling and disabling network time (NTP), and check that the time is correctly adjusted when you enable it
# Open the "Import from Fedora Git" wizard. Press {{command|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
# With network time disabled, try changing the date and time manually. See if the changed date and time are reflected in the desktop panel, and at a console with the {{command|date}} command
# Enter "eclipse-fedorapackager" (this should clone the eclipse-fedorapackager package from Fedora Git
# If the tool allows it, try changing the time zone. See if the time changes appropriately for the timezone change, and if the changes are reflected in the desktop panel, and at a console with the {{command|date}} command. It may take a few seconds for the desktop panel to reflect the change
# You should now see an "eclipse-fedorapackager" project in your Eclipse workspace.
# Leave the desktop's own tool, and launch {{command|system-config-date}}, entering the root password when requested
# If you right-click on this project, you should see a context menu item called "Fedora Packager"
# Repeat the tests as above, using {{command|system-config-date}}
# We now upgrade eclipse-fedorapackager. {{command|yum update eclipse-fedorapackager-0.2.1-1.fc16}}
# Leave {{command|system-config-date}}, and open a console
# Restart Eclipse. File => Restart.
# Use the {{command|date}} command to set the system date and time: the format is {{command|date MMDDhhmm}}, for instance, {{command|date 02051600}} to set the date and time to 16:00 on the 5th of February in the current year
# 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.
# Again check if the changes are reflected in the desktop panel, allowing a few seconds
# Open the "Fedora Packaging" perspective
# <<<FIXME>>>
|results=
|results=
# Changes made to the date and time in the desktop's own configuration app, in {{command|system-config-date}}, and with the console {{command|date}} command should all work correctly and be reflected in the date displayed within the desktop
# Changes made to the date and time in the desktop's own configuration app, in {{command|system-config-date}}, and with the console {{command|date}} command should all work correctly and be reflected in the date displayed within the desktop
}}
}}

Revision as of 20:57, 31 August 2011

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