Need more functionality from test helpers introduced in JDK-8230726:
- Add support for parameterized tests. Currently helpers allow to specify parameters passed in test functions. This is sufficient for simple tests, but is not sufficient for tests that would require more than one parameter.
- Get rid of duplicating functions in JPackageCommand class to get path of app launchers, runtime directory, etc. Currently there are two sets of these functions. One for the case when JPackageCommand instance is configured to produce platform package and another for app image building. This is overly complicated.
- Add helper functions to lookup for text in commands output. There are a lot of cases when the test parses command output checking if particular text is or is not present in command output. It would be good to have helper to reduce `output.stream().filter(...).findFirst()...` boilerplate.
- Add support for parameterized tests. Currently helpers allow to specify parameters passed in test functions. This is sufficient for simple tests, but is not sufficient for tests that would require more than one parameter.
- Get rid of duplicating functions in JPackageCommand class to get path of app launchers, runtime directory, etc. Currently there are two sets of these functions. One for the case when JPackageCommand instance is configured to produce platform package and another for app image building. This is overly complicated.
- Add helper functions to lookup for text in commands output. There are a lot of cases when the test parses command output checking if particular text is or is not present in command output. It would be good to have helper to reduce `output.stream().filter(...).findFirst()...` boilerplate.
- relates to
-
JDK-8232387 tools/jpackage/share/jdk/jpackage/tests/BasicTest.java fails
-
- Resolved
-