]> source.dussan.org Git - sonarqube.git/commitdiff
Remove useless test files
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Fri, 7 Mar 2014 14:08:24 +0000 (15:08 +0100)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Fri, 7 Mar 2014 14:08:39 +0000 (15:08 +0100)
sonar-core/src/test/resources/org/sonar/core/technicaldebt/RuleDebtXMLImporterTest/convert_deprecated_linear_with_threshold_function_by_linear_function.xml [deleted file]
sonar-core/src/test/resources/org/sonar/core/technicaldebt/RuleDebtXMLImporterTest/ignore_deprecated_constant_per_file_function.xml [deleted file]
sonar-core/src/test/resources/org/sonar/core/technicaldebt/RuleDebtXMLImporterTest/ignore_invalid_value.xml [deleted file]
sonar-core/src/test/resources/org/sonar/core/technicaldebt/RuleDebtXMLImporterTest/ignore_rule_on_root_characteristics.xml [deleted file]
sonar-core/src/test/resources/org/sonar/core/technicaldebt/RuleDebtXMLImporterTest/import_badly_formatted_xml.xml [deleted file]
sonar-core/src/test/resources/org/sonar/core/technicaldebt/RuleDebtXMLImporterTest/import_constant_issue.xml [deleted file]
sonar-core/src/test/resources/org/sonar/core/technicaldebt/RuleDebtXMLImporterTest/import_linear.xml [deleted file]
sonar-core/src/test/resources/org/sonar/core/technicaldebt/RuleDebtXMLImporterTest/import_linear_with_offset.xml [deleted file]
sonar-core/src/test/resources/org/sonar/core/technicaldebt/RuleDebtXMLImporterTest/import_rules.xml [deleted file]
sonar-core/src/test/resources/org/sonar/core/technicaldebt/RuleDebtXMLImporterTest/replace_mn_by_min.xml [deleted file]
sonar-core/src/test/resources/org/sonar/core/technicaldebt/RuleDebtXMLImporterTest/use_default_unit_when_no_unit.xml [deleted file]

