Add support for PMD 7.

Review Request #13710 — Created April 5, 2024 and submitted — Latest diff uploaded

Information

ReviewBot
release-4.x

Reviewers

PMD just released a big new major version, 7.0.0. This makes a fairly
large change to the basic command-line UI, but is mostly otherwise
compatible.

Some of the output is slightly different for a few of the tests. I've
changed the simulation tests to simulate PMD7, and the integration tests
sometimes need to conditionalize the expected output. We also had one
test (for a config file with no rules) that was obsolete even in PMD
6.55, which treated a file with no active rules as a warning rather than
an error.

Ran unit tests with both PMD 6.55.0 and 7.0.0. Saw that everything
passed.

Changes between revision 1 and 2

orig
1
2
3
4

Commits

Summary ID Author
Add support for PMD 7.
PMD just released a big new major version, 7.0.0. This makes a fairly large change to the basic command-line UI, but is mostly otherwise compatible. Some of the output is slightly different for a few of the tests. I've changed the simulation tests to simulate PMD7, and the integration tests sometimes need to conditionalize the expected output. We also had one test (for a config file with no rules) that was obsolete even in PMD 6.55, which treated a file with no active rules as a warning rather than an error. Testing Done: Ran unit tests with both PMD 6.55.0 and 7.0.0. Saw that everything passed.
a359f06b0ea81abd5a631cf4901032c817485287 David Trowbridge
Add support for PMD 7.
PMD just released a big new major version, 7.0.0. This makes a fairly large change to the basic command-line UI, but is mostly otherwise compatible. Some of the output is slightly different for a few of the tests. I've changed the simulation tests to simulate PMD7, and the integration tests sometimes need to conditionalize the expected output. We also had one test (for a config file with no rules) that was obsolete even in PMD 6.55, which treated a file with no active rules as a warning rather than an error. Testing Done: Ran unit tests with both PMD 6.55.0 and 7.0.0. Saw that everything passed.
6ce0207e244d7732755d43f8063891899dba6f73 David Trowbridge
bot/reviewbot/tools/tests/test_pmd.py
Loading...