11315 Commits

Author SHA1 Message Date
Andreas Dangel
54b68c9238 Update changelog, refs #618 2017-09-30 11:30:39 +02:00
Juan Martín Sotuyo Dodero
14cb503713 [core] Revamp charset / stream management
- File encoding is converted to Charset only once. Errors in it's setup
wil fail the run immeditable instead of producing one error per file.
 - We make sure to close the source stream from the same place we create
it, by using try-with-resources
 - When wrapping the stream to a reader, we use try-with-resources
again, just in case
 - The bechmark code now takes into account charset setup, and more
closely resembles the normal execution path
 - This fixes #618
2017-09-13 18:22:38 -03:00
Juan Martín Sotuyo Dodero
09d49c6e68 Merge branch 'pr-587' 2017-09-12 18:01:10 -03:00
Juan Martín Sotuyo Dodero
8273c9e188 Update changelog, refs #587 2017-09-12 18:00:25 -03:00
Juan Martín Sotuyo Dodero
835792d0fb Merge branch 'pr-607' 2017-09-12 17:50:37 -03:00
Andreas Dangel
ee727c4504 Fix remaining tests after merge 2017-09-11 22:08:32 +02:00
Andreas Dangel
54423d05a6 Merge branch 'master' into junit-rule-pmd-test-runner 2017-09-11 22:04:55 +02:00
Andreas Dangel
29523c7ec5 [doc] Fix doc about testing framework 2017-09-11 21:58:00 +02:00
Andreas Dangel
59b12b7bcd Apply schema for apex rules tests 2017-09-11 21:56:06 +02:00
Andreas Dangel
d10d4abe52 Apply schema for xml rules tests 2017-09-11 21:56:06 +02:00
Andreas Dangel
dd0b776d1d Apply schema for velocity rules tests 2017-09-11 21:56:05 +02:00
Andreas Dangel
5266436b69 Apply schema for plsql rules tests 2017-09-11 21:56:05 +02:00
Andreas Dangel
284938b97b Apply schema for visualforce tests 2017-09-11 21:56:05 +02:00
Andreas Dangel
c903294c61 Apply schema for jsp rules tests 2017-09-11 21:56:05 +02:00
Andreas Dangel
555448aba8 Apply schema for javascript rules tests 2017-09-11 21:56:05 +02:00
Andreas Dangel
4f5cae32d9 Apply schema for java rules tests 2017-09-11 21:55:50 +02:00
Andreas Dangel
ef3d3a87c6 Fix schema and exception reporting
* relax order of test-code and code-fragment
* allow sourceType with language version
* define complexTypes
* relax requirements
2017-09-11 21:55:25 +02:00
Andreas Dangel
72b5ca8b4f Fix schema and parser after rename 2017-09-11 21:55:25 +02:00
Andreas Dangel
21388c3638 [doc] Mention schema in documentation 2017-09-11 21:55:25 +02:00
Andreas Dangel
116f218907 Add schema validation to rule tests 2017-09-11 21:55:18 +02:00
Clément Fournier
732af08f16 Corrections for PR #587 2017-09-10 21:30:45 +02:00
Travis CI (pmd-bot)
6d4e902a2a Update documentation 2017-09-09 22:20:05 +00:00
Juan Martín Sotuyo Dodero
1e67bbc9c1 Merge branch 'pr-568' 2017-09-09 19:11:58 -03:00
Juan Martín Sotuyo Dodero
1600891562 Merge branch 'pr-598' 2017-09-09 18:56:30 -03:00
Juan Martín Sotuyo Dodero
2fdb8de3f2 Update changelog, refs #598 2017-09-09 18:55:29 -03:00
Andreas Dangel
4f371618d9 Add initial xml schema for rule tests 2017-09-09 11:11:35 +02:00
Travis CI (pmd-bot)
3d18e8b36f Update documentation 2017-09-09 08:12:38 +00:00
Andreas Dangel
aba96473f3 Merge branch 'pr-566' 2017-09-09 09:58:16 +02:00
Andreas Dangel
388afb9618 Fix typo 2017-09-09 09:58:05 +02:00
Andreas Dangel
a50d5a82cc Add new rule to internal ruleset 600.xml 2017-09-09 09:56:27 +02:00
Andreas Dangel
4672249157 Update release notes, refs #566 2017-09-09 09:54:53 +02:00
Andreas Dangel
41b4eed58f Merge remote-tracking branch 'origin/master' into pr-566 2017-09-09 09:53:17 +02:00
Andreas Dangel
b5eb2ef467 Fix checkstyle 2017-09-08 16:35:48 +02:00
Andreas Dangel
cb9f0d0c69 [doc] Add test framework documentation 2017-09-08 16:35:48 +02:00
Andreas Dangel
9498473c20 PMDTestRunner should not fail, if there are no unit tests 2017-09-08 16:35:48 +02:00
Andreas Dangel
276028d04e Simplify PMDTestRunner 2017-09-08 16:35:48 +02:00
Andreas Dangel
154616e9f5 Create a new JUnit test runner to execute rule tests
This runner now also supports Before, After, and (JUnit) Rules.
2017-09-08 16:35:48 +02:00
Andreas Dangel
d8351ee6d6 Merge branch 'pr-588' 2017-09-08 16:28:13 +02:00
Andreas Dangel
2fe26b7e53 Update release notes, refs #588 2017-09-08 16:27:53 +02:00
oowekyala
443f73b744 Fix #388 2017-09-07 17:21:11 +02:00
Clément Fournier
8127404f2c Documentation for metric XPath function 2017-09-06 11:24:20 +02:00
Clément Fournier
d1a311fe7b Merge branch 'master' of https://github.com/pmd/pmd into xpath-metrics 2017-09-06 10:55:18 +02:00
Travis CI (pmd-bot)
6d8c41113f Update documentation 2017-09-05 16:54:59 +00:00
Andreas Dangel
fdfd0f79e6 Merge remote-tracking branch 'origin/master' 2017-09-05 18:38:23 +02:00
Travis CI (pmd-bot)
5e5ddc36b6 Update documentation 2017-09-05 16:29:26 +00:00
Andreas Dangel
a887393d29 Merge branch 'pr-591' 2017-09-05 18:28:17 +02:00
Andreas Dangel
fa86d073af Merge branch 'pr-585' 2017-09-05 18:03:47 +02:00
Andreas Dangel
a41df604e5 Update release notes, refs #585 2017-09-05 18:03:15 +02:00
Andreas Dangel
2e9c21f9a6 Merge branch 'master' into docs-updates 2017-09-05 17:46:42 +02:00
Andreas Dangel
57cfbb08cc [doc] fix typos 2017-09-05 17:44:22 +02:00