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

Create initial set of tests for jpackage create-installer mode

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: internal
    • Fix Version/s: internal
    • Component/s: tools
    • Labels:

      Description

      Initial set of tests will include tests below for all create-installer modes.

      MSI:
      JPackageCreateInstallerFileAssociationsTest.java - Verifies --file-associations by creating installer with file association and opening associated file via AWT API to make sure that associated application is executed with correct file. It also checks for registry being created and removed after uninstall.
      JPackageCreateInstallerLicenseTest.java - Verifies --license-file by creating installer with license. User during installation will need manually verify that license is displayed during installation process. See JDK-8214495 for known issues.
      JPackageCreateInstallerTest.java - Simple installer test with minimal set of arguments.
      JPackageCreateInstallerWinDirChooserTest.java - Verifies --win-dir-chooser to check that installer will ask user to select destination folder. See JDK-8214566 for know issues.
      JPackageCreateInstallerWinMenuGroupTest.java - Verifies --win-menu-group by verifying that application was installed into correct start menu folder.
      JPackageCreateInstallerWinMenuTest.java - Verifies --win-menu by verifying shortcut name in start menu.
      JPackageCreateInstallerWinPerUserInstallTest.java - Verifies --win-per-user-install that application got installed per user.
      JPackageCreateInstallerWinRegistryNameTest.java - Verifies --win-registry-name that application uses provided name when creating registry for file associations.
      JPackageCreateInstallerWinShortcutTest.java - Verifies --win-shortcut that installer created desktop shortcut.

      EXE
      JPackageCreateInstallerFileAssociationsTest.java - Verifies --file-associations by creating installer with file association and opening associated file via AWT API to make sure that associated application is executed with correct file. It also checks for registry being created and removed after uninstall.
      JPackageCreateInstallerLicenseTest.java - Verifies --license-file by creating installer with license. User during installation will need manually verify that license is displayed during installation process. See JDK-8214495 for known issues.
      JPackageCreateInstallerTest.java - Simple installer test with minimal set of arguments.
      JPackageCreateInstallerWinDirChooserTest.java - Verifies --win-dir-chooser to check that installer will ask user to select destination folder. See JDK-8214566 for known issues.
      JPackageCreateInstallerWinMenuGroupTest.java - Verifies --win-menu-group by verifying that application was installed into correct start menu folder.
      JPackageCreateInstallerWinMenuTest.java - Verifies --win-menu by verifying shortcut name in start menu.
      JPackageCreateInstallerWinPerUserInstallTest.java - Verifies --win-per-user-install that application got installed per user.
      JPackageCreateInstallerWinRegistryNameTest.java - Verifies --win-registry-name that application uses provided name when creating registry for file associations.
      JPackageCreateInstallerWinShortcutTest.java - Verifies --win-shortcut that installer created desktop shortcut.

      DMG
      JPackageCreateInstallerFileAssociationsTest - Verifies --file-associations by creating installer with file association and opening associated file via AWT API to make sure that associated application is executed with correct file.
      JPackageCreateInstallerInstallDirTest - Verifies --install-dir by checking that application is being installed into specified folder.
      JPackageCreateInstallerLicenseTest - Verifies --license-file by creating installer with license.
      JPackageCreateInstallerTest - Simple installer test with minimal set of arguments.

      PKG
      JPackageCreateInstallerFileAssociationsTest - Verifies --file-associations by creating installer with file association and opening associated file via AWT API to make sure that associated application is executed with correct file.
      JPackageCreateInstallerInstallDirTest - Verifies --install-dir by checking that application is being installed into specified folder.
      JPackageCreateInstallerLicenseTest - Verifies --license-file by creating installer with license.
      JPackageCreateInstallerTest - Simple installer test with minimal set of arguments.

      DEB
      JPackageCreateInstallerFileAssociationsTest - Verifies --file-associations by creating installer with file association and opening associated file via AWT API to make sure that associated application is executed with correct file.
      JPackageCreateInstallerInstallDirTest - Verifies --install-dir by checking that application is being installed into specified folder.
      JPackageCreateInstallerLicenseTest - Verifies --license-file by creating installer with license.
      JPackageCreateInstallerTest - Simple installer test with minimal set of arguments.
      JPackageCreateInstallerBundleNameTest - Verifies --linux-bundle-name by checking that bundle was created with name provided via this argument.
      JPackageCreateInstallerPackageDepsTest - Verifies --linux-package-deps by creating bundle with dependency and checking that this dependency is required by bundle.
      JPackageCreateInstallerMaintainerTest - Verifies --linux-deb-maintainer by checking deb package information that it includes provided e-mail.

      RPM
      JPackageCreateInstallerFileAssociationsTest - Verifies --file-associations by creating installer with file association and opening associated file via AWT API to make sure that associated application is executed with correct file.
      JPackageCreateInstallerInstallDirTest - Verifies --install-dir by checking that application is being installed into specified folder.
      JPackageCreateInstallerLicenseTest - Verifies --license-file by creating installer with license.
      JPackageCreateInstallerTest - Simple installer test with minimal set of arguments.
      JPackageCreateInstallerBundleNameTest - Verifies --linux-bundle-name by checking that bundle was created with name provided via this argument.
      JPackageCreateInstallerPackageDepsTest - Verifies --linux-package-deps by creating bundle with dependency and checking that this dependency is required by bundle.
      JPackageCreateInstallerLicenseTypeTest - Verifies --linux-rpm-license-type by checking rpm package information that it includes license type in package information.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                almatvee Alexander Matveev
                Reporter:
                almatvee Alexander Matveev
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: