]> source.dussan.org Git - sonarqube.git/commitdiff
checkstyle integration tests: use the new rules XML format
authorsimonbrandhof <simon.brandhof@gmail.com>
Mon, 18 Oct 2010 14:22:25 +0000 (14:22 +0000)
committersimonbrandhof <simon.brandhof@gmail.com>
Mon, 18 Oct 2010 14:22:25 +0000 (14:22 +0000)
tests/integration/checkstyle-extensions/checkstyle-extensions.xml

index 612fa55d2a782894e7ef591ca852e148df7f7be3..cbd0bb4360309d97a80877da6b663c18015bad72 100644 (file)
@@ -1,14 +1,16 @@
 <rules>\r
-  <rule key="org.sonar.it.checkstyle.MethodsCountCheck">\r
+  <rule>
+    <key>org.sonar.it.checkstyle.MethodsCountCheck</key>\r
     <name>Methods Count Check</name>\r
     <configKey>Checker/TreeWalker/org.sonar.it.checkstyle.MethodsCountCheck</configKey>\r
-    <category name="Usability"/>\r
+    <isoCategory>Usability</isoCategory>\r
     <description>Count methods.</description>\r
-      <param key="minMethodsCount" type="i">\r
-        <description>Le nombre minimum de méthodes. 10 par défaut.</description>\r
-\r
-        <!-- defaultValue is no more used since sonar 1.5. We keep it in this file to test backward compatibility -->\r
-        <defaultValue>10</defaultValue>\r
-      </param>\r
+    <param>
+      <key>minMethodsCount</key>
+      <description>Le nombre minimum de méthodes. 10 par défaut.</description>\r
+
+      <!-- defaultValue is no more used since sonar 1.5. We keep it in this file to test backward compatibility -->\r
+      <defaultValue>10</defaultValue>\r
+    </param>\r
   </rule>\r
  </rules>
\ No newline at end of file