Andreas Dangel
49ab75aeb7
[maven-release-plugin] prepare for next development iteration
2020-07-25 13:45:36 +02:00
Andreas Dangel
a9632e2a06
[maven-release-plugin] prepare release pmd_releases/6.26.0
2020-07-25 13:45:27 +02:00
Andreas Dangel
94afdb117d
Add test engines as surefire plugin dependencies
...
This removes junit-vintage-engine as a test dependency
as well as kotlintest-runner-junit5.
The engines are only needed during test execution, but should
not be available for test compilation.
For this to work, the latest surefire plugin is required.
2020-07-17 12:03:45 +02:00
Andreas Dangel
370c0b0b6d
Remove unused dependency, explicitly declare used dependencies
2020-07-02 15:12:31 +02:00
Andreas Dangel
80d9e18011
pmd-lang-test: clarify dependencies
2020-07-02 14:16:39 +02:00
Andreas Dangel
95d8e80c1b
[maven-release-plugin] prepare for next development iteration
2020-06-27 11:31:27 +02:00
Andreas Dangel
a219b2e1be
[maven-release-plugin] prepare release pmd_releases/6.25.0
2020-06-27 11:31:16 +02:00
Clément Fournier
d624ee99f0
Add tests
2020-06-18 21:32:19 +02:00
Clément Fournier
185c172b3c
c++ ident unicode support
2020-06-18 20:54:41 +02:00
Andreas Dangel
b607fa95d0
Don't use \\R yet...
2020-06-18 19:58:12 +02:00
Clément Fournier
4b3d58d4c9
Normalize path to avoid surprises
2020-06-13 21:52:45 +02:00
Clément Fournier
6ff4a1c4d4
Rename test file
2020-06-13 21:37:47 +02:00
Clément Fournier
709996fddc
Finish cpp module
2020-06-13 20:34:30 +02:00
Clément Fournier
551ab453fd
Convert CPP tests
2020-06-13 20:14:08 +02:00
Clément Fournier
0a1e82efad
Rename dir
2020-06-13 19:21:27 +02:00
Clément Fournier
1ee33c7c20
Normalize CPD newlines
...
Otherwise tests are not platform-independent.
Denormalizing to a platform-specific delimiter
should be done in the renderers
2020-06-13 16:57:57 +02:00
Clément Fournier
ceda6bb965
Fix newline-only tokens
...
This happens eg in XML. Previously the end column would have been zero. We can't blindly make it 1 because the end column is inclusive. So we instead use the last column of the previous line.
2020-06-13 14:46:55 +03:00
Clément Fournier
826bc36331
Normalize text before tokenizing
...
Otherwise column numbers are messed up on windows
2020-06-12 17:27:11 +02:00
Clément Fournier
1540ec6d91
Port remaining dart tests
2020-06-12 16:56:43 +02:00
Clément Fournier
ecc8699269
Add doc
2020-06-12 16:27:40 +02:00
Clément Fournier
b47001c90d
Add text comparison tests for CPD
2020-06-12 16:01:00 +02:00
Andreas Dangel
8defb2fde2
Add missing relativePath configuration in all pom modules
2020-06-07 12:36:58 +02:00
Andreas Dangel
abc230c637
[scala] Refactor project structure
...
* Avoid using symlinks, this is very difficult to get working
under Windows
* Provide names for the different scala modules
* Rename pmd-scala to pmd-scala-common
* Restore main module pmd-scala for backwards compatibility
2020-06-07 11:52:10 +02:00
Andreas Dangel
ab04bdacdd
[maven-release-plugin] prepare for next development iteration
2020-05-24 17:34:34 +02:00
Andreas Dangel
229cb2bdca
[maven-release-plugin] prepare release pmd_releases/6.24.0
2020-05-24 17:34:25 +02:00
Andreas Dangel
5f3ff0aed8
Remove hamcrest dependency, where it is not needed directly.
...
Use scope compile for hamcrest in pmd-lang-test
2020-05-22 11:36:49 +02:00
Artem Krosheninnikov
3fba3f6217
Update hamcrest to 2.2, Junit to 4.13, mockito to 2.28.2
2020-05-04 23:00:28 +03:00
Andreas Dangel
4308c545e5
[maven-release-plugin] prepare for next development iteration
2020-04-24 10:53:12 +02:00
Andreas Dangel
921c65f5ab
[maven-release-plugin] prepare release pmd_releases/6.23.0
2020-04-24 10:53:00 +02:00
Andreas Dangel
61321c88f1
javadoc: add pmd-lang-test
2020-04-14 16:02:49 +02:00
Clément Fournier
5cbfdfdd99
Use ascii printer for tree dumps
...
Some environments may not display
the structure correctly otherwise. See
eg https://travis-ci.org/github/pmd/pmd/jobs/668122788#L9312-L9322
2020-03-29 09:21:38 +02:00
Clément Fournier
e84349531b
Normalize line endings
2020-03-29 09:17:49 +02:00
Clément Fournier
89cddd8aa8
Use parsing helper
2020-03-28 17:46:33 +01:00
Clément Fournier
09ddc628cd
Fix reference files
2020-03-28 17:46:33 +01:00
Clément Fournier
c83790fab5
Recycle tree printer from the designer
2020-03-28 17:46:33 +01:00
Clément Fournier
bb92044a15
Add ability to test an AST dump as cheap regression test
2020-03-28 17:46:32 +01:00
Andreas Dangel
4c020bfbf7
[maven-release-plugin] prepare for next development iteration
2020-03-12 15:15:18 +01:00
Andreas Dangel
eb93aaeca7
[maven-release-plugin] prepare release pmd_releases/6.22.0
2020-03-12 15:15:09 +01:00
Clément Fournier
ad023e8fa6
Support type test patterns
2020-02-09 00:10:50 +01:00
Clément Fournier
58fa793e67
Fix indentation in poms
...
For some reason pmd-apex and pmd-apex-jorje
use 2 spaces while the rest use 4.
2020-01-24 23:17:26 +01:00
Andreas Dangel
d994700617
[maven-release-plugin] prepare for next development iteration
2020-01-24 17:20:47 +01:00
Andreas Dangel
a28e9e22e5
[maven-release-plugin] prepare release pmd_releases/6.21.0
2020-01-24 17:20:38 +01:00
Clément Fournier
d9ad819dab
Replace usages of node methods everywhere
2020-01-17 11:57:19 +01:00
Andreas Dangel
c53d9508e9
Small changes from code review
...
* rename BaseParserHelper
* Not using org.jetbrains.annotations.NotNull
2020-01-10 12:18:43 +01:00
Clément Fournier
a7c5a1f0be
Cleanup PMD.EOL in tests
...
Instead, normalize line endings in parse method.
This makes sure test code snippets are portable
and readable. For now they're platform-specific,
and assume that the resource files are saved with
the platform-specific line separator. This may not
be the case, as eg a git file may be checked out
with CRLF on a unix system.
2019-12-22 20:16:19 +01:00
Clément Fournier
8afe5ae7a8
Abstract away parser utils
...
Convert a few pieces of code
Share with modelica
Remove yet another dup
Fix tests
Doc
Share with plsql
Fix tests
Fix build
Cleanup
Minimize diff
Share with JSP module
Share with JS module
Share with XML module
Share with VisualForce module
Share with Scala module
Fix last tests
2019-12-20 18:30:17 +01:00
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