diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2010-10-18 14:22:25 +0000 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2010-10-18 14:22:25 +0000 |
commit | 975d1f30ac58bb49867d0552e922a1f20e5682e7 (patch) | |
tree | e1fdf656bd16a98eb60e2184f50bdfb56305cafa /tests | |
parent | 8e88960e9aaf0bf64de3cab0518eb256a19165ae (diff) | |
download | sonarqube-975d1f30ac58bb49867d0552e922a1f20e5682e7.tar.gz sonarqube-975d1f30ac58bb49867d0552e922a1f20e5682e7.zip |
checkstyle integration tests: use the new rules XML format
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/checkstyle-extensions/checkstyle-extensions.xml | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/tests/integration/checkstyle-extensions/checkstyle-extensions.xml b/tests/integration/checkstyle-extensions/checkstyle-extensions.xml index 612fa55d2a7..cbd0bb43603 100644 --- a/tests/integration/checkstyle-extensions/checkstyle-extensions.xml +++ b/tests/integration/checkstyle-extensions/checkstyle-extensions.xml @@ -1,14 +1,16 @@ <rules>
- <rule key="org.sonar.it.checkstyle.MethodsCountCheck">
+ <rule> + <key>org.sonar.it.checkstyle.MethodsCountCheck</key>
<name>Methods Count Check</name>
<configKey>Checker/TreeWalker/org.sonar.it.checkstyle.MethodsCountCheck</configKey>
- <category name="Usability"/>
+ <isoCategory>Usability</isoCategory>
<description>Count methods.</description>
- <param key="minMethodsCount" type="i">
- <description>Le nombre minimum de méthodes. 10 par défaut.</description>
-
- <!-- defaultValue is no more used since sonar 1.5. We keep it in this file to test backward compatibility -->
- <defaultValue>10</defaultValue>
- </param>
+ <param> + <key>minMethodsCount</key> + <description>Le nombre minimum de méthodes. 10 par défaut.</description>
+ + <!-- defaultValue is no more used since sonar 1.5. We keep it in this file to test backward compatibility -->
+ <defaultValue>10</defaultValue>
+ </param>
</rule>
</rules>
\ No newline at end of file |