450 Commits

Author SHA1 Message Date
Clément Fournier
2cb54ff1bc fix pmd-vf
needs a dependency mechanism
to prevent apex from being pruned
2022-07-21 15:13:16 +02:00
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
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
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
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
Clément Fournier
3ec44f83c1 Merge branch '7.0.x' into text-utils-simple 2022-04-30 14:02:21 +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
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
Clément Fournier
26bdab4da4 WIP: Merge branch 'abort-on-semantic-errors' into text-utils-simple 2022-04-22 20:24:54 +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
Clément Fournier
271b8ab062 Fix tests 2022-04-13 20:48:38 +02:00
Clément Fournier
9f163ed9a1 WIP needs xml messages PR 2022-04-10 09:10:53 +02:00
Clément Fournier
9a5eed54ad Merge branch '7.0.x' into port-properties 2022-04-09 22:42:20 +02:00
Clément Fournier
7e8b5e37fc Merge branch 'text-utils-simple' into lang-registry-non-static 2022-04-09 21:45:22 +02:00
Clément Fournier
407ffeaf74 Merge branch '7.0.x' into lang-registry-non-static 2022-04-09 20:11:52 +02:00
Clément Fournier
40824e4fc9 Remove RuleViolationFactory 2022-04-09 17:09:24 +02:00