diff options
Diffstat (limited to 'plugins')
8 files changed, 102 insertions, 102 deletions
diff --git a/plugins/sonar-findbugs-plugin/src/test/resources/org/sonar/plugins/findbugs/findbugsXmlWithUnknownCategory.xml b/plugins/sonar-findbugs-plugin/src/test/resources/org/sonar/plugins/findbugs/findbugsXmlWithUnknownCategory.xml index 33115c28621..fa1766f9696 100644 --- a/plugins/sonar-findbugs-plugin/src/test/resources/org/sonar/plugins/findbugs/findbugsXmlWithUnknownCategory.xml +++ b/plugins/sonar-findbugs-plugin/src/test/resources/org/sonar/plugins/findbugs/findbugsXmlWithUnknownCategory.xml @@ -1,6 +1,6 @@ -<FindBugsFilter>
- <Match>
- <Bug category="CORRECTNESS,MT_CORRECTN9876976" />
- <Priority value="3"/>
- </Match>
+<FindBugsFilter> + <Match> + <Bug category="CORRECTNESS,MT_CORRECTN9876976" /> + <Priority value="3"/> + </Match> </FindBugsFilter>
\ No newline at end of file diff --git a/plugins/sonar-findbugs-plugin/src/test/resources/org/sonar/plugins/findbugs/findbugsXmlWithUnknownCode.xml b/plugins/sonar-findbugs-plugin/src/test/resources/org/sonar/plugins/findbugs/findbugsXmlWithUnknownCode.xml index 874d9c570aa..fa48f22b504 100644 --- a/plugins/sonar-findbugs-plugin/src/test/resources/org/sonar/plugins/findbugs/findbugsXmlWithUnknownCode.xml +++ b/plugins/sonar-findbugs-plugin/src/test/resources/org/sonar/plugins/findbugs/findbugsXmlWithUnknownCode.xml @@ -1,6 +1,6 @@ -<FindBugsFilter>
- <Match>
- <Bug code="BC,EC87LK"/>
- <Priority value="2"/>
- </Match>
+<FindBugsFilter> + <Match> + <Bug code="BC,EC87LK"/> + <Priority value="2"/> + </Match> </FindBugsFilter>
\ No newline at end of file diff --git a/plugins/sonar-findbugs-plugin/src/test/resources/org/sonar/plugins/findbugs/findbugsXmlWithUnknownRule.xml b/plugins/sonar-findbugs-plugin/src/test/resources/org/sonar/plugins/findbugs/findbugsXmlWithUnknownRule.xml index 4e542bbcba7..44214ba7c2a 100644 --- a/plugins/sonar-findbugs-plugin/src/test/resources/org/sonar/plugins/findbugs/findbugsXmlWithUnknownRule.xml +++ b/plugins/sonar-findbugs-plugin/src/test/resources/org/sonar/plugins/findbugs/findbugsXmlWithUnknownRule.xml @@ -1,9 +1,9 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<FindBugsFilter>
- <Match>
- <Bug pattern="DLS_DEAD_LOCAL_STORE" />
- </Match>
- <Match>
- <Bug pattern="UNKNOWN" />
- </Match>
-</FindBugsFilter>
+<?xml version="1.0" encoding="UTF-8"?> +<FindBugsFilter> + <Match> + <Bug pattern="DLS_DEAD_LOCAL_STORE" /> + </Match> + <Match> + <Bug pattern="UNKNOWN" /> + </Match> +</FindBugsFilter> diff --git a/plugins/sonar-findbugs-plugin/src/test/resources/org/sonar/plugins/findbugs/test_module_tree.xml b/plugins/sonar-findbugs-plugin/src/test/resources/org/sonar/plugins/findbugs/test_module_tree.xml index ec5853df727..c53239001c0 100644 --- a/plugins/sonar-findbugs-plugin/src/test/resources/org/sonar/plugins/findbugs/test_module_tree.xml +++ b/plugins/sonar-findbugs-plugin/src/test/resources/org/sonar/plugins/findbugs/test_module_tree.xml @@ -1,9 +1,9 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<FindBugsFilter>
- <Match>
- <Bug pattern="DLS_DEAD_LOCAL_STORE" />
- </Match>
- <Match>
- <Bug pattern="URF_UNREAD_FIELD" />
- </Match>
-</FindBugsFilter>
+<?xml version="1.0" encoding="UTF-8"?> +<FindBugsFilter> + <Match> + <Bug pattern="DLS_DEAD_LOCAL_STORE" /> + </Match> + <Match> + <Bug pattern="URF_UNREAD_FIELD" /> + </Match> +</FindBugsFilter> diff --git a/plugins/sonar-findbugs-plugin/src/test/resources/org/sonar/plugins/findbugs/test_xml_complete.xml b/plugins/sonar-findbugs-plugin/src/test/resources/org/sonar/plugins/findbugs/test_xml_complete.xml index 6be898051d5..57a4af4b209 100644 --- a/plugins/sonar-findbugs-plugin/src/test/resources/org/sonar/plugins/findbugs/test_xml_complete.xml +++ b/plugins/sonar-findbugs-plugin/src/test/resources/org/sonar/plugins/findbugs/test_xml_complete.xml @@ -1,11 +1,11 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<!-- Sonar Findbugs rules generated configuration -->
-<!-- Do NEVER specify a rule priority in the export file !! -->
-<FindBugsFilter>
- <Match>
- <Bug pattern="DLS_DEAD_LOCAL_STORE" />
- </Match>
- <Match>
- <Bug pattern="URF_UNREAD_FIELD" />
- </Match>
-</FindBugsFilter>
+<?xml version="1.0" encoding="UTF-8"?> +<!-- Sonar Findbugs rules generated configuration --> +<!-- Do NEVER specify a rule priority in the export file !! --> +<FindBugsFilter> + <Match> + <Bug pattern="DLS_DEAD_LOCAL_STORE" /> + </Match> + <Match> + <Bug pattern="URF_UNREAD_FIELD" /> + </Match> +</FindBugsFilter> diff --git a/plugins/sonar-pmd-plugin/src/test/resources/org/sonar/plugins/pmd/complex-with-unknown-nodes.xml b/plugins/sonar-pmd-plugin/src/test/resources/org/sonar/plugins/pmd/complex-with-unknown-nodes.xml index c8205d6550c..76a2501ee63 100644 --- a/plugins/sonar-pmd-plugin/src/test/resources/org/sonar/plugins/pmd/complex-with-unknown-nodes.xml +++ b/plugins/sonar-pmd-plugin/src/test/resources/org/sonar/plugins/pmd/complex-with-unknown-nodes.xml @@ -1,28 +1,28 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<!-- Sonar PMD rules generated configuration -->
-<ruleset language="My language" name="My name">
- <description>Sonar PMD rules</description>
- <exclude-pattern>to exclude</exclude-pattern>
- <include-pattern>to include</include-pattern>
- <rule ref="rulesets/coupling.xml/CouplingBetweenObjects" externalInfoUrl="String" typeResolution="false" dfa="true"
- name="ID_1" message="String" since="String">
- <description>rule description</description>
- <priority>2</priority>
- <properties>
- <property name="threshold" value="20"/>
- </properties>
- <exclude name="NMTOKEN"/>
- <example>an example</example>
- </rule>
- <rule ref="rulesets/coupling.xml/ExcessiveImports">
- <priority>3</priority>
- <properties>
- <property name="max" value="30" pluginname="plugin name" description="property description"/>
- </properties>
- </rule>
- <rule ref="rulesets/design.xml/UseNotifyAllInsteadOfNotify">
- <priority>4</priority>
- </rule>
-</ruleset>
-
+<?xml version="1.0" encoding="UTF-8"?> +<!-- Sonar PMD rules generated configuration --> +<ruleset language="My language" name="My name"> + <description>Sonar PMD rules</description> + <exclude-pattern>to exclude</exclude-pattern> + <include-pattern>to include</include-pattern> + <rule ref="rulesets/coupling.xml/CouplingBetweenObjects" externalInfoUrl="String" typeResolution="false" dfa="true" + name="ID_1" message="String" since="String"> + <description>rule description</description> + <priority>2</priority> + <properties> + <property name="threshold" value="20"/> + </properties> + <exclude name="NMTOKEN"/> + <example>an example</example> + </rule> + <rule ref="rulesets/coupling.xml/ExcessiveImports"> + <priority>3</priority> + <properties> + <property name="max" value="30" pluginname="plugin name" description="property description"/> + </properties> + </rule> + <rule ref="rulesets/design.xml/UseNotifyAllInsteadOfNotify"> + <priority>4</priority> + </rule> +</ruleset> +
\ No newline at end of file diff --git a/plugins/sonar-pmd-plugin/src/test/resources/org/sonar/plugins/pmd/simple.xml b/plugins/sonar-pmd-plugin/src/test/resources/org/sonar/plugins/pmd/simple.xml index 68c82503881..43a25104a49 100644 --- a/plugins/sonar-pmd-plugin/src/test/resources/org/sonar/plugins/pmd/simple.xml +++ b/plugins/sonar-pmd-plugin/src/test/resources/org/sonar/plugins/pmd/simple.xml @@ -1,18 +1,18 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<ruleset>
- <description>Sonar PMD rules</description>
- <rule ref="rulesets/coupling.xml/CouplingBetweenObjects">
- <priority>2</priority>
- <properties>
- <property name="threshold" value="20"/>
- </properties>
- </rule>
- <rule ref="rulesets/coupling.xml/ExcessiveImports">
- <properties>
- <property name="max" value="30"/>
- </properties>
- </rule>
- <rule ref="rulesets/design.xml/UseNotifyAllInsteadOfNotify">
- <priority>4</priority>
- </rule>
+<?xml version="1.0" encoding="UTF-8"?> +<ruleset> + <description>Sonar PMD rules</description> + <rule ref="rulesets/coupling.xml/CouplingBetweenObjects"> + <priority>2</priority> + <properties> + <property name="threshold" value="20"/> + </properties> + </rule> + <rule ref="rulesets/coupling.xml/ExcessiveImports"> + <properties> + <property name="max" value="30"/> + </properties> + </rule> + <rule ref="rulesets/design.xml/UseNotifyAllInsteadOfNotify"> + <priority>4</priority> + </rule> </ruleset>
\ No newline at end of file diff --git a/plugins/sonar-pmd-plugin/src/test/resources/org/sonar/plugins/pmd/test_xml_complete.xml b/plugins/sonar-pmd-plugin/src/test/resources/org/sonar/plugins/pmd/test_xml_complete.xml index 4baa6bff58c..39634039cfd 100644 --- a/plugins/sonar-pmd-plugin/src/test/resources/org/sonar/plugins/pmd/test_xml_complete.xml +++ b/plugins/sonar-pmd-plugin/src/test/resources/org/sonar/plugins/pmd/test_xml_complete.xml @@ -1,20 +1,20 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<!-- Sonar PMD rules generated configuration -->
-<ruleset>
- <description>A test profile</description>
- <rule ref="rulesets/coupling.xml/CouplingBetweenObjects">
- <priority>2</priority>
- <properties>
- <property name="threshold" value="20"/>
- </properties>
- </rule>
- <rule ref="rulesets/coupling.xml/ExcessiveImports">
- <priority>3</priority>
- <properties>
- <property name="max" value="30"/>
- </properties>
- </rule>
- <rule ref="rulesets/design.xml/UseNotifyAllInsteadOfNotify">
- <priority>4</priority>
- </rule>
+<?xml version="1.0" encoding="UTF-8"?> +<!-- Sonar PMD rules generated configuration --> +<ruleset> + <description>A test profile</description> + <rule ref="rulesets/coupling.xml/CouplingBetweenObjects"> + <priority>2</priority> + <properties> + <property name="threshold" value="20"/> + </properties> + </rule> + <rule ref="rulesets/coupling.xml/ExcessiveImports"> + <priority>3</priority> + <properties> + <property name="max" value="30"/> + </properties> + </rule> + <rule ref="rulesets/design.xml/UseNotifyAllInsteadOfNotify"> + <priority>4</priority> + </rule> </ruleset>
\ No newline at end of file |