692 Commits

Author SHA1 Message Date
Clément Fournier
94c4acbcc8 finish superseding old base module class 2022-07-21 03:50:10 +02:00
Clément Fournier
ec081ed2e5 wip 2022-07-21 01:18:02 +02:00
Clément Fournier
2952df371e try to adapt tests
we need to remove usages of LanguageVersion::getLanguageVersionHandler
2022-07-20 20:59:40 +02:00
Clément Fournier
7f8cbe9f58 Merge branch '7.0.x' into violation-decorators 2022-07-19 16:59:59 +02:00
Clément Fournier
3cf2eb0a07 Merge branch 'text-utils-simple' into port-properties 2022-07-17 15:45:48 +02:00
Clément Fournier
ba105a646c progress, remove ContextualizedTest 2022-07-17 14:49:48 +02:00
Clément Fournier
8587844c1c Fix build
Refs #2716 - langs aren't declared in java anymore
2022-07-17 14:03:23 +02:00
Clément Fournier
495dbb750f Merge branch 'text-utils-simple' into pmd7-lang-registry-non-static 2022-07-16 18:48:57 +02:00
Clément Fournier
4eb1e40a8a Merge branch '7.0.x' into text-utils-simple 2022-07-16 17:30:34 +02:00
Clément Fournier
972dbd90c0 Merge remote-tracking branch 'upstream/pmd/7.0.x' into pmd7-junit5 2022-07-15 21:31:04 +02:00
Clément Fournier
e248156d96 Merge remote-tracking branch 'upstream/pmd/7.0.x' into text-utils-simple 2022-07-10 13:53:30 +02:00
Clément Fournier
59d931cd91 Merge remote-tracking branch 'upstream/pmd/7.0.x' into text-utils-simple 2022-07-10 13:50:03 +02:00
Andreas Dangel
e6e1bfb62a Merge branch 'master' into pmd/7.0.x 2022-07-01 14:30:58 +02:00
Clément Fournier
b77fe07f76 Merge branch 'pmd6-plain-text-lang' into pmd6-extract-test-schema-module 2022-06-25 14:45:54 +02:00
Clément Fournier
44b9b0a10a add plain text language 2022-06-25 14:44:14 +02:00
Andreas Dangel
a5006f6383 [maven-release-plugin] prepare for next development iteration 2022-06-25 09:30:43 +02:00
Andreas Dangel
07eb3d2d80 [maven-release-plugin] prepare release pmd_releases/6.47.0 2022-06-25 09:30:37 +02:00
Andreas Dangel
dd0afb326e Fix compilation error 2022-06-13 19:23:16 +02:00
Andreas Dangel
ee4e451382 Merge branch 'pmd/7.0.x' into pmd7-junit5 2022-06-10 20:21:36 +02:00
Andreas Dangel
2bdc8a8263 Merge branch 'master' into pmd/7.0.x 2022-06-04 15:59:22 +02:00
Andreas Dangel
066b510eef chore: Fix project.parent.relativePath in pom.xml
It must point to a file, pointing to a directory
is not valid.
2022-06-04 11:00:30 +02:00
Andreas Dangel
04c1271d88 [maven-release-plugin] prepare for next development iteration 2022-05-28 11:04:32 +02:00
Andreas Dangel
a75acdeff8 [maven-release-plugin] prepare release pmd_releases/6.46.0 2022-05-28 11:04:27 +02:00
Andreas Dangel
fd8b2e35a1 Merge branch 'master' into pmd/7.0.x 2022-05-28 09:20:01 +02:00
Andreas Dangel
e530bff3f9 [core] Internalize CPDCommandLineInterface
Fixes #3835
2022-05-26 20:13:22 +02:00
Clément Fournier
ebd009e16a Replace old schema with newer one
(This is backward compatible)
2022-05-21 13:21:38 +02:00
Clément Fournier
42dcc3c779 Update RuleTst 2022-05-20 20:18:05 +02:00
Andreas Dangel
e32ad74892 Rename path -> uri 2022-05-20 14:14:31 +02:00
Clément Fournier
60139c8f4a Most of the work to extract module
Need a release of nice-xml-messages
Need an update to pmd-test
Need to add the 'ignored' attribute to schema
2022-05-17 23:34:17 +02:00
Andreas Dangel
17ba56e454 Replace IOUtils with IOUtil, Fix compile errors 2022-05-13 16:14:47 +02:00
Andreas Dangel
309d1dea28 Merge branch 'replace-commons-io' into pmd7-replace-commons-io 2022-05-13 16:00:19 +02:00
Andreas Dangel
2887fe3ae0 [core] Replace IOUtils with IOUtil 2022-05-13 12:03:15 +02:00
Andreas Dangel
753cb49e40 [all] Remove dependency to commons-io 2022-05-13 12:03:14 +02:00
Clément Fournier
3ec44f83c1 Merge branch '7.0.x' into text-utils-simple 2022-04-30 14:02:21 +02:00
Andreas Dangel
ec64315ad7 [maven-release-plugin] prepare for next development iteration 2022-04-30 09:38:24 +02:00
Andreas Dangel
1d2b40b3c0 [maven-release-plugin] prepare release pmd_releases/6.45.0 2022-04-30 09:38:19 +02:00
Andreas Dangel
d7a673dec0 Fix testSourceUri generation 2022-04-29 17:38:48 +02:00
Andreas Dangel
10590a27c4 [test] Refactor SimpleAggregatorTst to also use dynamic tests 2022-04-29 17:05:47 +02:00
Andreas Dangel
c23d88da27 [test] Deprecate PMDTestRunner and RuleTestRunner
They were only needed for JUnit4
2022-04-29 17:04:59 +02:00
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
Clément Fournier
e4627fb841 Move trimBlankLines 2022-04-24 19:38:01 +02:00
Clément Fournier
0d10425aac Pull some trimming logic into pmd-core 2022-04-24 14:56:58 +02:00
Clément Fournier
b3818954ac Doc 2022-04-24 13:12:34 +02:00
Clément Fournier
f2708f4b4e Make Node#getTextRegion non-default
Now implementors of Node need an implementation.
Implementation of #getReportLocation can be shared
2022-04-24 12:28:05 +02:00
Clément Fournier
fa60ad9317 Cleanup tests
Make DummyNode use offset/length coordinates
2022-04-24 11:56:56 +02:00