Commit Graph

13196 Commits

Author SHA1 Message Date
simonbrandhof
365a5dbae8 SONAR-1798 rename RULE_FAILURES.POINTS to COST 2010-09-22 13:29:23 +00:00
simonbrandhof
d6000bfbea SONAR-1798 Ability to register a number of points to a rule violation 2010-09-22 13:14:08 +00:00
fmallet
dc7f858152 Add a new property "stopSquidOnException" to the SquidConfiguration bean. This property is pretty useful when running integration tests in order to fail the tests when something wrong happens. 2010-09-22 12:49:53 +00:00
simonbrandhof
9efe7e5d78 add factory methods to org.sonar.api.qualitymodel.Characteristic 2010-09-22 12:32:49 +00:00
simonbrandhof
7bcadee385 SONAR-1804 Upgrade some dependencies and maven plugins 2010-09-22 07:53:51 +00:00
simonbrandhof
6db980c1ca add unit test to CharacteristicProperty 2010-09-21 21:46:25 +00:00
simonbrandhof
d46e081eac quality models: limit the methods of org.sonar.api.qualitymodel.ModelFinder to read methods. Management methods are restricted to core => extracted to org.sonar.server.qualitymodel.ModelManager 2010-09-21 21:25:29 +00:00
simonbrandhof
d4963b41c3 add characteristic properties to quality models 2010-09-21 16:01:48 +00:00
Godin
464ad2d23f Add pluginDescription for Surefire, Core, Design 2010-09-21 12:31:28 +00:00
fmallet
6f121d1d2b Add new IT test for rule template edition mode 2010-09-21 12:00:48 +00:00
fmallet
0730967fae Fix IT test 2010-09-21 11:45:17 +00:00
fmallet
e4eb03c708 Add new IT test on copy rule template feature 2010-09-21 11:15:37 +00:00
simonbrandhof
21c0382866 GWT API: add the method Links.openRulePopup() 2010-09-21 11:14:33 +00:00
fmallet
157d76eb67 Add IT test on PMD XPath rule 2010-09-21 09:56:29 +00:00
fmallet
2f41ded2ce Improve the maintainability level of the backup-profile IT test by removing hardcoded number of expected rules 2010-09-21 09:25:49 +00:00
fmallet
1fd085a34d Create a new search_and_display_inactive_rules integration test and activate all new IT tests in all-tests.html 2010-09-21 08:23:50 +00:00
Godin
05e77fb905 SONAR-1778: Add pluginDescription for Cobertura and Google analytics 2010-09-20 21:31:49 +00:00
fmallet
1580df1472 Fix integration test 2010-09-20 17:12:21 +00:00
simonbrandhof
d62dab83dd fix edition of user rules 2010-09-20 16:53:25 +00:00
simonbrandhof
76453df999 fix activation of rule parameters with default value 2010-09-20 16:44:22 +00:00
fmallet
f6eae0b6e6 Add a new integration test to test bulk operations on quality profiles 2010-09-20 16:30:10 +00:00
simonbrandhof
6494a6d3e9 Rules API: parameters with default value are automatically activated when a rule is activated (profile console + provided profiles loaded at startup) 2010-09-20 15:31:17 +00:00
fmallet
74635c14aa Fix integration tests 2010-09-20 15:28:57 +00:00
fmallet
7aa5532f20 Fix integration test 2010-09-20 15:24:07 +00:00
fmallet
602eae7e4c Fix integration test 2010-09-20 15:20:35 +00:00
fmallet
732074fe5a Add a new integration test to test backup of quality profile 2010-09-20 15:17:00 +00:00
simonbrandhof
4db0f67d15 SONAR-1799 Upgrade to sonar-maven-plugin 1.0-beta-2 2010-09-20 14:31:49 +00:00
simonbrandhof
60ec8a88c1 ruby api : add the methods QualityModel.characteristics_without_rule and QualityModel.characteristic() 2010-09-20 14:27:01 +00:00
fmallet
bb32902cf6 fix Checkstyle extension implementation : MethodsCountCheck. A NullPointerException was thrown on files without java class definition. 2010-09-20 13:43:04 +00:00
fmallet
8a7e71bd6d fix integration test, the checkstyle rule 'Methods Count Check' was not taken into account 2010-09-17 15:09:33 +00:00
fmallet
ced6b594e3 fix : The PMD rule CloneMethodMustImplementCloneable was not imported from the profile Sonar Way 2010-09-17 13:38:58 +00:00
fmallet
94cb8ef21d fix integration test : SONAR-583-reuse-rules-config 2010-09-17 13:29:59 +00:00
simonbrandhof
325aadeb23 add methods JRubyFacade.getRuleRepositories() and getRuleRepository(String key) 2010-09-17 12:47:39 +00:00
fmallet
483e556846 fix integration test : the root node of a PMD configuration is "ruleset" and not "resultset" 2010-09-17 12:20:29 +00:00
fmallet
7215f16b54 When the import of a PMD configuration file fails, the full stack trace is logged in the Sonar log file. 2010-09-17 11:53:13 +00:00
fmallet
b4ba514185 fix SONAR-1480 : No way to export Findbugs rules in a XML file and then to reimport this file to create a new Quality profile
Moreover, the Findbugs plugin now uses the new Rule API
2010-09-17 11:51:49 +00:00
simonbrandhof
ee5682e886 fix integration tests on alerts 2010-09-16 20:49:16 +00:00
simonbrandhof
a49dfa3853 add unit tests to quality models 2010-09-16 16:12:31 +00:00
simonbrandhof
690808781a add the column CHARACTERISTICS.ENABLED 2010-09-16 15:58:42 +00:00
simonbrandhof
17976169eb undo: some unit tests have been wrongly moved to sonar-deprecated 2010-09-16 10:02:33 +00:00
simonbrandhof
11cd0a981e Default XML format to define rules : add the property <defaultValue> to <param> nodes 2010-09-16 09:22:54 +00:00
fmallet
af671ec593 Prevent Unit Tests from generating report file outside of the /target directory 2010-09-16 08:47:47 +00:00
fmallet
f27104c1d9 fix SONAR-1766 - A warning is generated when the user tries to import a PMD configuration file with contains XPath rules. Those rules must be defined through the user web interface. 2010-09-15 22:01:00 +00:00
fmallet
513e60ec6d SONAR-1766 - remove useless test resource 2010-09-15 21:42:27 +00:00
fmallet
3196fad33e SONAR-1766 - The PMD XPath rule can now be duplicated through the Sonar user interface and is operational. 2010-09-15 21:41:32 +00:00
fmallet
c889c986bc remove unexpected use of System.out 2010-09-15 15:18:17 +00:00
Godin
739c60296c SONAR-1793: Fix wrong URL construction in ViolationQuery, when depth parameter used 2010-09-15 15:06:36 +00:00
fmallet
83a555da85 SONAR-1766 : Definition of the XPath rule and first version of the export mechanism 2010-09-15 15:01:17 +00:00
fmallet
5ac2f4fb7d SONAR-1766 : The PMD plugin uses the new Sonar rule API 2010-09-15 12:11:34 +00:00
Godin
08b90340d4 SONAR-1792: Generate a help mojo which describes all mojos in a sonar-dev-maven-plugin 2010-09-14 22:11:46 +00:00