218 Commits

Author SHA1 Message Date
Andreas Dangel
00392cefc2 [maven-release-plugin] prepare for next development iteration 2019-11-29 19:46:14 +01:00
Andreas Dangel
78da370fb8 [maven-release-plugin] prepare release pmd_releases/6.20.0 2019-11-29 19:46:05 +01:00
Andreas Dangel
deec9c44b2 [maven-release-plugin] prepare for next development iteration 2019-10-31 18:36:51 +01:00
Andreas Dangel
2881b6f585 [maven-release-plugin] prepare release pmd_releases/6.19.0 2019-10-31 18:36:42 +01:00
snuyanzin
de632e6193 [PMD-2072] Add expected and actual line of numbers to message wording 2019-10-15 22:08:18 +02:00
Andreas Dangel
395e3453cb dogfood: Upgrade to PMD 6.17.0 and fix CloseResource issues 2019-09-16 20:03:12 +02:00
Andreas Dangel
e536ca1947 [maven-release-plugin] prepare for next development iteration 2019-09-15 10:14:14 +02:00
Andreas Dangel
3f42cca200 [maven-release-plugin] prepare release pmd_releases/6.18.0 2019-09-15 10:14:05 +02:00
Andreas Dangel
e225821272 Merge branch 'master' into pr-1965 2019-09-07 16:21:11 +02:00
Andreas Dangel
20c7d7f421 [test] fix language version tests to check registered rulesets
Now categories.properties are tested. rulesets.properties
is only tested, if it exists.
2019-09-07 15:50:17 +02:00
Andreas Dangel
bdd0f2c525 [core] Use real file name in ruleContext during analysis
* This is needed to fix #1923
* RuleContext, RuleViolations all use the real name
* The shortname is only applied by the renderers now
  at the end of the processing
* Error logging and reporting also uses the real, full name
  of the file being analysed
