13445 Commits

Author SHA1 Message Date
Clément Fournier
00651c2c95 Add test generation to the designer 2018-09-23 20:39:06 +02:00
Clément Fournier
404b6e8d6e Deprecate one syntax 2018-09-04 12:30:30 +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
e67ae457d9 Abstract over parsing contexts 2018-09-04 12:30:30 +02:00
Clément Fournier
4a3f85d40a Documentation 2018-09-04 12:30:30 +02:00
Clément Fournier
86a1a13dc6 Add Node extensions 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
f5582b057a Implement focus 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
1703dde463 Generate tests based on version range 2018-09-04 12:30:30 +02:00
Clément Fournier
0ea7707d4c Better error messages 2018-09-04 12:30:30 +02:00
Clément Fournier
9bb22f4ca6 FunSpec integration
Lots of redundancy until we make a choice
2018-09-04 12:30:29 +02:00
Clément Fournier
0eba746afb Add string matchers 2018-09-04 12:30:29 +02:00
Clément Fournier
ce25568664 Allow to write tests in Kotlin 2018-09-04 12:30:29 +02:00
Andreas Dangel
e3018c3892 [doc] Update gems 2018-09-02 15:36:38 +02:00
Andreas Dangel
848a0761fe Fix release scripts
* fix language var LANG
* fix bundle install command
* automate creation of release notes post in pmd.github.io
* add var "is_release_notes_processor"
* Always install the gems for rendering release notes
2018-09-02 15:31:01 +02:00
Andreas Dangel
65a3e1a3f7 Fix old release notes 2018-09-02 14:33:51 +02:00
Andreas Dangel
86c89040b4 Prepare next development version 2018-09-02 14:30:21 +02:00
Andreas Dangel
291d36d841 [maven-release-plugin] prepare for next development iteration 2018-09-02 14:27:42 +02:00
Andreas Dangel
b98bd0bb96 [maven-release-plugin] prepare release pmd_releases/6.7.0 pmd_releases/6.7.0 2018-09-02 14:27:33 +02:00
Andreas Dangel
d8c51db85e Prepare pmd release 6.7.0 2018-09-02 14:19:37 +02:00
Andreas Dangel
acdab9df56 [ci] Fix java10 installation for sonar 2018-09-02 12:31:11 +02:00
Andreas Dangel
7a8847bacb [ci] Fix sonar configuration
For now, we need to use java10 with sonar, until sonarjava 5.8.0
is released, which adds support for java11.
Apparantly sonar also loads the classfiles and can't yet load
java11 classes, leading to many errors
"Unsupported class file major version 55" while analyzing
the project.

Also update SONAR_TOKEN

See https://jira.sonarsource.com/browse/SONARJAVA-2877
2018-09-02 12:15:45 +02:00
Andreas Dangel
c9f686903e [ci] Coveralls hasn't built the project since June 25th
The previous fix was not enough. Coveralls maven plugin depends on
javax.xml.bind, which has been removed with JDK11, since it is
a EE feature.

Workaround is now, to add the jaxb-api as a plugin dependency, so
that the utility class javax.xml.bind.DatatypeConverter is
available.

Fixes #1317
2018-09-02 10:53:02 +02:00
Juan Martín Sotuyo Dodero
2eaaaa42aa Merge branch 'pr-1327' 2018-09-01 21:18:48 -03:00
Juan Martín Sotuyo Dodero
dc19269491 Merge branch 'master' into issue-1323 2018-09-01 20:16:13 -03:00
Andreas Dangel
921d4190d7 [ci] Coveralls hasn't built the project since June 25th
Fixes #1317
2018-09-01 23:15:29 +02:00
Andreas Dangel
2264d3c964 [ci] Fix sonar / coveralls build after switching to jdk 11
Also update jacoco plugin to 0.8.2
2018-09-01 23:11:12 +02:00
Travis CI (pmd-bot)
ff5e83b21d Update documentation
TRAVIS_JOB_NUMBER=2790.1
TRAVIS_COMMIT_RANGE=b9501e5c7791...d0efb3cad751
2018-09-01 20:11:10 +00:00
Andreas Dangel
7ebcb30aaa No need to check for missing ':' 2018-09-01 21:41:05 +02:00
Andreas Dangel
d0efb3cad7 Merge branch 'pr-1319' 2018-09-01 21:32:08 +02:00
Andreas Dangel
58b1985509 Merge branch 'pr-1324' 2018-09-01 21:32:03 +02:00
Travis CI (pmd-bot)
b9501e5c77 Update documentation
TRAVIS_JOB_NUMBER=2786.1
TRAVIS_COMMIT_RANGE=ff63c5681a73...bec314ef276d
2018-09-01 19:29:55 +00:00
Andreas Dangel
378bfe5948 Update release notes, refs #1327 2018-09-01 21:21:03 +02:00
Juan Martín Sotuyo Dodero
bec314ef27 Merge branch 'pr-1266' 2018-09-01 16:13:02 -03:00
Andreas Dangel
2fb3cd13cb [java] AvoidUsingHardCodedIP false positive for ":bee"
"::bee" (two colons) is a valid IPv6 address, while ":bee"
is not.

Refs #1323
2018-09-01 21:12:29 +02:00
Juan Martín Sotuyo Dodero
ff63c5681a Merge branch 'pr-1326' 2018-09-01 16:07:30 -03:00
Juan Martín Sotuyo Dodero
ded5c1ca51 Add 'as' a a valid transformation prefix 2018-09-01 16:07:13 -03:00
Andreas Dangel
a30d23e587 [java] LinguisticNaming - make tranform method names configurable
Follow-up for #1252
2018-08-31 11:29:55 +02:00
Juan Martín Sotuyo Dodero
03124c5673 Update changelog, refs #1323 2018-08-30 14:11:10 -03:00
Juan Martín Sotuyo Dodero
6ef3b5a583 [java] Remove no longer used property
- Fixes #1323
2018-08-30 13:54:59 -03:00
Andreas Dangel
c6b529dde8 [ci] update github oauth token 2018-08-30 10:50:22 +02:00
Andreas Dangel
0a026a8142 [ci] pmd-regression-tester - disable exit immediately for uploading baseline
See also pmd/pmd-regression-tester#40
It fails at the very last step (determining result code), so
the baseline is created and can be uploaded.
2018-08-30 10:38:41 +02:00
Clément Fournier
079fe95152 Merge branch 'pr-1320' 2018-08-27 20:03:14 +02:00
Travis CI (pmd-bot)
f25a2e08aa Update documentation
TRAVIS_JOB_NUMBER=2772.1
TRAVIS_COMMIT_RANGE=f3c54cf7ec47...348a11f11995
2018-08-27 16:37:28 +00:00
Juan Martín Sotuyo Dodero
348a11f119 Merge branch 'pr-1303' 2018-08-27 13:21:52 -03:00
Juan Martín Sotuyo Dodero
df64d8bfce Merge branch 'master' into deprecate-old-naming-conventions-rules 2018-08-27 12:58:18 -03:00