Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8334238

Enhance AddLShortcutTest jpackage test

XMLWordPrintable

    • b10
    • generic
    • generic

        AddLShortcutTest test covers the cases of shortcuts for additional launchers when shortcuts are requested for the main launcher.

        It is missing the following test cases:
        1. shortcuts are not requested for the main launcher but requested for additional launchers:
          1.1. On Windows: the desktop shortcut is requested and the start menu shortcut is not requested for the main launcher
          1.2. On Windows: the desktop shortcut is not requested and the start menu shortcut is requested for the main launcher
          1.3. On Windows: shortcuts are not requested for the main launcher
          1.4. On Linux: a shortcut is not requested for the main launcher

        2. Configure shortcuts in predefined app image:
          2.1. Don't configure shortcuts the 2nd jpackage run using the predefined app image
          2.2. configure shortcuts in the 2nd jpackage run using the predefined app image
            2.2.1 On Windows and Linux: shortcuts are not requested for the main launcher
            2.2.2. On Windows: the desktop shortcut is requested and the start menu shortcut is not requested for the main launcher
            2.2.3. On Windows: the desktop shortcut is not requested and the start menu shortcut is requested for the main launcher

        3. Test that when --linux-shortcut is set for the main launcher and not set for an additional launcher the additional launcher should not have a desktop file

              asemenyuk Alexey Semenyuk
              asemenyuk Alexey Semenyuk
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: