Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-5314

IFW: Test magic marker states for maintenance tool

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • RTA
    • Linux/X11, macOS, Windows

    Description

      The 'magic marker' is an integer value written to the data section of the binary layout of the installer or maintenance tool executable created with the installer framework. It describes the type and state of the executable (installer, package manager, updater or uninstaller), which in case of maintenance tool can also change at runtime.

      The most prominent user visible part for the marker is the radio buttons group on the 'Introduction' page. The different states could be tested in RTA:

      Prerequisites for all cases:

      Install any component(s) with an online installer

      Test cases:

      1. Test default online MT behavior:
        1. Start the maintenance tool without extra -start* options
        2. Verify the selected radio button in the 'Introduction' page is 'Add or remove components'
      2. Test default offline MT behavior:
        1. Click the 'Settings' button of the installer
        2. on the Settings dialog, click the 'Repositories' tab
        3. Uncheck all repositories with the 'Deselect all' button and click 'Ok'
        4. Verify the selected radio button on the next page is 'Remove all components'
      3. Test --start-package-manager behavior:
        1. Start the maintenance tool with --start-package-manager option
        2. Verify the selected radio button is 'Add or remove components'
      4. Test --start-uninstaller behavior:
        1. Start the MT with --start-uninstaller option
        2. Verify the selected radio button is 'Remove all components'
      5. Test --start-updater behavior
        1. Start the MT with --start-updater option
        2. Verify the selected radio button is 'Update components'

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              iikkak Iikka Konola
              arttu.tarkiainen Arttu Tarkiainen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes