Skip to content

Test changes

Martin Desruisseaux edited this page Aug 3, 2024 · 5 revisions

This page lists some noticeable changes in the tests.

Changes in POM parameters

  • Many <source> and <target> parameters have been either removed or replaced by <release>.
  • The <outputDirectory> and <testOutputDirectory> parameters declared under <configuration> moved to <build>, because those properties are read-only in the configuration.

Removed tests

The compiler-one-output-file-test2 JUnit test was redundant with compiler-one-output-file-test. The only difference was the addition of include/exclude filters, but that difference had no effect because the compiler mock used in this test was ignoring all sources anyway. This test has been replaced by compiler-modular-project.

The following tests were overriding the module-info.java of the main source directory with another module-info.java defined in the test directory. This is not supported anymore:

  • jpms_compile-main-foo-test-foo
  • jpms_compile-main-foo-test-bar (was using different a module name in the test)
Clone this wiki locally