461 Commits

Author SHA1 Message Date
Andreas Dangel
ac3f152dcd [test] Migrate PmdRuleTst to JUnit5 dynamic tests 2022-04-29 16:49:25 +02:00
Andreas Dangel
5c3afd881f [test] Add JUnit5 dependencies 2022-04-29 16:48:09 +02:00
Andreas Dangel
4c45d6125e Merge branch 'master' into pmd/7.0.x 2022-04-29 13:40:05 +02:00
Andreas Dangel
efcc583086 [test] Improve test method name, display test method 2022-04-29 12:22:44 +02:00
Andreas Dangel
6ec5fe1073 Fix pmd 2022-04-24 22:44:05 +02:00
Andreas Dangel
1f9c7c5765 [test] Print Test Method Name for failed rule tests
This helps to select just this failed test to
rerun it within the IDE.
Also replace parenthesis in the test case description.
2022-04-24 22:29:36 +02:00
Andreas Dangel
5e9402bfe1 Merge branch 'master' into pmd/7.0.x 2022-04-21 18:42:08 +02:00
Clément Fournier
367c6cf54a Update JS module 2022-04-15 19:54:31 +02:00
Clément Fournier
715442b66b Update java/PMDTaskTest to use mocked rules 2022-04-15 19:31:56 +02:00
Andreas Dangel
be3e941a08 [maven-release-plugin] prepare for next development iteration 2022-03-27 17:01:59 +02:00
Andreas Dangel
6859f8db36 [maven-release-plugin] prepare release pmd_releases/6.44.0 2022-03-27 17:01:54 +02:00
Andreas Dangel
819e6236c4 Fix tests and compile errors 2022-03-24 15:52:16 +01:00
Andreas Dangel
644bd3ab39 Merge branch 'master' into pmd/7.0.x 2022-03-24 15:15:55 +01:00
Andreas Dangel
5f9e9d1066 Merge pull request #3818 from adangel:fix-abstract-ruleset-factory-test
[core] Fix abstract ruleset factory test #3818
2022-03-24 14:34:43 +01:00
Clément Fournier
df0508610e Merge branch 'pmd/7.0.x' into cannot-resolve-ambiguous-dollar 2022-03-10 13:52:54 +02:00
Clément Fournier
99425d53ff Fix OutOfMemory in tests
This did not show up earlier because
we used soft class references, which
reduces the memory footprint of unused
TypeSystems. However, they still remain
in old gen and are a large memory hog.

Since e97e2cd we don't use SoftReference
anymore as parsing the same class several
times may have unintended side-effects.
This revealed the out of memory error.

This will be fixed when we have proper
language lifecycle and resources like the
classloader can be reclaimed later.
2022-03-06 19:00:13 +01:00
Clément Fournier
e414e2119c Merge branch 'pmd6-improve-pmd-analysis' into pmd7-merge-master 2022-03-05 15:34:50 +01:00
Clément Fournier
b806954d88 Add deprecations 2022-03-05 14:28:25 +01:00
Andreas Dangel
e63858269b [test] Fix AbstractRuleSetFactoryTest - check category/.../ as well 2022-03-03 21:55:56 +01:00
Clément Fournier
9d1c1860cb Merge branch 'master' into 7.0.x 2022-03-03 19:55:10 +01:00
Andreas Dangel
2aebcbd1de Fix PMD CloseResource - BaseCLITest has actually setup/tearDown
which deals with restoring System.out/err already
2022-03-03 11:11:57 +01:00
Clément Fournier
af576dbf78 PR review 2022-02-27 19:00:50 +01:00
Clément Fournier
b46dcb48aa Remove source incompatibility 2022-02-27 18:22:08 +01:00
Clément Fournier
532c81ce7e Merge branch 'master' into pmd6-file-collector 2022-02-27 18:15:30 +01:00
Andreas Dangel
6719156669 Add simplelogger.properties in pmd-test
This provides a default configuration that will be used
when resetting the logger configuration in CLITests or
PMDTaskTest. Without this, slf4j-simple will keep
the last configured default level. Now it will use the
default level configured in simplelogger.

Since pmd-test is not part of the distribution, this
configuration file has no effect for the binaries.
2022-02-26 20:34:58 +01:00
Andreas Dangel
69fb502883 [maven-release-plugin] prepare for next development iteration 2022-02-26 10:01:08 +01:00
Andreas Dangel
dd0ee6190b [maven-release-plugin] prepare release pmd_releases/6.43.0 2022-02-26 10:01:03 +01:00
Andreas Dangel
a7e2a8eb52 Merge branch 'master' into pr-3785 2022-02-20 16:34:07 +01:00
Andreas Dangel
d1cc05e4d5 [test] Supress JavaUtilLoggingRule for now 2022-02-18 16:12:07 +01:00
Andreas Dangel
f6378d17ea Merge branch 'pmd/7.0.x' into pmd7-896-slf4j 2022-02-18 14:22:10 +01:00
Andreas Dangel
116cb766aa Merge branch 'master' into pmd/7.0.x 2022-02-18 12:45:04 +01:00
Andreas Dangel
7733be75ff [core] More deprecations around PMD/Report/RuleContext (#3762) 2022-02-18 11:33:05 +01:00
Andreas Dangel
e1d66e2f42 [core] Use slf4j-api and slf4j-simple
Support "--debug" flag for slf4j-simple
2022-02-17 18:54:36 +01:00
Clément Fournier
c3aa845a6a Fix js & xml tests 2022-02-14 00:15:51 +01:00
Clément Fournier
cc834b175e Fix java cli tests 2022-02-13 23:31:30 +01:00
Clément Fournier
8cc7c7bbea Merge branch '7.0.x' into analysis-listener 2022-02-07 00:54:47 +01:00
Clément Fournier
2a89d9a115 fix test 2022-02-05 12:06:36 +01:00
Clément Fournier
734bf91a3e Comments from PR review 2022-02-04 20:51:33 +01:00
Andreas Dangel
dc19597020 [maven-release-plugin] prepare for next development iteration 2022-01-29 09:53:38 +01:00
Andreas Dangel
391c32589f [maven-release-plugin] prepare release pmd_releases/6.42.0 2022-01-29 09:53:32 +01:00
Andreas Dangel
77f01f683d Fix PMD issues in core and test 2022-01-28 11:44:54 +01:00
Andreas Dangel
3a97618d5d [maven-release-plugin] prepare for next development iteration 2021-11-27 11:21:17 +01:00
Andreas Dangel
ac68de1f51 [maven-release-plugin] prepare release pmd_releases/6.41.0 2021-11-27 11:21:12 +01:00
Andreas Dangel
f12710071f [maven-release-plugin] prepare for next development iteration 2021-10-30 10:00:20 +02:00
Andreas Dangel
be09a31654 [maven-release-plugin] prepare release pmd_releases/6.40.0 2021-10-30 10:00:15 +02:00
Andreas Dangel
0399bbbfc8 [maven-release-plugin] prepare for next development iteration 2021-09-25 13:46:09 +02:00
Andreas Dangel
90b051bfff [maven-release-plugin] prepare release pmd_releases/6.39.0 2021-09-25 13:46:04 +02:00
Andreas Dangel
65af1c0675 [maven-release-plugin] prepare for next development iteration 2021-08-28 17:27:18 +02:00
Andreas Dangel
7d11a02052 [maven-release-plugin] prepare release pmd_releases/6.38.0 2021-08-28 17:27:12 +02:00
Andreas Dangel
821f7a849b [maven-release-plugin] prepare for next development iteration 2021-07-31 19:02:07 +02:00