diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2014-03-14 14:02:28 +0100 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2014-03-14 14:02:28 +0100 |
commit | f49602ab2261ba05e9395557958eb23ce563978f (patch) | |
tree | cfdbc6a676c87e244872893b0c3dfdd2f69c5544 /sonar-core | |
parent | 4e72c1f993a66a2598c97d9dcbed7916c05fe527 (diff) | |
download | sonarqube-f49602ab2261ba05e9395557958eb23ce563978f.tar.gz sonarqube-f49602ab2261ba05e9395557958eb23ce563978f.zip |
Remove useless old debt model synchronization and renamed some debt classes
Diffstat (limited to 'sonar-core')
-rw-r--r-- | sonar-core/src/main/java/org/sonar/core/technicaldebt/DebtCharacteristicsXMLImporter.java (renamed from sonar-core/src/main/java/org/sonar/core/technicaldebt/CharacteristicsDebtModelXMLImporter.java) | 4 | ||||
-rw-r--r-- | sonar-core/src/main/java/org/sonar/core/technicaldebt/DebtModelSynchronizer.java (renamed from sonar-core/src/main/java/org/sonar/core/technicaldebt/CharacteristicsDebtModelSynchronizer.java) | 8 | ||||
-rw-r--r-- | sonar-core/src/main/java/org/sonar/core/technicaldebt/DebtRulesXMLImporter.java (renamed from sonar-core/src/main/java/org/sonar/core/technicaldebt/RulesDebtModelXMLImporter.java) | 4 | ||||
-rw-r--r-- | sonar-core/src/test/java/org/sonar/core/technicaldebt/DebtCharacteristicsXMLImporterTest.java (renamed from sonar-core/src/test/java/org/sonar/core/technicaldebt/CharacteristicsDebtModelXMLImporterTest.java) | 8 | ||||
-rw-r--r-- | sonar-core/src/test/java/org/sonar/core/technicaldebt/DebtModelSynchronizerTest.java (renamed from sonar-core/src/test/java/org/sonar/core/technicaldebt/CharacteristicsDebtModelSynchronizerTest.java) | 8 | ||||
-rw-r--r-- | sonar-core/src/test/java/org/sonar/core/technicaldebt/DebtRulesXMLImporterTest.java (renamed from sonar-core/src/test/java/org/sonar/core/technicaldebt/RulesDebtModelXMLImporterTest.java) | 42 | ||||
-rw-r--r-- | sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtCharacteristicsXMLImporterTest/import_badly_formatted_xml.xml (renamed from sonar-core/src/test/resources/org/sonar/core/technicaldebt/CharacteristicsDebtModelXMLImporterTest/import_badly_formatted_xml.xml) | 0 | ||||
-rw-r--r-- | sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtCharacteristicsXMLImporterTest/import_characteristics.xml (renamed from sonar-core/src/test/resources/org/sonar/core/technicaldebt/CharacteristicsDebtModelXMLImporterTest/import_characteristics.xml) | 0 | ||||
-rw-r--r-- | sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtRulesXMLImporterTest/convert_deprecated_linear_with_threshold_function_by_linear_function.xml (renamed from sonar-core/src/test/resources/org/sonar/core/technicaldebt/RulesDebtModelXMLImporterTest/convert_deprecated_linear_with_threshold_function_by_linear_function.xml) | 0 | ||||
-rw-r--r-- | sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtRulesXMLImporterTest/ignore_deprecated_constant_per_file_function.xml (renamed from sonar-core/src/test/resources/org/sonar/core/technicaldebt/RulesDebtModelXMLImporterTest/ignore_deprecated_constant_per_file_function.xml) | 0 | ||||
-rw-r--r-- | sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtRulesXMLImporterTest/ignore_invalid_value.xml (renamed from sonar-core/src/test/resources/org/sonar/core/technicaldebt/RulesDebtModelXMLImporterTest/ignore_invalid_value.xml) | 0 | ||||
-rw-r--r-- | sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtRulesXMLImporterTest/ignore_rule_on_root_characteristics.xml (renamed from sonar-core/src/test/resources/org/sonar/core/technicaldebt/RulesDebtModelXMLImporterTest/ignore_rule_on_root_characteristics.xml) | 0 | ||||
-rw-r--r-- | sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtRulesXMLImporterTest/import_badly_formatted_xml.xml (renamed from sonar-core/src/test/resources/org/sonar/core/technicaldebt/RulesDebtModelXMLImporterTest/import_badly_formatted_xml.xml) | 0 | ||||
-rw-r--r-- | sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtRulesXMLImporterTest/import_constant_issue.xml (renamed from sonar-core/src/test/resources/org/sonar/core/technicaldebt/RulesDebtModelXMLImporterTest/import_constant_issue.xml) | 0 | ||||
-rw-r--r-- | sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtRulesXMLImporterTest/import_linear.xml (renamed from sonar-core/src/test/resources/org/sonar/core/technicaldebt/RulesDebtModelXMLImporterTest/import_linear.xml) | 0 | ||||
-rw-r--r-- | sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtRulesXMLImporterTest/import_linear_with_offset.xml (renamed from sonar-core/src/test/resources/org/sonar/core/technicaldebt/RulesDebtModelXMLImporterTest/import_linear_with_offset.xml) | 0 | ||||
-rw-r--r-- | sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtRulesXMLImporterTest/import_rules.xml (renamed from sonar-core/src/test/resources/org/sonar/core/technicaldebt/RulesDebtModelXMLImporterTest/import_rules.xml) | 0 | ||||
-rw-r--r-- | sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtRulesXMLImporterTest/replace_mn_by_min.xml (renamed from sonar-core/src/test/resources/org/sonar/core/technicaldebt/RulesDebtModelXMLImporterTest/replace_mn_by_min.xml) | 0 | ||||
-rw-r--r-- | sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtRulesXMLImporterTest/use_default_unit_when_no_unit.xml (renamed from sonar-core/src/test/resources/org/sonar/core/technicaldebt/RulesDebtModelXMLImporterTest/use_default_unit_when_no_unit.xml) | 0 |
19 files changed, 37 insertions, 37 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/technicaldebt/CharacteristicsDebtModelXMLImporter.java b/sonar-core/src/main/java/org/sonar/core/technicaldebt/DebtCharacteristicsXMLImporter.java index 24c6876d3ae..5b35bdf02db 100644 --- a/sonar-core/src/main/java/org/sonar/core/technicaldebt/CharacteristicsDebtModelXMLImporter.java +++ b/sonar-core/src/main/java/org/sonar/core/technicaldebt/DebtCharacteristicsXMLImporter.java @@ -37,9 +37,9 @@ import javax.xml.stream.XMLStreamException; import java.io.Reader; import java.io.StringReader; -public class CharacteristicsDebtModelXMLImporter implements ServerExtension { +public class DebtCharacteristicsXMLImporter implements ServerExtension { - private static final Logger LOG = LoggerFactory.getLogger(CharacteristicsDebtModelXMLImporter.class); + private static final Logger LOG = LoggerFactory.getLogger(DebtCharacteristicsXMLImporter.class); public static final String CHARACTERISTIC = "chc"; public static final String CHARACTERISTIC_KEY = "key"; diff --git a/sonar-core/src/main/java/org/sonar/core/technicaldebt/CharacteristicsDebtModelSynchronizer.java b/sonar-core/src/main/java/org/sonar/core/technicaldebt/DebtModelSynchronizer.java index 2caec82d248..7437d4d3885 100644 --- a/sonar-core/src/main/java/org/sonar/core/technicaldebt/CharacteristicsDebtModelSynchronizer.java +++ b/sonar-core/src/main/java/org/sonar/core/technicaldebt/DebtModelSynchronizer.java @@ -36,16 +36,16 @@ import java.util.List; import static com.google.common.collect.Lists.newArrayList; -public class CharacteristicsDebtModelSynchronizer implements ServerExtension { +public class DebtModelSynchronizer implements ServerExtension { - private static final Logger LOG = LoggerFactory.getLogger(CharacteristicsDebtModelSynchronizer.class); + private static final Logger LOG = LoggerFactory.getLogger(DebtModelSynchronizer.class); private final MyBatis mybatis; private final CharacteristicDao dao; private final TechnicalDebtModelRepository languageModelFinder; - private final CharacteristicsDebtModelXMLImporter importer; + private final DebtCharacteristicsXMLImporter importer; - public CharacteristicsDebtModelSynchronizer(MyBatis mybatis, CharacteristicDao dao, TechnicalDebtModelRepository modelRepository, CharacteristicsDebtModelXMLImporter importer) { + public DebtModelSynchronizer(MyBatis mybatis, CharacteristicDao dao, TechnicalDebtModelRepository modelRepository, DebtCharacteristicsXMLImporter importer) { this.mybatis = mybatis; this.dao = dao; this.languageModelFinder = modelRepository; diff --git a/sonar-core/src/main/java/org/sonar/core/technicaldebt/RulesDebtModelXMLImporter.java b/sonar-core/src/main/java/org/sonar/core/technicaldebt/DebtRulesXMLImporter.java index f63c1cc6a8f..f0a43c34c06 100644 --- a/sonar-core/src/main/java/org/sonar/core/technicaldebt/RulesDebtModelXMLImporter.java +++ b/sonar-core/src/main/java/org/sonar/core/technicaldebt/DebtRulesXMLImporter.java @@ -47,9 +47,9 @@ import java.util.List; import static com.google.common.collect.Lists.newArrayList; -public class RulesDebtModelXMLImporter implements ServerExtension { +public class DebtRulesXMLImporter implements ServerExtension { - private static final Logger LOG = LoggerFactory.getLogger(RulesDebtModelXMLImporter.class); + private static final Logger LOG = LoggerFactory.getLogger(DebtRulesXMLImporter.class); public static final String CHARACTERISTIC = "chc"; public static final String CHARACTERISTIC_KEY = "key"; diff --git a/sonar-core/src/test/java/org/sonar/core/technicaldebt/CharacteristicsDebtModelXMLImporterTest.java b/sonar-core/src/test/java/org/sonar/core/technicaldebt/DebtCharacteristicsXMLImporterTest.java index 4e2f75e5ff7..d1a924636a3 100644 --- a/sonar-core/src/test/java/org/sonar/core/technicaldebt/CharacteristicsDebtModelXMLImporterTest.java +++ b/sonar-core/src/test/java/org/sonar/core/technicaldebt/DebtCharacteristicsXMLImporterTest.java @@ -30,14 +30,14 @@ import java.io.IOException; import static org.fest.assertions.Assertions.assertThat; -public class CharacteristicsDebtModelXMLImporterTest { +public class DebtCharacteristicsXMLImporterTest { @Test public void import_characteristics() { String xml = getFileContent("import_characteristics.xml"); ValidationMessages messages = ValidationMessages.create(); - DefaultTechnicalDebtModel debtModel = new CharacteristicsDebtModelXMLImporter().importXML(xml, messages); + DefaultTechnicalDebtModel debtModel = new DebtCharacteristicsXMLImporter().importXML(xml, messages); assertThat(debtModel.rootCharacteristics()).hasSize(2); assertThat(debtModel.rootCharacteristics().get(0).key()).isEqualTo("PORTABILITY"); @@ -63,7 +63,7 @@ public class CharacteristicsDebtModelXMLImporterTest { String xml = getFileContent("import_badly_formatted_xml.xml"); ValidationMessages messages = ValidationMessages.create(); - DefaultTechnicalDebtModel debtModel = new CharacteristicsDebtModelXMLImporter().importXML(xml, messages); + DefaultTechnicalDebtModel debtModel = new DebtCharacteristicsXMLImporter().importXML(xml, messages); checkXmlCorrectlyImported(debtModel, messages); } @@ -84,7 +84,7 @@ public class CharacteristicsDebtModelXMLImporterTest { private String getFileContent(String file) { try { - return Resources.toString(Resources.getResource(CharacteristicsDebtModelXMLImporterTest.class, "CharacteristicsDebtModelXMLImporterTest/" + file), Charsets.UTF_8); + return Resources.toString(Resources.getResource(DebtCharacteristicsXMLImporterTest.class, "DebtCharacteristicsXMLImporterTest/" + file), Charsets.UTF_8); } catch (IOException e) { throw new RuntimeException(e); } diff --git a/sonar-core/src/test/java/org/sonar/core/technicaldebt/CharacteristicsDebtModelSynchronizerTest.java b/sonar-core/src/test/java/org/sonar/core/technicaldebt/DebtModelSynchronizerTest.java index bdcd88db979..64525b009d9 100644 --- a/sonar-core/src/test/java/org/sonar/core/technicaldebt/CharacteristicsDebtModelSynchronizerTest.java +++ b/sonar-core/src/test/java/org/sonar/core/technicaldebt/DebtModelSynchronizerTest.java @@ -46,7 +46,7 @@ import static org.mockito.Matchers.eq; import static org.mockito.Mockito.*; @RunWith(MockitoJUnitRunner.class) -public class CharacteristicsDebtModelSynchronizerTest { +public class DebtModelSynchronizerTest { @Mock MyBatis myBatis; @@ -61,13 +61,13 @@ public class CharacteristicsDebtModelSynchronizerTest { CharacteristicDao dao; @Mock - CharacteristicsDebtModelXMLImporter xmlImporter; + DebtCharacteristicsXMLImporter xmlImporter; Integer currentId = 1; private DefaultTechnicalDebtModel defaultModel; - private CharacteristicsDebtModelSynchronizer manager; + private DebtModelSynchronizer manager; @Before public void initAndMerge() throws Exception { @@ -88,7 +88,7 @@ public class CharacteristicsDebtModelSynchronizerTest { }).when(dao).insert(any(CharacteristicDto.class), any(SqlSession.class)); - manager = new CharacteristicsDebtModelSynchronizer(myBatis, dao, technicalDebtModelRepository, xmlImporter); + manager = new DebtModelSynchronizer(myBatis, dao, technicalDebtModelRepository, xmlImporter); } @Test diff --git a/sonar-core/src/test/java/org/sonar/core/technicaldebt/RulesDebtModelXMLImporterTest.java b/sonar-core/src/test/java/org/sonar/core/technicaldebt/DebtRulesXMLImporterTest.java index bdd72eb7736..5fd8081867b 100644 --- a/sonar-core/src/test/java/org/sonar/core/technicaldebt/RulesDebtModelXMLImporterTest.java +++ b/sonar-core/src/test/java/org/sonar/core/technicaldebt/DebtRulesXMLImporterTest.java @@ -31,15 +31,15 @@ import java.util.List; import static org.fest.assertions.Assertions.assertThat; -public class RulesDebtModelXMLImporterTest { +public class DebtRulesXMLImporterTest { - RulesDebtModelXMLImporter importer = new RulesDebtModelXMLImporter(); + DebtRulesXMLImporter importer = new DebtRulesXMLImporter(); @Test public void import_rules() { String xml = getFileContent("import_rules.xml"); - List<RulesDebtModelXMLImporter.RuleDebt> results = importer.importXML(xml); + List<DebtRulesXMLImporter.RuleDebt> results = importer.importXML(xml); assertThat(results).hasSize(2); } @@ -47,10 +47,10 @@ public class RulesDebtModelXMLImporterTest { public void import_linear() { String xml = getFileContent("import_linear.xml"); - List<RulesDebtModelXMLImporter.RuleDebt> results = importer.importXML(xml); + List<DebtRulesXMLImporter.RuleDebt> results = importer.importXML(xml); assertThat(results).hasSize(1); - RulesDebtModelXMLImporter.RuleDebt ruleDebt = results.get(0); + DebtRulesXMLImporter.RuleDebt ruleDebt = results.get(0); assertThat(ruleDebt.characteristicKey()).isEqualTo("MEMORY_EFFICIENCY"); assertThat(ruleDebt.ruleKey()).isEqualTo(RuleKey.of("checkstyle", "Regexp")); assertThat(ruleDebt.function()).isEqualTo(RemediationFunction.LINEAR); @@ -62,10 +62,10 @@ public class RulesDebtModelXMLImporterTest { public void import_linear_with_offset() { String xml = getFileContent("import_linear_with_offset.xml"); - List<RulesDebtModelXMLImporter.RuleDebt> results = importer.importXML(xml); + List<DebtRulesXMLImporter.RuleDebt> results = importer.importXML(xml); assertThat(results).hasSize(1); - RulesDebtModelXMLImporter.RuleDebt ruleDebt = results.get(0); + DebtRulesXMLImporter.RuleDebt ruleDebt = results.get(0); assertThat(ruleDebt.characteristicKey()).isEqualTo("MEMORY_EFFICIENCY"); assertThat(ruleDebt.function()).isEqualTo(RemediationFunction.LINEAR_OFFSET); assertThat(ruleDebt.factor()).isEqualTo("3h"); @@ -76,10 +76,10 @@ public class RulesDebtModelXMLImporterTest { public void import_constant_issue() { String xml = getFileContent("import_constant_issue.xml"); - List<RulesDebtModelXMLImporter.RuleDebt> results = importer.importXML(xml); + List<DebtRulesXMLImporter.RuleDebt> results = importer.importXML(xml); assertThat(results).hasSize(1); - RulesDebtModelXMLImporter.RuleDebt ruleDebt = results.get(0); + DebtRulesXMLImporter.RuleDebt ruleDebt = results.get(0); assertThat(ruleDebt.characteristicKey()).isEqualTo("MEMORY_EFFICIENCY"); assertThat(ruleDebt.function()).isEqualTo(RemediationFunction.CONSTANT_ISSUE); assertThat(ruleDebt.factor()).isEqualTo("0d"); @@ -90,10 +90,10 @@ public class RulesDebtModelXMLImporterTest { public void use_default_unit_when_no_unit() { String xml = getFileContent("use_default_unit_when_no_unit.xml"); - List<RulesDebtModelXMLImporter.RuleDebt> results = importer.importXML(xml); + List<DebtRulesXMLImporter.RuleDebt> results = importer.importXML(xml); assertThat(results).hasSize(1); - RulesDebtModelXMLImporter.RuleDebt ruleDebt = results.get(0); + DebtRulesXMLImporter.RuleDebt ruleDebt = results.get(0); assertThat(ruleDebt.characteristicKey()).isEqualTo("MEMORY_EFFICIENCY"); assertThat(ruleDebt.function()).isEqualTo(RemediationFunction.LINEAR); assertThat(ruleDebt.factor()).isEqualTo("3d"); @@ -104,10 +104,10 @@ public class RulesDebtModelXMLImporterTest { public void replace_mn_by_min() { String xml = getFileContent("replace_mn_by_min.xml"); - List<RulesDebtModelXMLImporter.RuleDebt> results = importer.importXML(xml); + List<DebtRulesXMLImporter.RuleDebt> results = importer.importXML(xml); assertThat(results).hasSize(1); - RulesDebtModelXMLImporter.RuleDebt ruleDebt = results.get(0); + DebtRulesXMLImporter.RuleDebt ruleDebt = results.get(0); assertThat(ruleDebt.characteristicKey()).isEqualTo("MEMORY_EFFICIENCY"); assertThat(ruleDebt.function()).isEqualTo(RemediationFunction.LINEAR); assertThat(ruleDebt.factor()).isEqualTo("3min"); @@ -118,10 +118,10 @@ public class RulesDebtModelXMLImporterTest { public void convert_deprecated_linear_with_threshold_function_by_linear_function() { String xml = getFileContent("convert_deprecated_linear_with_threshold_function_by_linear_function.xml"); - List<RulesDebtModelXMLImporter.RuleDebt> results = importer.importXML(xml); + List<DebtRulesXMLImporter.RuleDebt> results = importer.importXML(xml); assertThat(results).hasSize(1); - RulesDebtModelXMLImporter.RuleDebt ruleDebt = results.get(0); + DebtRulesXMLImporter.RuleDebt ruleDebt = results.get(0); assertThat(ruleDebt.characteristicKey()).isEqualTo("MEMORY_EFFICIENCY"); assertThat(ruleDebt.function()).isEqualTo(RemediationFunction.LINEAR); assertThat(ruleDebt.factor()).isEqualTo("3h"); @@ -132,7 +132,7 @@ public class RulesDebtModelXMLImporterTest { public void ignore_deprecated_constant_per_file_function() { String xml = getFileContent("ignore_deprecated_constant_per_file_function.xml"); - List<RulesDebtModelXMLImporter.RuleDebt> results = importer.importXML(xml); + List<DebtRulesXMLImporter.RuleDebt> results = importer.importXML(xml); assertThat(results).isEmpty(); } @@ -140,7 +140,7 @@ public class RulesDebtModelXMLImporterTest { public void ignore_rule_on_root_characteristics() { String xml = getFileContent("ignore_rule_on_root_characteristics.xml"); - List<RulesDebtModelXMLImporter.RuleDebt> results = importer.importXML(xml); + List<DebtRulesXMLImporter.RuleDebt> results = importer.importXML(xml); assertThat(results).isEmpty(); } @@ -148,10 +148,10 @@ public class RulesDebtModelXMLImporterTest { public void import_badly_formatted_xml() { String xml = getFileContent("import_badly_formatted_xml.xml"); - List<RulesDebtModelXMLImporter.RuleDebt> results = importer.importXML(xml); + List<DebtRulesXMLImporter.RuleDebt> results = importer.importXML(xml); assertThat(results).hasSize(1); - RulesDebtModelXMLImporter.RuleDebt ruleDebt = results.get(0); + DebtRulesXMLImporter.RuleDebt ruleDebt = results.get(0); assertThat(ruleDebt.characteristicKey()).isEqualTo("MEMORY_EFFICIENCY"); assertThat(ruleDebt.ruleKey()).isEqualTo(RuleKey.of("checkstyle", "Regexp")); assertThat(ruleDebt.function()).isEqualTo(RemediationFunction.LINEAR); @@ -162,13 +162,13 @@ public class RulesDebtModelXMLImporterTest { @Test public void ignore_invalid_value() throws Exception { String xml = getFileContent("ignore_invalid_value.xml"); - List<RulesDebtModelXMLImporter.RuleDebt> results = importer.importXML(xml); + List<DebtRulesXMLImporter.RuleDebt> results = importer.importXML(xml); assertThat(results).isEmpty(); } private String getFileContent(String file) { try { - return Resources.toString(Resources.getResource(RulesDebtModelXMLImporterTest.class, "RulesDebtModelXMLImporterTest/" + file), Charsets.UTF_8); + return Resources.toString(Resources.getResource(DebtRulesXMLImporterTest.class, "DebtRulesXMLImporterTest/" + file), Charsets.UTF_8); } catch (IOException e) { throw new RuntimeException(e); } diff --git a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/CharacteristicsDebtModelXMLImporterTest/import_badly_formatted_xml.xml b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtCharacteristicsXMLImporterTest/import_badly_formatted_xml.xml index 7f19cf39efb..7f19cf39efb 100644 --- a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/CharacteristicsDebtModelXMLImporterTest/import_badly_formatted_xml.xml +++ b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtCharacteristicsXMLImporterTest/import_badly_formatted_xml.xml diff --git a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/CharacteristicsDebtModelXMLImporterTest/import_characteristics.xml b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtCharacteristicsXMLImporterTest/import_characteristics.xml index bc7f7569560..bc7f7569560 100644 --- a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/CharacteristicsDebtModelXMLImporterTest/import_characteristics.xml +++ b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtCharacteristicsXMLImporterTest/import_characteristics.xml diff --git a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RulesDebtModelXMLImporterTest/convert_deprecated_linear_with_threshold_function_by_linear_function.xml b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtRulesXMLImporterTest/convert_deprecated_linear_with_threshold_function_by_linear_function.xml index 9ebc69b94a6..9ebc69b94a6 100644 --- a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RulesDebtModelXMLImporterTest/convert_deprecated_linear_with_threshold_function_by_linear_function.xml +++ b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtRulesXMLImporterTest/convert_deprecated_linear_with_threshold_function_by_linear_function.xml diff --git a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RulesDebtModelXMLImporterTest/ignore_deprecated_constant_per_file_function.xml b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtRulesXMLImporterTest/ignore_deprecated_constant_per_file_function.xml index 4b8ae3f6475..4b8ae3f6475 100644 --- a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RulesDebtModelXMLImporterTest/ignore_deprecated_constant_per_file_function.xml +++ b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtRulesXMLImporterTest/ignore_deprecated_constant_per_file_function.xml diff --git a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RulesDebtModelXMLImporterTest/ignore_invalid_value.xml b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtRulesXMLImporterTest/ignore_invalid_value.xml index bb6bdbb4afb..bb6bdbb4afb 100644 --- a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RulesDebtModelXMLImporterTest/ignore_invalid_value.xml +++ b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtRulesXMLImporterTest/ignore_invalid_value.xml diff --git a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RulesDebtModelXMLImporterTest/ignore_rule_on_root_characteristics.xml b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtRulesXMLImporterTest/ignore_rule_on_root_characteristics.xml index bcf3ed867d3..bcf3ed867d3 100644 --- a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RulesDebtModelXMLImporterTest/ignore_rule_on_root_characteristics.xml +++ b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtRulesXMLImporterTest/ignore_rule_on_root_characteristics.xml diff --git a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RulesDebtModelXMLImporterTest/import_badly_formatted_xml.xml b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtRulesXMLImporterTest/import_badly_formatted_xml.xml index 6c7d153992c..6c7d153992c 100644 --- a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RulesDebtModelXMLImporterTest/import_badly_formatted_xml.xml +++ b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtRulesXMLImporterTest/import_badly_formatted_xml.xml diff --git a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RulesDebtModelXMLImporterTest/import_constant_issue.xml b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtRulesXMLImporterTest/import_constant_issue.xml index 86b1f551fbe..86b1f551fbe 100644 --- a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RulesDebtModelXMLImporterTest/import_constant_issue.xml +++ b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtRulesXMLImporterTest/import_constant_issue.xml diff --git a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RulesDebtModelXMLImporterTest/import_linear.xml b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtRulesXMLImporterTest/import_linear.xml index f641a5185ec..f641a5185ec 100644 --- a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RulesDebtModelXMLImporterTest/import_linear.xml +++ b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtRulesXMLImporterTest/import_linear.xml diff --git a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RulesDebtModelXMLImporterTest/import_linear_with_offset.xml b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtRulesXMLImporterTest/import_linear_with_offset.xml index af05b27015b..af05b27015b 100644 --- a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RulesDebtModelXMLImporterTest/import_linear_with_offset.xml +++ b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtRulesXMLImporterTest/import_linear_with_offset.xml diff --git a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RulesDebtModelXMLImporterTest/import_rules.xml b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtRulesXMLImporterTest/import_rules.xml index d035d7bde00..d035d7bde00 100644 --- a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RulesDebtModelXMLImporterTest/import_rules.xml +++ b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtRulesXMLImporterTest/import_rules.xml diff --git a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RulesDebtModelXMLImporterTest/replace_mn_by_min.xml b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtRulesXMLImporterTest/replace_mn_by_min.xml index a1aafd489b6..a1aafd489b6 100644 --- a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RulesDebtModelXMLImporterTest/replace_mn_by_min.xml +++ b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtRulesXMLImporterTest/replace_mn_by_min.xml diff --git a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RulesDebtModelXMLImporterTest/use_default_unit_when_no_unit.xml b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtRulesXMLImporterTest/use_default_unit_when_no_unit.xml index f05e51228b3..f05e51228b3 100644 --- a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/RulesDebtModelXMLImporterTest/use_default_unit_when_no_unit.xml +++ b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/DebtRulesXMLImporterTest/use_default_unit_when_no_unit.xml |