diff --git a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RuleDebtXMLImporterTest/convert_deprecated_linear_with_threshold_function_by_linear_function.xml b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RuleDebtXMLImporterTest/convert_deprecated_linear_with_threshold_function_by_linear_function.xml
deleted file mode 100644 (file)
index 9ebc69b..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<sqale>
-  <chc>
-    <key>USABILITY</key>
-    <name>Usability</name>
-    <desc>Estimate usability</desc>
-  </chc>
-  <chc>
-    <key>EFFICIENCY</key>
-    <name>Efficiency</name>
-    <chc>
-      <key>MEMORY_EFFICIENCY</key>
-      <name>Memory use</name>
-      <chc>
-        <rule-repo>checkstyle</rule-repo>
-        <rule-key>Regexp</rule-key>
-        <prop>
-          <key>remediationFunction</key>
-          <!-- Should be replaced by linear -->
-          <txt>linear_threshold</txt>
-        </prop>
-        <prop>
-          <key>remediationFactor</key>
-          <val>3.0</val>
-          <txt>h</txt>
-        </prop>
-        <!-- Should be ignored -->
-        <prop>
-          <key>offset</key>
-          <val>1.0</val>
-          <txt>h</txt>
-        </prop>
-      </chc>
-    </chc>
-  </chc>
-
-</sqale>
diff --git a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RuleDebtXMLImporterTest/ignore_deprecated_constant_per_file_function.xml b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RuleDebtXMLImporterTest/ignore_deprecated_constant_per_file_function.xml
deleted file mode 100644 (file)
index 4b8ae3f..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-<sqale>
-  <chc>
-    <key>EFFICIENCY</key>
-    <name>Efficiency</name>
-    <chc>
-      <key>MEMORY_EFFICIENCY</key>
-      <name>Memory use</name>
-      <!-- Should be ignored -->
-      <chc>
-        <rule-repo>checkstyle</rule-repo>
-        <rule-key>Regexp</rule-key>
-        <prop>
-          <key>remediationFactor</key>
-          <val>3.0</val>
-          <txt>h</txt>
-        </prop>
-        <prop>
-          <key>remediationFunction</key>
-          <txt>constant_resource</txt>
-        </prop>
-      </chc>
-    </chc>
-  </chc>
-
-</sqale>
diff --git a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RuleDebtXMLImporterTest/ignore_invalid_value.xml b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RuleDebtXMLImporterTest/ignore_invalid_value.xml
deleted file mode 100644 (file)
index bb6bdbb..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<sqale>
-  <chc>
-    <key>USABILITY</key>
-    <name>Usability</name>
-    <desc>Estimate usability</desc>
-  </chc>
-  <chc>
-    <key>EFFICIENCY</key>
-    <name>Efficiency</name>
-    <chc>
-      <key>MEMORY_EFFICIENCY</key>
-      <name>Memory use</name>
-      <chc>
-        <rule-repo>checkstyle</rule-repo>
-        <rule-key>Regexp</rule-key>
-        <prop>
-          <key>factor</key>
-          <val>abc</val>
-        </prop>
-        <prop>
-          <key>function</key>
-          <txt>linear</txt>
-        </prop>
-      </chc>
-    </chc>
-  </chc>
-
-</sqale>
diff --git a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RuleDebtXMLImporterTest/ignore_rule_on_root_characteristics.xml b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RuleDebtXMLImporterTest/ignore_rule_on_root_characteristics.xml
deleted file mode 100644 (file)
index bcf3ed8..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<sqale>
-  <chc>
-    <key>EFFICIENCY</key>
-    <name>Efficiency</name>
-    <chc>
-      <rule-repo>checkstyle</rule-repo>
-      <rule-key>Regexp</rule-key>
-      <prop>
-        <key>remediationFactor</key>
-        <val>3.0</val>
-        <txt>h</txt>
-      </prop>
-      <prop>
-        <key>remediationFunction</key>
-        <txt>linear</txt>
-      </prop>
-    </chc>
-  </chc>
-</sqale>
diff --git a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RuleDebtXMLImporterTest/import_badly_formatted_xml.xml b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RuleDebtXMLImporterTest/import_badly_formatted_xml.xml
deleted file mode 100644 (file)
index 6c7d153..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-<sqale>
-  <chc>
-    <key>USABILITY
-    </key>
-    <name>Usability
-    </name>
-    <desc>Estimate usability
-    </desc>
-  </chc>
-  <chc>
-    <key>EFFICIENCY
-    </key>
-    <name>Efficiency
-    </name>
-    <chc>
-      <key>MEMORY_EFFICIENCY
-      </key>
-      <name>Memory use
-      </name>
-      <chc>
-        <rule-repo>checkstyle
-        </rule-repo>
-        <rule-key>Regexp
-        </rule-key>
-        <prop>
-          <key>remediationFactor
-          </key>
-          <val>3.0
-          </val>
-          <txt>h
-          </txt>
-        </prop>
-        <prop>
-          <key>remediationFunction
-          </key>
-          <txt>linear
-          </txt>
-        </prop>
-      </chc>
-    </chc>
-  </chc>
-
-</sqale>
diff --git a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RuleDebtXMLImporterTest/import_constant_issue.xml b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RuleDebtXMLImporterTest/import_constant_issue.xml
deleted file mode 100644 (file)
index 86b1f55..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-<sqale>
-  <chc>
-    <key>USABILITY</key>
-    <name>Usability</name>
-    <desc>Estimate usability</desc>
-  </chc>
-  <chc>
-    <key>EFFICIENCY</key>
-    <name>Efficiency</name>
-    <chc>
-      <key>MEMORY_EFFICIENCY</key>
-      <name>Memory use</name>
-      <chc>
-        <rule-repo>checkstyle</rule-repo>
-        <rule-key>Regexp</rule-key>
-        <prop>
-          <key>offset</key>
-          <val>3.0</val>
-          <txt>d</txt>
-        </prop>
-        <prop>
-          <key>remediationFunction</key>
-          <txt>constant_issue</txt>
-        </prop>
-      </chc>
-    </chc>
-  </chc>
-
-</sqale>
diff --git a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RuleDebtXMLImporterTest/import_linear.xml b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RuleDebtXMLImporterTest/import_linear.xml
deleted file mode 100644 (file)
index f641a51..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-<sqale>
-  <chc>
-    <key>USABILITY</key>
-    <name>Usability</name>
-    <desc>Estimate usability</desc>
-  </chc>
-  <chc>
-    <key>EFFICIENCY</key>
-    <name>Efficiency</name>
-    <chc>
-      <key>MEMORY_EFFICIENCY</key>
-      <name>Memory use</name>
-      <chc>
-        <rule-repo>checkstyle</rule-repo>
-        <rule-key>Regexp</rule-key>
-        <prop>
-          <key>remediationFactor</key>
-          <val>3.0</val>
-          <txt>h</txt>
-        </prop>
-        <prop>
-          <key>remediationFunction</key>
-          <txt>linear</txt>
-        </prop>
-      </chc>
-    </chc>
-  </chc>
-
-</sqale>
diff --git a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RuleDebtXMLImporterTest/import_linear_with_offset.xml b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RuleDebtXMLImporterTest/import_linear_with_offset.xml
deleted file mode 100644 (file)
index d1af28f..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-<!--
-  ~ SonarQube, open source software quality management tool.
-  ~ Copyright (C) 2008-2013 SonarSource
-  ~ mailto:contact AT sonarsource DOT com
-  ~
-  ~ SonarQube is free software; you can redistribute it and/or
-  ~ modify it under the terms of the GNU Lesser General Public
-  ~ License as published by the Free Software Foundation; either
-  ~ version 3 of the License, or (at your option) any later version.
-  ~
-  ~ SonarQube is distributed in the hope that it will be useful,
-  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
-  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-  ~ Lesser General Public License for more details.
-  ~
-  ~ You should have received a copy of the GNU Lesser General Public License
-  ~ along with this program; if not, write to the Free Software Foundation,
-  ~ Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
-  -->
-
-<sqale>
-  <chc>
-    <key>USABILITY</key>
-    <name>Usability</name>
-    <desc>Estimate usability</desc>
-  </chc>
-  <chc>
-    <key>EFFICIENCY</key>
-    <name>Efficiency</name>
-    <chc>
-      <key>MEMORY_EFFICIENCY</key>
-      <name>Memory use</name>
-      <chc>
-        <rule-repo>checkstyle</rule-repo>
-        <rule-key>Regexp</rule-key>
-        <prop>
-          <key>remediationFactor</key>
-          <val>3.0</val>
-          <txt>h</txt>
-        </prop>
-        <prop>
-          <key>remediationFunction</key>
-          <txt>linear_offset</txt>
-        </prop>
-        <prop>
-          <key>offset</key>
-          <val>1.0</val>
-          <txt>min</txt>
-        </prop>
-      </chc>
-    </chc>
-  </chc>
-
-</sqale>
diff --git a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RuleDebtXMLImporterTest/import_rules.xml b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RuleDebtXMLImporterTest/import_rules.xml
deleted file mode 100644 (file)
index d035d7b..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-<sqale>
-  <chc>
-    <key>USABILITY</key>
-    <name>Usability</name>
-    <desc>Estimate usability</desc>
-  </chc>
-  <chc>
-    <key>EFFICIENCY</key>
-    <name>Efficiency</name>
-    <chc>
-      <key>MEMORY_EFFICIENCY</key>
-      <name>Memory use</name>
-      <chc>
-        <rule-repo>checkstyle</rule-repo>
-        <rule-key>Regexp</rule-key>
-        <prop>
-          <key>remediationFactor</key>
-          <val>3.0</val>
-          <txt>h</txt>
-        </prop>
-        <prop>
-          <key>remediationFunction</key>
-          <txt>linear</txt>
-        </prop>
-      </chc>
-    </chc>
-  </chc>
-  <chc>
-    <key>PORTABILITY</key>
-    <name>Portability</name>
-    <chc>
-      <key>COMPILER_RELATED_PORTABILITY</key>
-      <name>Compiler related portability</name>
-    </chc>
-    <chc>
-      <key>HARDWARE_RELATED_PORTABILITY</key>
-      <name>Hardware related portability</name>
-      <chc>
-        <rule-repo>checkstyle</rule-repo>
-        <rule-key>Regexp2</rule-key>
-        <prop>
-          <key>remediationFactor</key>
-          <val>3.0</val>
-          <txt>h</txt>
-        </prop>
-        <prop>
-          <key>remediationFunction</key>
-          <txt>linear</txt>
-        </prop>
-        <prop>
-          <key>offset</key>
-          <val>1.0</val>
-          <txt>h</txt>
-        </prop>
-      </chc>
-    </chc>
-  </chc>
-</sqale>
diff --git a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RuleDebtXMLImporterTest/replace_mn_by_min.xml b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RuleDebtXMLImporterTest/replace_mn_by_min.xml
deleted file mode 100644 (file)
index 3254fef..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-<!--
-  ~ SonarQube, open source software quality management tool.
-  ~ Copyright (C) 2008-2013 SonarSource
-  ~ mailto:contact AT sonarsource DOT com
-  ~
-  ~ SonarQube is free software; you can redistribute it and/or
-  ~ modify it under the terms of the GNU Lesser General Public
-  ~ License as published by the Free Software Foundation; either
-  ~ version 3 of the License, or (at your option) any later version.
-  ~
-  ~ SonarQube is distributed in the hope that it will be useful,
-  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
-  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-  ~ Lesser General Public License for more details.
-  ~
-  ~ You should have received a copy of the GNU Lesser General Public License
-  ~ along with this program; if not, write to the Free Software Foundation,
-  ~ Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
-  -->
-
-<sqale>
-  <chc>
-    <key>USABILITY</key>
-    <name>Usability</name>
-    <desc>Estimate usability</desc>
-  </chc>
-  <chc>
-    <key>EFFICIENCY</key>
-    <name>Efficiency</name>
-    <chc>
-      <key>MEMORY_EFFICIENCY</key>
-      <name>Memory use</name>
-      <chc>
-        <rule-repo>checkstyle</rule-repo>
-        <rule-key>Regexp</rule-key>
-        <prop>
-          <key>remediationFactor</key>
-          <val>3.0</val>
-          <txt>mn</txt>
-        </prop>
-        <prop>
-          <key>remediationFunction</key>
-          <txt>linear</txt>
-        </prop>
-      </chc>
-    </chc>
-  </chc>
-
-</sqale>
diff --git a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RuleDebtXMLImporterTest/use_default_unit_when_no_unit.xml b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RuleDebtXMLImporterTest/use_default_unit_when_no_unit.xml
deleted file mode 100644 (file)
index f05e512..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<sqale>
-  <chc>
-    <key>USABILITY</key>
-    <name>Usability</name>
-    <desc>Estimate usability</desc>
-  </chc>
-  <chc>
-    <key>EFFICIENCY</key>
-    <name>Efficiency</name>
-    <chc>
-      <key>MEMORY_EFFICIENCY</key>
-      <name>Memory use</name>
-      <chc>
-        <rule-repo>checkstyle</rule-repo>
-        <rule-key>Regexp</rule-key>
-        <prop>
-          <key>remediationFactor</key>
-          <val>3.0</val>
-        </prop>
-        <prop>
-          <key>remediationFunction</key>
-          <txt>linear</txt>
-        </prop>
-        <prop>
-          <key>offset</key>
-          <val>1.0</val>
-        </prop>
-      </chc>
-    </chc>
-  </chc>
-
-</sqale>