aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/src/test/resources
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2014-06-09 15:35:45 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2014-06-09 16:45:40 +0200
commit3127e7a9ab7ccec1690e3ee637aeb78bf56db934 (patch)
tree304c78a3221ced1f0d456ad714811deddd8a9d8d /sonar-server/src/test/resources
parent04b9a875aad09e1eb100448e69ddb60667db11e2 (diff)
downloadsonarqube-3127e7a9ab7ccec1690e3ee637aeb78bf56db934.tar.gz
sonarqube-3127e7a9ab7ccec1690e3ee637aeb78bf56db934.zip
SONAR-4795 Delete inheriting quality profiles
Diffstat (limited to 'sonar-server/src/test/resources')
-rw-r--r--sonar-server/src/test/resources/org/sonar/server/qualityprofile/ESActiveRuleTest/delete_from_profile/active_rule25.json6
-rw-r--r--sonar-server/src/test/resources/org/sonar/server/qualityprofile/ESActiveRuleTest/delete_from_profile/active_rule2702.json16
-rw-r--r--sonar-server/src/test/resources/org/sonar/server/qualityprofile/ESActiveRuleTest/delete_from_profile/active_rule523.json6
-rw-r--r--sonar-server/src/test/resources/org/sonar/server/qualityprofile/ESActiveRuleTest/shared/rule1.json45
-rw-r--r--sonar-server/src/test/resources/org/sonar/server/qualityprofile/ESActiveRuleTest/shared/rule2.json13
-rw-r--r--sonar-server/src/test/resources/org/sonar/server/qualityprofile/ESActiveRuleTest/shared/rule3.json19
-rw-r--r--sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldActivateInChildren-result.xml18
-rw-r--r--sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldActivateInChildren.xml15
-rw-r--r--sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldChangeParent-result.xml21
-rw-r--r--sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldChangeParent.xml21
-rw-r--r--sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldCheckCycles.xml12
-rw-r--r--sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldDeactivateInChildren-result.xml12
-rw-r--r--sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldDeactivateInChildren.xml14
-rw-r--r--sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldNotDeactivateOverridingChildren-result.xml14
-rw-r--r--sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldNotDeactivateOverridingChildren.xml14
-rw-r--r--sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldRemoveParent-result.xml12
-rw-r--r--sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldRemoveParent.xml14
-rw-r--r--sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldSetParent-result.xml14
-rw-r--r--sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldSetParent.xml12
-rw-r--r--sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/changeParentProfile-result.xml5
-rw-r--r--sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/changeParentProfile.xml22
-rw-r--r--sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/initialData.xml21
-rw-r--r--sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/removeActivatedRules-result.xml8
-rw-r--r--sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/ruleActivated-result.xml5
-rw-r--r--sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/ruleDeactivated-result.xml7
-rw-r--r--sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/ruleParamChanged-result.xml7
-rw-r--r--sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/ruleReverted-result.xml8
-rw-r--r--sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/ruleReverted.xml19
-rw-r--r--sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/ruleSeverityChanged-result.xml5
-rw-r--r--sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/should_not_track_param_change_on_rule_revert_if_no_param.xml13
-rw-r--r--sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/versionIncreaseIfUsed-result.xml7
-rw-r--r--sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/versionIncreaseIfUsedAndInChildren-result.xml7
32 files changed, 0 insertions, 432 deletions
diff --git a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/ESActiveRuleTest/delete_from_profile/active_rule25.json b/sonar-server/src/test/resources/org/sonar/server/qualityprofile/ESActiveRuleTest/delete_from_profile/active_rule25.json
deleted file mode 100644
index 38c9040b3b5..00000000000
--- a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/ESActiveRuleTest/delete_from_profile/active_rule25.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "id": 25,
- "severity": "MINOR",
- "profileId": 1,
- "inheritance": "OVERRIDES"
-}
diff --git a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/ESActiveRuleTest/delete_from_profile/active_rule2702.json b/sonar-server/src/test/resources/org/sonar/server/qualityprofile/ESActiveRuleTest/delete_from_profile/active_rule2702.json
deleted file mode 100644
index 2025fbe362c..00000000000
--- a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/ESActiveRuleTest/delete_from_profile/active_rule2702.json
+++ /dev/null
@@ -1,16 +0,0 @@
-{
- "id": 2702,
- "severity": "CRITICAL",
- "profileId": 1,
- "inheritance": null,
- "params": [
- {
- "key": "fromClasses",
- "value": "**.core.**"
- },
- {
- "key": "toClasses",
- "value": "**.server.**"
- }
- ]
-}
diff --git a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/ESActiveRuleTest/delete_from_profile/active_rule523.json b/sonar-server/src/test/resources/org/sonar/server/qualityprofile/ESActiveRuleTest/delete_from_profile/active_rule523.json
deleted file mode 100644
index 96af0f464a5..00000000000
--- a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/ESActiveRuleTest/delete_from_profile/active_rule523.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "id": 523,
- "severity": "MAJOR",
- "profileId": 2,
- "inheritance": null
-}
diff --git a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/ESActiveRuleTest/shared/rule1.json b/sonar-server/src/test/resources/org/sonar/server/qualityprofile/ESActiveRuleTest/shared/rule1.json
deleted file mode 100644
index 1f8e10e7f72..00000000000
--- a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/ESActiveRuleTest/shared/rule1.json
+++ /dev/null
@@ -1,45 +0,0 @@
-{
- "id": 1,
- "key": "RuleWithParameters",
- "language": "xoo",
- "name": "Rule with parameters - No Issue",
- "description": "Rule containing parameter of different types : boolean, integer, etc. For information, no issue will be linked to this rule.",
- "parentKey": null,
- "repositoryKey": "xoo",
- "severity": "MAJOR",
- "status": "READY",
- "createdAt": "2013-10-28T13:07:26.329Z",
- "updatedAt": "2013-11-08T10:52:53.473Z",
- "params": [
- {
- "key": "string",
- "type": "STRING",
- "defaultValue": null,
- "description": ""
- },
- {
- "key": "text",
- "type": "TEXT",
- "defaultValue": null,
- "description": ""
- },
- {
- "key": "boolean",
- "type": "BOOLEAN",
- "defaultValue": null,
- "description": ""
- },
- {
- "key": "integer",
- "type": "INTEGER",
- "defaultValue": null,
- "description": ""
- },
- {
- "key": "float",
- "type": "FLOAT",
- "defaultValue": null,
- "description": ""
- }
- ]
-}
diff --git a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/ESActiveRuleTest/shared/rule2.json b/sonar-server/src/test/resources/org/sonar/server/qualityprofile/ESActiveRuleTest/shared/rule2.json
deleted file mode 100644
index f1adc5ecc65..00000000000
--- a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/ESActiveRuleTest/shared/rule2.json
+++ /dev/null
@@ -1,13 +0,0 @@
-{
- "id": 2,
- "key": "OneIssuePerLine",
- "language": "xoo",
- "name": "One Issue Per Line",
- "description": "Generate an issue on each line of a file. It requires the metric \"lines\".",
- "parentKey": null,
- "repositoryKey": "xoo",
- "severity": "MAJOR",
- "status": "BETA",
- "createdAt": "2013-10-28T13:07:26.339Z",
- "updatedAt": "2013-11-08T10:52:53.487Z"
-}
diff --git a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/ESActiveRuleTest/shared/rule3.json b/sonar-server/src/test/resources/org/sonar/server/qualityprofile/ESActiveRuleTest/shared/rule3.json
deleted file mode 100644
index 534591d038b..00000000000
--- a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/ESActiveRuleTest/shared/rule3.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "id": 1,
- "key": "RemobedRule",
- "language": "xoo",
- "name": "Removed rule",
- "description": "Removed rule that should be filtered out in default query",
- "parentKey": null,
- "repositoryKey": "xoo",
- "severity": "CRITICAL",
- "status": "REMOVED",
- "createdAt": "2013-10-28T13:07:26.329Z",
- "updatedAt": "2013-11-08T10:52:53.473Z",
- "note": {
- "userLogin": "freddy.mallet",
- "data": "",
- "createdAt": "2013-12-10T13:07:26.329Z",
- "updatedAt": "2013-12-12T10:52:53.473Z"
- }
-}
diff --git a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldActivateInChildren-result.xml b/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldActivateInChildren-result.xml
deleted file mode 100644
index c2f51e7c5cd..00000000000
--- a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldActivateInChildren-result.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<dataset>
-
- <rules tags="[null]" system_tags="[null]" id="1" name="foo" description="test" plugin_config_key="checker/foo"
- plugin_rule_key="checkstyle.rule1" plugin_name="plugin" status="READY" cardinality="SINGLE" parent_id="[null]"/>
-
- <rules_parameters id="1" rule_id="1" name="param1" description="[null]" param_type="REGULAR_EXPRESSION"/>
-
- <rules_profiles id="1" version="2" used_profile="false" name="parent" language="java" parent_name="[null]" />
-
- <rules_profiles id="2" version="2" used_profile="false" name="child" language="java" parent_name="parent" />
-
- <active_rules created_at="[null]" updated_at="[null]" id="1" profile_id="1" rule_id="1" failure_level="2" inheritance="[null]"/>
- <active_rule_parameters id="1" active_rule_id="1" rules_parameter_id="1" rules_parameter_key="param1" value="30"/>
-
- <active_rules created_at="[null]" updated_at="[null]" id="2" profile_id="2" rule_id="1" failure_level="2" inheritance="INHERITED" />
- <active_rule_parameters id="2" active_rule_id="2" rules_parameter_id="1" rules_parameter_key="param1" value="30"/>
-
-</dataset>
diff --git a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldActivateInChildren.xml b/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldActivateInChildren.xml
deleted file mode 100644
index 486f07a228b..00000000000
--- a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldActivateInChildren.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<dataset>
-
- <rules tags="[null]" system_tags="[null]" id="1" name="foo" description="test" plugin_config_key="checker/foo"
- plugin_rule_key="checkstyle.rule1" plugin_name="plugin" status="READY" cardinality="SINGLE" parent_id="[null]"/>
-
- <rules_parameters id="1" rule_id="1" name="param1" description="[null]" param_type="REGULAR_EXPRESSION"/>
-
- <rules_profiles id="1" version="1" used_profile="true" name="parent" language="java" parent_name="[null]" />
-
- <rules_profiles id="2" version="1" used_profile="true" name="child" language="java" parent_name="parent" />
-
- <active_rules created_at="[null]" updated_at="[null]" id="1" profile_id="1" rule_id="1" failure_level="2" inheritance="[null]"/>
- <active_rule_parameters id="1" active_rule_id="1" rules_parameter_id="1" rules_parameter_key="param1" value="30"/>
-
-</dataset>
diff --git a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldChangeParent-result.xml b/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldChangeParent-result.xml
deleted file mode 100644
index fd2d9fb83d5..00000000000
--- a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldChangeParent-result.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<dataset>
-
- <rules tags="[null]" system_tags="[null]" id="1" name="foo" description="test" plugin_config_key="checker/foo"
- plugin_rule_key="checkstyle.rule1" plugin_name="plugin" status="READY" cardinality="SINGLE" parent_id="[null]"/>
-
- <rules tags="[null]" system_tags="[null]" id="2" name="bar" description="test" plugin_config_key="checker/bar"
- plugin_rule_key="checkstyle.rule2" plugin_name="plugin" status="READY" cardinality="SINGLE" parent_id="[null]"/>
-
- <rules_profiles id="1" version="1" used_profile="true" name="parent" language="java" parent_name="[null]" />
-
- <rules_profiles id="2" version="1" used_profile="true" name="new_parent" language="java" parent_name="[null]" />
-
- <rules_profiles id="3" version="2" used_profile="false" name="child" language="java" parent_name="new_parent" />
-
- <active_rules created_at="[null]" updated_at="[null]" id="1" profile_id="1" rule_id="1" failure_level="2" inheritance="[null]"/>
-
- <active_rules created_at="[null]" updated_at="[null]" id="2" profile_id="2" rule_id="2" failure_level="2" inheritance="[null]" />
-
- <active_rules created_at="[null]" updated_at="[null]" id="4" profile_id="3" rule_id="2" failure_level="2" inheritance="INHERITED" />
-
-</dataset>
diff --git a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldChangeParent.xml b/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldChangeParent.xml
deleted file mode 100644
index cc846d55d91..00000000000
--- a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldChangeParent.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<dataset>
-
- <rules tags="[null]" system_tags="[null]" id="1" name="foo" description="test" plugin_config_key="checker/foo"
- plugin_rule_key="checkstyle.rule1" plugin_name="plugin" status="READY" cardinality="SINGLE" parent_id="[null]"/>
-
- <rules tags="[null]" system_tags="[null]" id="2" name="bar" description="test" plugin_config_key="checker/bar"
- plugin_rule_key="checkstyle.rule2" plugin_name="plugin" status="READY" cardinality="SINGLE" parent_id="[null]"/>
-
- <rules_profiles id="1" version="1" used_profile="true" name="parent" language="java" parent_name="[null]" />
-
- <rules_profiles id="2" version="1" used_profile="true" name="new_parent" language="java" parent_name="[null]" />
-
- <rules_profiles id="3" version="1" used_profile="true" name="child" language="java" parent_name="parent" />
-
- <active_rules created_at="[null]" updated_at="[null]" id="1" profile_id="1" rule_id="1" failure_level="2" inheritance="[null]"/>
-
- <active_rules created_at="[null]" updated_at="[null]" id="2" profile_id="2" rule_id="2" failure_level="2" inheritance="[null]"/>
-
- <active_rules created_at="[null]" updated_at="[null]" id="3" profile_id="3" rule_id="1" failure_level="2" inheritance="INHERITED"/>
-
-</dataset>
diff --git a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldCheckCycles.xml b/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldCheckCycles.xml
deleted file mode 100644
index 3ef5b6a1aaf..00000000000
--- a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldCheckCycles.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<dataset>
-
- <rules tags="[null]" system_tags="[null]" id="1" name="foo" description="test" plugin_config_key="checker/foo"
- plugin_rule_key="checkstyle.rule1" plugin_name="plugin" status="READY" cardinality="SINGLE" parent_id="[null]"/>
-
- <rules_profiles id="1" version="1" used_profile="true" name="level1" language="java" parent_name="[null]" />
-
- <rules_profiles id="2" version="1" used_profile="true" name="level2" language="java" parent_name="level1" />
-
- <rules_profiles id="3" version="1" used_profile="true" name="level3" language="java" parent_name="level2" />
-
-</dataset>
diff --git a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldDeactivateInChildren-result.xml b/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldDeactivateInChildren-result.xml
deleted file mode 100644
index 1fe9567d2a6..00000000000
--- a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldDeactivateInChildren-result.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<dataset>
-
- <rules tags="[null]" system_tags="[null]" id="1" name="foo" description="test" plugin_config_key="checker/foo"
- plugin_rule_key="checkstyle.rule1" plugin_name="plugin" status="READY" cardinality="SINGLE" parent_id="[null]"/>
-
- <rules_profiles id="1" version="2" used_profile="false" name="parent" language="java" parent_name="[null]"/>
-
- <rules_profiles id="2" version="2" used_profile="false" name="child" language="java" parent_name="parent" />
-
- <active_rules created_at="[null]" updated_at="[null]" id="1" profile_id="1" rule_id="1" failure_level="2" inheritance="[null]"/>
-
-</dataset>
diff --git a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldDeactivateInChildren.xml b/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldDeactivateInChildren.xml
deleted file mode 100644
index 8b1fbcf5863..00000000000
--- a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldDeactivateInChildren.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<dataset>
-
- <rules tags="[null]" system_tags="[null]" id="1" name="foo" description="test" plugin_config_key="checker/foo"
- plugin_rule_key="checkstyle.rule1" plugin_name="plugin" status="READY" cardinality="SINGLE" parent_id="[null]"/>
-
- <rules_profiles id="1" version="1" used_profile="true" name="parent" language="java" parent_name="[null]" />
-
- <rules_profiles id="2" version="1" used_profile="true" name="child" language="java" parent_name="parent" />
-
- <active_rules created_at="[null]" updated_at="[null]" id="1" profile_id="1" rule_id="1" failure_level="2" inheritance="[null]"/>
-
- <active_rules created_at="[null]" updated_at="[null]" id="2" profile_id="2" rule_id="1" failure_level="2" inheritance="INHERITED"/>
-
-</dataset>
diff --git a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldNotDeactivateOverridingChildren-result.xml b/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldNotDeactivateOverridingChildren-result.xml
deleted file mode 100644
index 8ac5c1f896f..00000000000
--- a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldNotDeactivateOverridingChildren-result.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<dataset>
-
- <rules tags="[null]" system_tags="[null]" id="1" name="foo" description="test" plugin_config_key="checker/foo"
- plugin_rule_key="checkstyle.rule1" plugin_name="plugin" status="READY" cardinality="SINGLE" parent_id="[null]"/>
-
- <rules_profiles id="1" version="2" used_profile="false" name="parent" language="java" parent_name="[null]" />
-
- <rules_profiles id="2" version="1" used_profile="true" name="child" language="java" parent_name="parent" />
-
- <active_rules created_at="[null]" updated_at="[null]" id="1" profile_id="1" rule_id="1" failure_level="2" inheritance="[null]"/>
-
- <active_rules created_at="[null]" updated_at="[null]" id="2" profile_id="2" rule_id="1" failure_level="2" inheritance="[null]"/>
-
-</dataset>
diff --git a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldNotDeactivateOverridingChildren.xml b/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldNotDeactivateOverridingChildren.xml
deleted file mode 100644
index afc3652d57d..00000000000
--- a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldNotDeactivateOverridingChildren.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<dataset>
-
- <rules tags="[null]" system_tags="[null]" id="1" name="foo" description="test" plugin_config_key="checker/foo"
- plugin_rule_key="checkstyle.rule1" plugin_name="plugin" status="READY" cardinality="SINGLE" parent_id="[null]"/>
-
- <rules_profiles id="1" version="1" used_profile="true" name="parent" language="java" parent_name="[null]" />
-
- <rules_profiles id="2" version="1" used_profile="true" name="child" language="java" parent_name="parent" />
-
- <active_rules created_at="[null]" updated_at="[null]" id="1" profile_id="1" rule_id="1" failure_level="2" inheritance="[null]"/>
-
- <active_rules created_at="[null]" updated_at="[null]" id="2" profile_id="2" rule_id="1" failure_level="2" inheritance="OVERRIDES"/>
-
-</dataset>
diff --git a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldRemoveParent-result.xml b/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldRemoveParent-result.xml
deleted file mode 100644
index 90a7808bdd5..00000000000
--- a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldRemoveParent-result.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<dataset>
-
- <rules tags="[null]" system_tags="[null]" id="1" name="foo" description="test" plugin_config_key="checker/foo"
- plugin_rule_key="checkstyle.rule1" plugin_name="plugin" status="READY" cardinality="SINGLE" parent_id="[null]"/>
-
- <rules_profiles id="1" version="1" used_profile="true" name="parent" language="java" parent_name="[null]" />
-
- <rules_profiles id="2" version="2" used_profile="false" name="child" language="java" parent_name="[null]" />
-
- <active_rules created_at="[null]" updated_at="[null]" id="1" profile_id="1" rule_id="1" failure_level="2" inheritance="[null]"/>
-
-</dataset>
diff --git a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldRemoveParent.xml b/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldRemoveParent.xml
deleted file mode 100644
index cd454ddc37a..00000000000
--- a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldRemoveParent.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<dataset>
-
- <rules tags="[null]" system_tags="[null]" id="1" name="foo" description="test" plugin_config_key="checker/foo"
- plugin_rule_key="checkstyle.rule1" plugin_name="plugin" status="READY" cardinality="SINGLE" parent_id="[null]"/>
-
- <rules_profiles id="1" version="1" used_profile="true" name="parent" language="java" parent_name="[null]" />
-
- <rules_profiles id="2" version="1" used_profile="true" name="child" language="java" parent_name="parent" />
-
- <active_rules created_at="[null]" updated_at="[null]" id="1" profile_id="1" rule_id="1" failure_level="2" inheritance="[null]"/>
-
- <active_rules created_at="[null]" updated_at="[null]" id="2" profile_id="2" rule_id="1" failure_level="2" inheritance="INHERITED"/>
-
-</dataset>
diff --git a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldSetParent-result.xml b/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldSetParent-result.xml
deleted file mode 100644
index a84397a8316..00000000000
--- a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldSetParent-result.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<dataset>
-
- <rules tags="[null]" system_tags="[null]" id="1" name="foo" description="test" plugin_config_key="checker/foo"
- plugin_rule_key="checkstyle.rule1" plugin_name="plugin" status="READY" cardinality="SINGLE" parent_id="[null]"/>
-
- <rules_profiles id="1" version="1" used_profile="true" name="parent" language="java" parent_name="[null]" />
-
- <rules_profiles id="2" version="2" used_profile="false" name="child" language="java" parent_name="parent" />
-
- <active_rules created_at="[null]" updated_at="[null]" id="1" profile_id="1" rule_id="1" failure_level="2" inheritance="[null]"/>
-
- <active_rules created_at="[null]" updated_at="[null]" id="2" profile_id="2" rule_id="1" failure_level="2" inheritance="INHERITED"/>
-
-</dataset>
diff --git a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldSetParent.xml b/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldSetParent.xml
deleted file mode 100644
index c1edd622683..00000000000
--- a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/InheritedProfilesTest/shouldSetParent.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<dataset>
-
- <rules tags="[null]" system_tags="[null]" id="1" name="foo" description="test" plugin_config_key="checker/foo"
- plugin_rule_key="checkstyle.rule1" plugin_name="plugin" status="READY" cardinality="SINGLE" parent_id="[null]"/>
-
- <rules_profiles id="1" version="1" used_profile="true" name="parent" language="java" parent_name="[null]" />
-
- <rules_profiles id="2" version="1" used_profile="true" name="child" language="java" parent_name="[null]" />
-
- <active_rules created_at="[null]" updated_at="[null]" id="1" profile_id="1" rule_id="1" failure_level="2" inheritance="[null]"/>
-
-</dataset>
diff --git a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/changeParentProfile-result.xml b/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/changeParentProfile-result.xml
deleted file mode 100644
index e31d8978f02..00000000000
--- a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/changeParentProfile-result.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<dataset>
-
- <active_rule_changes id="1" username="admin" profile_id="2" profile_version="2" rule_id="1" enabled="true" old_severity="[null]" new_severity="2"/>
-
-</dataset>
diff --git a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/changeParentProfile.xml b/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/changeParentProfile.xml
deleted file mode 100644
index 8ed48ad4287..00000000000
--- a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/changeParentProfile.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<dataset>
-
- <rules tags="[null]" system_tags="[null]" id="1" name="foo" description="test" plugin_config_key="checker/foo"
- plugin_rule_key="checkstyle.rule1" plugin_name="plugin" status="READY" cardinality="SINGLE" parent_id="[null]"/>
-
- <rules tags="[null]" system_tags="[null]" id="2" name="bar" description="test2" plugin_config_key="checker/bar"
- plugin_rule_key="checkstyle.rule2" plugin_name="plugin" status="READY" cardinality="SINGLE" parent_id="[null]"/>
- <rules_parameters id="13" rule_id="2" name="param1" description="[null]" param_type="REGULAR_EXPRESSION"/>
-
- <rules_profiles id="1" version="1" used_profile="true" name="parent" language="java" parent_name="[null]" />
-
- <rules_profiles id="2" version="1" used_profile="true" name="child" language="java" parent_name="[null]" />
-
- <active_rules created_at="[null]" updated_at="[null]" id="1" profile_id="1" rule_id="1" failure_level="2" inheritance="[null]"/>
-
- <active_rules created_at="[null]" updated_at="[null]" id="3" profile_id="1" rule_id="2" failure_level="2" inheritance="[null]"/>
- <active_rule_parameters id="1" active_rule_id="3" rules_parameter_id="13" value="30"/>
-
- <active_rules created_at="[null]" updated_at="[null]" id="4" profile_id="2" rule_id="2" failure_level="2" inheritance="[null]"/>
- <active_rule_parameters id="2" active_rule_id="4" rules_parameter_id="13" value="60"/>
-
-</dataset>
diff --git a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/initialData.xml b/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/initialData.xml
deleted file mode 100644
index 9f5e218e6b3..00000000000
--- a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/initialData.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<dataset>
-
- <rules tags="[null]" system_tags="[null]" id="1" name="foo" description="test" plugin_config_key="checker/foo"
- plugin_rule_key="checkstyle.rule1" plugin_name="plugin" status="READY" cardinality="SINGLE" parent_id="[null]"/>
-
- <rules tags="[null]" system_tags="[null]" id="2" name="bar" description="test2" plugin_config_key="checker/bar"
- plugin_rule_key="checkstyle.rule2" plugin_name="plugin" status="READY" cardinality="SINGLE" parent_id="[null]"/>
- <rules_parameters id="13" rule_id="2" name="param1" description="[null]" param_type="REGULAR_EXPRESSION"/>
-
- <rules_profiles id="1" version="1" used_profile="true" name="parent" language="java" parent_name="[null]" />
-
- <rules_profiles id="2" version="1" used_profile="true" name="child" language="java" parent_name="parent" />
-
- <active_rules created_at="[null]" updated_at="[null]" id="1" profile_id="1" rule_id="1" failure_level="2" inheritance="[null]"/>
-
- <active_rules created_at="[null]" updated_at="[null]" id="2" profile_id="2" rule_id="1" failure_level="2" inheritance="INHERITED"/>
-
- <active_rules created_at="[null]" updated_at="[null]" id="3" profile_id="2" rule_id="2" failure_level="2" inheritance="[null]"/>
- <active_rule_parameters id="1" active_rule_id="3" rules_parameter_id="13" value="30"/>
-
-</dataset>
diff --git a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/removeActivatedRules-result.xml b/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/removeActivatedRules-result.xml
deleted file mode 100644
index 03b04b26912..00000000000
--- a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/removeActivatedRules-result.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<dataset>
-
- <active_rule_changes id="1" username="[null]" profile_id="1" profile_version="2" rule_id="1" enabled="false" old_severity="2" new_severity="[null]"/>
- <active_rule_changes id="2" username="[null]" profile_id="2" profile_version="2" rule_id="1" enabled="false" old_severity="2" new_severity="[null]"/>
-
- <active_rules created_at="[null]" updated_at="[null]" id="3" profile_id="2" rule_id="2" failure_level="2" inheritance="[null]"/>
-
-</dataset>
diff --git a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/ruleActivated-result.xml b/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/ruleActivated-result.xml
deleted file mode 100644
index e19b67be4cf..00000000000
--- a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/ruleActivated-result.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<dataset>
-
- <active_rule_changes id="1" username="admin" profile_id="2" profile_version="2" rule_id="2" enabled="true" old_severity="[null]" new_severity="2"/>
-
-</dataset>
diff --git a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/ruleDeactivated-result.xml b/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/ruleDeactivated-result.xml
deleted file mode 100644
index 28129b3017d..00000000000
--- a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/ruleDeactivated-result.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<dataset>
-
- <active_rule_changes id="1" username="admin" profile_id="2" profile_version="2" rule_id="2" enabled="false" old_severity="2" new_severity="[null]"/>
-
- <active_rule_param_changes id="1" active_rule_change_id="1" rules_parameter_id="13" old_value="30" new_value="[null]"/>
-
-</dataset>
diff --git a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/ruleParamChanged-result.xml b/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/ruleParamChanged-result.xml
deleted file mode 100644
index 698999f5239..00000000000
--- a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/ruleParamChanged-result.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<dataset>
-
- <active_rule_changes id="1" username="admin" profile_id="2" profile_version="2" rule_id="2" enabled="[null]" old_severity="[null]" new_severity="[null]"/>
-
- <active_rule_param_changes id="1" active_rule_change_id="1" rules_parameter_id="13" old_value="20" new_value="30"/>
-
-</dataset>
diff --git a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/ruleReverted-result.xml b/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/ruleReverted-result.xml
deleted file mode 100644
index eda98ec8c82..00000000000
--- a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/ruleReverted-result.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<dataset>
-
- <active_rule_changes id="1" username="admin" profile_id="2" profile_version="2" rule_id="2" enabled="[null]" old_severity="3" new_severity="2"/>
-
- <active_rule_param_changes id="1" active_rule_change_id="1" rules_parameter_id="13" old_value="30" new_value="[null]"/>
- <active_rule_param_changes id="2" active_rule_change_id="1" rules_parameter_id="14" old_value="100" new_value="50"/>
-
-</dataset>
diff --git a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/ruleReverted.xml b/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/ruleReverted.xml
deleted file mode 100644
index 001f65415a1..00000000000
--- a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/ruleReverted.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<dataset>
-
- <rules tags="[null]" system_tags="[null]" id="2" name="bar" description="test2" plugin_config_key="checker/bar"
- plugin_rule_key="checkstyle.rule2" plugin_name="plugin" status="READY" cardinality="SINGLE" parent_id="[null]"/>
- <rules_parameters id="13" rule_id="2" name="param1" description="[null]" param_type="REGULAR_EXPRESSION"/>
- <rules_parameters id="14" rule_id="2" name="param2" description="[null]" param_type="REGULAR_EXPRESSION"/>
-
- <rules_profiles id="1" version="1" used_profile="true" name="parent" language="java" parent_name="[null]" />
-
- <rules_profiles id="2" version="1" used_profile="true" name="child" language="java" parent_name="parent" />
-
- <active_rules created_at="[null]" updated_at="[null]" id="2" profile_id="1" rule_id="2" failure_level="2" inheritance="[null]"/>
- <active_rule_parameters id="3" active_rule_id="2" rules_parameter_id="14" rules_parameter_key="param2" value="50"/>
-
- <active_rules created_at="[null]" updated_at="[null]" id="3" profile_id="2" rule_id="2" failure_level="3" inheritance="OVERRIDES"/>
- <active_rule_parameters id="1" active_rule_id="3" rules_parameter_id="13" rules_parameter_key="param1" value="30"/>
- <active_rule_parameters id="2" active_rule_id="3" rules_parameter_id="14" rules_parameter_key="param2" value="100"/>
-
-</dataset>
diff --git a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/ruleSeverityChanged-result.xml b/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/ruleSeverityChanged-result.xml
deleted file mode 100644
index 69d8e4077aa..00000000000
--- a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/ruleSeverityChanged-result.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<dataset>
-
- <active_rule_changes id="1" username="admin" profile_id="2" profile_version="2" rule_id="2" enabled="[null]" old_severity="4" new_severity="3"/>
-
-</dataset>
diff --git a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/should_not_track_param_change_on_rule_revert_if_no_param.xml b/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/should_not_track_param_change_on_rule_revert_if_no_param.xml
deleted file mode 100644
index 4e77c9f5dc6..00000000000
--- a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/should_not_track_param_change_on_rule_revert_if_no_param.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<dataset>
-
- <rules tags="[null]" system_tags="[null]" id="2" name="bar" description="test2" plugin_config_key="checker/bar"
- plugin_rule_key="checkstyle.rule2" plugin_name="plugin" status="READY" cardinality="SINGLE" parent_id="[null]"/>
- <rules_profiles id="1" version="1" used_profile="true" name="parent" language="java" parent_name="[null]" />
-
- <rules_profiles id="2" version="1" used_profile="true" name="child" language="java" parent_name="parent" />
-
- <active_rules created_at="[null]" updated_at="[null]" id="2" profile_id="1" rule_id="2" failure_level="2" inheritance="[null]"/>
-
- <active_rules created_at="[null]" updated_at="[null]" id="3" profile_id="2" rule_id="2" failure_level="3" inheritance="OVERRIDES"/>
-
-</dataset>
diff --git a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/versionIncreaseIfUsed-result.xml b/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/versionIncreaseIfUsed-result.xml
deleted file mode 100644
index 01bf3158146..00000000000
--- a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/versionIncreaseIfUsed-result.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<dataset>
-
- <rules_profiles id="1" version="1" used_profile="true" name="parent" language="java" parent_name="[null]" />
-
- <rules_profiles id="2" version="2" used_profile="false" name="child" language="java" parent_name="parent" />
-
-</dataset>
diff --git a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/versionIncreaseIfUsedAndInChildren-result.xml b/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/versionIncreaseIfUsedAndInChildren-result.xml
deleted file mode 100644
index 25f6aac5a80..00000000000
--- a/sonar-server/src/test/resources/org/sonar/server/qualityprofile/RuleChangeTest/versionIncreaseIfUsedAndInChildren-result.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<dataset>
-
- <rules_profiles id="1" version="2" used_profile="false" name="parent" language="java" parent_name="[null]" />
-
- <rules_profiles id="2" version="2" used_profile="false" name="child" language="java" parent_name="parent" />
-
-</dataset>