24 Commits

Author SHA1 Message Date
Andreas Dangel
426427e9f3 javascript: move test files from src/main/resources to src/test/resources 2016-05-20 19:43:44 +02:00
Andreas Dangel
9f40a707e0 Closes #1486 Add rule for no-else-return - New Javascript rule 2016-05-20 19:42:32 +02:00
Dionisio Cortes Fernandez
511c7778c5 Small code enhancements, basically reordering variable declarations, constructors and variable modifiers 2016-05-15 22:41:26 +02:00
Andreas Dangel
8bec393cf8 Use the source code position from core in javascript 2016-04-09 18:57:56 +02:00
Andreas Dangel
3e791f5d22 Merge branch 'pr-30' 2016-01-20 22:25:40 +01:00
Andreas Dangel
8c4d307ddd Refactor command line tests for CPD and create a BaseCPDCLITest class 2016-01-20 22:13:25 +01:00
Andreas Dangel
7a33d59a95 Add unit test for new behavior 2016-01-20 22:08:45 +01:00
Andreas Dangel
d563eb30fc Java 7 changes and some compiler warnings fixed 2015-11-29 19:55:13 +01:00
Andreas Dangel
5ee98b8786 Fix javascript after upgrading rhino library 2015-10-04 12:00:24 +02:00
Andreas Dangel
0c69ed6f8b PMD exit with status 4 if violations have been found. 2015-03-21 19:03:03 +01:00
Andreas Dangel
3a4caa5c7c Fix PMD dogfood issues in pmd-cs, pmd-jsp, pmd-javascript, pmd-test 2014-11-16 00:15:47 +01:00
Andreas Dangel
6b0ddaeb51 #1254 CPD run that worked in 5.1.2 fails in 5.1.3 with OOM
Removed default heapsize of 512m
reenabled multiple line strings in javascript
2014-11-15 21:44:37 +01:00
Andreas Dangel
4da773b7fc Add ruleset factory tests for all languages 2014-11-09 11:20:54 +01:00
Andreas Dangel
238f54ad70 Update rhino dependency to 1.7R4 2014-10-18 21:52:08 +02:00
Andreas Dangel
9ade75a621 Refactor CPDGui to detect available languages dynamically 2014-10-12 10:43:53 +02:00
Andreas Dangel
464b0bcef8 Rework CPD's LanguageFactory to use ServiceLoader, too 2014-10-11 12:16:28 +02:00
Andreas Dangel
475745e98e Configure the site for every module 2014-10-08 21:49:23 +02:00
Andreas Dangel
17b573ef81 Fix ant tests - PMDTaskTest is moved partly to java,
javascript and xml
2014-10-06 22:46:01 +02:00
Andreas Dangel
f120134b6d Fix CLI Tests, move coverage test to java 2014-10-06 20:14:43 +02:00
Andreas Dangel
563a41afd7 More fixes - some tests simply moved to java module 2014-10-05 18:46:34 +02:00
Andreas Dangel
8165bc2bf5 Fix test compilation errors - LanguageVersion*Tests in each sub-module now 2014-10-04 20:40:05 +02:00
Andreas Dangel
36327e266e Move cpd code for ecmascript into javascript sub-module 2014-10-04 20:11:55 +02:00
Andreas Dangel
36dd58a4ab Move xml and xsl into own sub-module pmd-xml 2014-10-04 19:06:41 +02:00
Andreas Dangel
2e7310a2cd Move javascript into own sub-module 2014-10-04 18:23:23 +02:00