450 Commits

Author SHA1 Message Date
Clément Fournier
6aef869a74 Merge branch 'ruleset-factory-builder' into core-parser-tasks 2020-12-11 00:38:31 +01:00
Clément Fournier
f7829531c9 Add some doc 2020-12-10 20:17:51 +01:00
Clément Fournier
2d5781482e Fix tests 2020-11-24 12:22:32 +01:00
Clément Fournier
fabf2cf6db Make the parser options properties private 2020-11-24 11:53:45 +01:00
Clément Fournier
21506cea85 Cleanup languages to skip 2020-11-24 11:39:59 +01:00
Jeff Bartolotta
86b5948f07 Update the way nodes with data are identified
Changed method for how the Visualforce strings are reconstructed from the AST. The previous implementation had incorrect assumptions about the structure of the AST. Added tests to more thoroughly test these situations.

Changed name of IdentifierType to DataType. This information can be stored on either ASTIdentifier or ASTLiteral nodes.

Changes based on PR feedgack:
- Restored ParserOptionsTest in order to avoid binary compatibilty issues.
- Changed ParserOptions to contain a PropertySource instead of extending AbtractPropertySource.
2020-11-20 11:59:23 -08:00
Clément Fournier
4d018f5a2a Fix wrong check for location at EOF 2020-11-15 22:58:43 +01:00
Clément Fournier
f8f11715a6 Fix merge 2020-11-15 20:55:51 +01:00
Clément Fournier
4d5ba29842 Simplify violations 2020-11-15 19:30:12 +01:00
Clément Fournier
9826ff241b Merge branch 'analysis-listener' into text-utils-simple 2020-11-15 19:04:14 +01:00
Clément Fournier
a9530ec5ea Merge branch 'core-parser-tasks' into analysis-listener 2020-11-15 18:49:54 +01:00
Clément Fournier
d4ad2f5011 Fix compil 2020-11-15 18:47:23 +01:00
Clément Fournier
7c45eb0ca9 Use a wrapper 'AstInfo' 2020-11-15 17:35:10 +01:00
Clément Fournier
2ef105374c Merge branch 'core-parser-tasks' into analysis-listener 2020-11-15 17:11:56 +01:00
Clément Fournier
2fad9bf507 Changes to DataSource and test modules 2020-11-15 16:42:30 +01:00
Clément Fournier
4426d3de3f Merge branch 'ruleset-factory-builder' into analysis-listener 2020-11-13 17:09:44 +01:00
Jeff Bartolotta
e1c42a10ec Move visitor to VfParser#parse
LanguageVersionHandler#getTypeResolutionFacade is deprecated. Moved the VfExpressionTypeVisitor creation and execution to VfParser#parse instead.

ParsingOptionsTest located in pmd-test wasn't running previously because it was in the src/main hierarchy. Moved this test into the src/test hierarchy and consolidated the methods from the
similarly named class from pmd-core.
2020-11-12 20:13:19 -08:00
Clément Fournier
2f87b35deb Fix merge in pmd-java 2020-10-30 21:01:25 +01:00
Clément Fournier
014ba90c88 Merge branch 'analysis-listener' into text-utils-simple 2020-10-30 20:45:57 +01:00
Jeff Bartolotta
ba2e91b3a0 Exclude languages in AbstractRuleSetFactoryTest
Allow subclasses of AbstractRuleSetFactoryTest to filter out languages
that show up in the classpath but should not be tested.

Change VFTestContstants to final instead of abstract.
2020-10-29 17:22:35 -07:00
Clément Fournier
8213596591 Merge branch 'ruleset-f-builder-merger' into analysis-listener 2020-10-27 00:48:47 +01:00
Clément Fournier
5946be38f0 Update more code 2020-10-27 00:44:56 +01:00
Clément Fournier
3e3397308a Start arranging the merge 2020-10-26 23:20:41 +01:00
Clément Fournier
e7fdad68b5 Merge branch 'ruleset-factory-builder' into ruleset-f-builder-merger 2020-10-26 22:59:26 +01:00
Clément Fournier
6642f5d038 Isolate single rule pattern 2020-10-26 19:31:48 +01:00
Clément Fournier
0c0122f19d Fix tests 2020-10-17 18:58:32 +02:00
Clément Fournier
9426ce7edf Fix build 2020-10-17 18:15:13 +02:00
Clément Fournier
66190181ef Remove duplication of filename for rule violations 2020-10-17 18:08:59 +02:00
Clément Fournier
fb137b6484 Merge branch 'pmd7-test-cleanups' into analysis-listener 2020-10-17 17:56:46 +02:00
Clément Fournier
649ad99755 Remove some changes to RuleTst 2020-10-17 16:37:04 +02:00
Clément Fournier
1089da7da2 Hide most methods of RuleTst
The supported API is now just the junit integration
2020-09-30 13:21:02 +02:00
Clément Fournier
020fa899d5 Fix tests 2020-09-28 20:12:04 +02:00
Clément Fournier
5c59de5d52 Checkout changes to test utils 2020-09-28 19:46:34 +02:00
Clément Fournier
d690b50c07 Move text file stuff into the main document package 2020-09-17 22:37:23 +02:00
Clément Fournier
5d436fb7e1 Move factory methods to the interface 2020-09-17 22:37:12 +02:00
Clément Fournier
f4d6f68cab Checkstyle 2020-09-17 22:36:18 +02:00
Clément Fournier
dd4eac1ddb Doc for FileSystemCloseable 2020-09-17 22:35:06 +02:00
Clément Fournier
266ad0ddb2 Adapt to analysis listeners after rebase 2020-09-17 22:34:48 +02:00
Clément Fournier
13879c9b94 Make RootNode have a text document 2020-09-17 22:33:00 +02:00
Clément Fournier
352afc8e85 Cleanup some more 2020-09-17 22:31:11 +02:00
Clément Fournier
3888443b7e Move other jjtree specific methods 2020-09-17 22:31:11 +02:00
Clément Fournier
578519f692 Remove testing only set coord from AbstractNode 2020-09-17 22:30:48 +02:00
Clément Fournier
656a973fb5 Merge branch 'remove-more-deprecated-things' into analysis-listener 2020-09-01 18:32:29 +02:00
Clément Fournier
2e5de16cce Merge branch '7.0.x' into remove-more-deprecated-things 2020-09-01 18:32:14 +02:00
Clément Fournier
a4d486f7d2 Improve ant test failure messages 2020-09-01 16:53:55 +02:00
Clément Fournier
6671154d80 Checkstyle + pmd 2020-08-31 09:08:50 +02:00
Clément Fournier
76d81e6979 Identify things to move to reporting package 2020-08-31 08:37:03 +02:00
Clément Fournier
f0f51ab720 Some tests 2020-08-31 08:37:02 +02:00
Clément Fournier
2979754fbd Cleanup 2020-08-31 08:35:21 +02:00
Clément Fournier
f942076b2a Get rid of PMDException 2020-08-31 08:34:25 +02:00