2019-08-16 11:22:48 +02:00
Andreas Dangel
7a7971f64d [maven-release-plugin] prepare for next development iteration 2019-07-28 10:24:51 +02:00
Andreas Dangel
365e1c9e8b [maven-release-plugin] prepare release pmd_releases/6.17.0 2019-07-28 10:24:43 +02:00
Andreas Dangel
73a8e4cc69 [maven-release-plugin] prepare for next development iteration 2019-06-30 10:33:08 +02:00
Andreas Dangel
45facbd323 [maven-release-plugin] prepare release pmd_releases/6.16.0 2019-06-30 10:32:58 +02:00
Andreas Dangel
5ac687918a [maven-release-plugin] prepare for next development iteration 2019-05-26 11:02:26 +02:00
Andreas Dangel
ba2d795f59 [maven-release-plugin] prepare release pmd_releases/6.15.0 2019-05-26 11:02:18 +02:00
Andreas Dangel
ca9c859c0b [maven-release-plugin] prepare for next development iteration 2019-04-28 10:35:44 +02:00
Andreas Dangel
cd8b2e3217 [maven-release-plugin] prepare release pmd_releases/6.14.0 2019-04-28 10:35:36 +02:00
Andreas Dangel
5818abc0c7 [maven-release-plugin] prepare for next development iteration 2019-03-31 12:07:07 +02:00
Andreas Dangel
4ed549f0b2 [maven-release-plugin] prepare release pmd_releases/6.13.0 2019-03-31 12:06:56 +02:00
Andreas Dangel
002ecb7783 Fix test dependencies with junit5/kotlin/junit4 combination
When using kotlin test, which brings in the JUnit5 platform,
additionally the junit-vintage-engine needs to be added to
the test classpath, so that surefire will execute all tests
(junit5/kotlin test + junit4 tests).
2019-03-10 19:32:20 +01:00
Andreas Dangel
4bb1d9327d [maven-release-plugin] prepare for next development iteration 2019-02-24 08:57:18 +01:00
Andreas Dangel
41e77bc34b [maven-release-plugin] prepare release pmd_releases/6.12.0 2019-02-24 08:57:10 +01:00
Andreas Dangel
63cd6d0f5c [maven-release-plugin] prepare for next development iteration 2019-01-27 13:25:00 +01:00
Andreas Dangel
ea2776f70c [maven-release-plugin] prepare release pmd_releases/6.11.0 2019-01-27 13:24:51 +01:00
Andreas Dangel
dcb8bb42a2 [maven-release-plugin] prepare for next development iteration 2018-12-09 10:42:20 +01:00
Andreas Dangel
27374d8592 [maven-release-plugin] prepare release pmd_releases/6.10.0 2018-12-09 10:42:09 +01:00
Andreas Dangel
e735ee0f84 Dogfood - IdenticalCatchBranches, AvoidFileStream 2018-11-25 16:00:47 +01:00
Andreas Dangel
544c819274 [test] Kotlin DSL to ease test writing
* Merge branch 'pr-1395'
* Fixes #1318
* Update release notes
* Update version for new module
2018-10-29 19:23:06 +01:00
Andreas Dangel
3c50db2439 [maven-release-plugin] prepare for next development iteration 2018-10-28 16:49:09 +01:00
Andreas Dangel
7e4e859c5f [maven-release-plugin] prepare release pmd_releases/6.9.0 2018-10-28 16:48:57 +01:00
Andreas Dangel
77d392c30d Followup on #1399 2018-10-28 09:25:21 +01:00
Clément Fournier
b62b216b29 Merge branch 'pr-1399' 2018-10-27 22:55:10 +02:00
Clément Fournier
39f87ca5f3 Update schema location in rulesets 2018-10-27 21:02:16 +02:00
Will Herrmann
377baf7caf Replacing IOUtils.closeQuietly(foo) with try-with-resources statements 2018-10-19 14:23:51 -05:00
Clément Fournier
3dc9edaa7b Port group tests 2018-10-15 16:51:42 +02:00
Andreas Dangel
1f7c827323 Merge branch 'master' into unit-test-split 2018-10-05 20:39:22 +02:00
Andreas Dangel
a28657d8dd [test] Add a PMD specific PmdRuleTst base class for PMD's own tests.
Restore SimpleAggregatorTst to be general again.
2018-10-05 19:47:40 +02:00
Andreas Dangel
d8586382f6 [maven-release-plugin] prepare for next development iteration 2018-09-30 10:10:21 +02:00
Andreas Dangel
161d9cd6d6 [maven-release-plugin] prepare release pmd_releases/6.8.0 2018-09-30 10:10:12 +02:00
Clément Fournier
387e794116 Split pmd-test to isolate kotlin dependencies 2018-09-24 15:02:19 +02:00
Andreas Dangel
aaabd20173 [test] Provide a default implementation for test setUp 2018-09-09 12:38:25 +02:00
Clément Fournier
20901cf787 Move node extensions into pmd-test 2018-09-04 12:30:30 +02:00
Clément Fournier
d98b91263d Prototype a junit syntax
Inherently less powerful, because we can't generate tests
for several language versions
2018-09-04 12:30:30 +02:00
Clément Fournier
7284a08779 Add expectParseException for parser crash tests
The generated JavaParser should be added to coveralls
2018-09-04 12:30:30 +02:00
Clément Fournier
fd83625e73 Allow to return any return value from childRet 2018-09-04 12:30:30 +02:00
Clément Fournier
1eb5b7a7c9 Commit to FunSpec style
* Move everything inside ParsingCtx. It's extensible and can accommodate more
configuration options without breaking clients/ dealing with many optional parameters.
* Create tests for CatchStatement.
* Child calls now return the matched node.
* Change behaviour of ignoreChildren: it throws an exception if 'child' is called.
This is to be consistent with the previous item.
2018-09-04 12:30:30 +02:00
Clément Fournier
84ac91b373 Better error messages 2018-09-04 12:30:30 +02:00
Clément Fournier
0ea7707d4c Better error messages 2018-09-04 12:30:30 +02:00