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
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
- relates to
-
JDK-8269387 jpackage --add-launcher should have option to not create shortcuts for additional launchers
-
- Resolved
-