diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-05-13 01:05:13 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-05-13 01:05:13 +0200 |
commit | 48b69e888b43b162a53d7e6fbd14aa499a056105 (patch) | |
tree | 36533320e8d4beda37c587fe81fff9324d1b2857 /sonar-core/src/test/resources | |
parent | 0fe25123678e29293ac6d5cc8a7973c5c0cda2ca (diff) | |
download | sonarqube-48b69e888b43b162a53d7e6fbd14aa499a056105.tar.gz sonarqube-48b69e888b43b162a53d7e6fbd14aa499a056105.zip |
SONAR-5064 Remove active rule notes
Diffstat (limited to 'sonar-core/src/test/resources')
10 files changed, 23 insertions, 49 deletions
diff --git a/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/delete-result.xml b/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/delete-result.xml index 39e1decb6d1..29697429a4b 100644 --- a/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/delete-result.xml +++ b/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/delete-result.xml @@ -1,12 +1,9 @@ <dataset> <!--<active_rules id="1" profile_id="1" rule_id="10" failure_level="2" inheritance="INHERITED"--> - <!--note_created_at="2013-12-18" note_updated_at="2013-12-18" note_user_login="henry" note_data="some note"/>--> - <active_rules id="2" profile_id="2" rule_id="10" failure_level="0" inheritance="[null]" - note_created_at="2013-12-18" note_updated_at="2013-12-18" note_user_login="john" note_data="other note"/> + <active_rules id="2" profile_id="2" rule_id="10" failure_level="0" inheritance="[null]"/> - <active_rules id="3" profile_id="2" rule_id="11" failure_level="1" inheritance="[null]" - note_created_at="2013-12-18" note_updated_at="2013-12-18" note_user_login="henry" note_data="other note"/> + <active_rules id="3" profile_id="2" rule_id="11" failure_level="1" inheritance="[null]"/> </dataset> diff --git a/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/delete_from_profile-result.xml b/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/delete_from_profile-result.xml index 231e470df28..e9fbac55033 100644 --- a/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/delete_from_profile-result.xml +++ b/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/delete_from_profile-result.xml @@ -1,12 +1,9 @@ <dataset> - <active_rules id="1" profile_id="1" rule_id="10" failure_level="2" inheritance="INHERITED" - note_created_at="2013-12-18" note_updated_at="2013-12-18" note_user_login="henry" note_data="some note"/> + <active_rules id="1" profile_id="1" rule_id="10" failure_level="2" inheritance="INHERITED"/> <!--<active_rules id="2" profile_id="2" rule_id="10" failure_level="0" inheritance="[null]"--> - <!--note_created_at="2013-12-18" note_updated_at="2013-12-18" note_user_login="john" note_data="other note"/>--> <!--<active_rules id="3" profile_id="2" rule_id="11" failure_level="1" inheritance="[null]"--> - <!--note_created_at="2013-12-18" note_updated_at="2013-12-18" note_user_login="henry" note_data="other note"/>--> </dataset> diff --git a/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/delete_from_rule-result.xml b/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/delete_from_rule-result.xml index 4f066dfeaae..7e8d5ddfecc 100644 --- a/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/delete_from_rule-result.xml +++ b/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/delete_from_rule-result.xml @@ -1,12 +1,9 @@ <dataset> - <active_rules id="1" profile_id="1" rule_id="10" failure_level="2" inheritance="INHERITED" - note_created_at="2013-12-18" note_updated_at="2013-12-18" note_user_login="henry" note_data="some note"/> + <active_rules id="1" profile_id="1" rule_id="10" failure_level="2" inheritance="INHERITED"/> - <active_rules id="2" profile_id="2" rule_id="10" failure_level="0" inheritance="[null]" - note_created_at="2013-12-18" note_updated_at="2013-12-18" note_user_login="john" note_data="other note"/> + <active_rules id="2" profile_id="2" rule_id="10" failure_level="0" inheritance="[null]"/> - <!--<active_rules id="3" profile_id="2" rule_id="11" failure_level="1" inheritance="[null]"--> - <!--note_created_at="2013-12-18" note_updated_at="2013-12-18" note_user_login="henry" note_data="other note"/>--> + <!--<active_rules id="3" profile_id="2" rule_id="11" failure_level="1" inheritance="[null]"/>--> </dataset> diff --git a/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/delete_parameter-result.xml b/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/delete_parameter-result.xml index 66bf84129e4..3057a933a8e 100644 --- a/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/delete_parameter-result.xml +++ b/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/delete_parameter-result.xml @@ -1,10 +1,8 @@ <dataset> - <active_rules id="1" profile_id="1" rule_id="10" failure_level="2" inheritance="INHERITED" - note_created_at="[null]" note_updated_at="[null]" note_user_login="[null]" note_data="[null]"/> + <active_rules id="1" profile_id="1" rule_id="10" failure_level="2" inheritance="INHERITED"/> - <active_rules id="2" profile_id="2" rule_id="10" failure_level="0" inheritance="[null]" - note_created_at="[null]" note_updated_at="[null]" note_user_login="[null]" note_data="[null]"/> + <active_rules id="2" profile_id="2" rule_id="10" failure_level="0" inheritance="[null]"/> <!--<active_rule_parameters id="1" active_rule_id="1" rules_parameter_id="1" rules_parameter_key="max" value="20"/>--> <active_rule_parameters id="2" active_rule_id="1" rules_parameter_id="2" rules_parameter_key="format" value="html"/> diff --git a/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/delete_parameters-result.xml b/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/delete_parameters-result.xml index 4b0e2e7e0e2..d8bb5660f28 100644 --- a/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/delete_parameters-result.xml +++ b/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/delete_parameters-result.xml @@ -1,10 +1,8 @@ <dataset> - <active_rules id="1" profile_id="1" rule_id="10" failure_level="2" inheritance="INHERITED" - note_created_at="[null]" note_updated_at="[null]" note_user_login="[null]" note_data="[null]"/> + <active_rules id="1" profile_id="1" rule_id="10" failure_level="2" inheritance="INHERITED"/> - <active_rules id="2" profile_id="2" rule_id="10" failure_level="0" inheritance="[null]" - note_created_at="[null]" note_updated_at="[null]" note_user_login="[null]" note_data="[null]"/> + <active_rules id="2" profile_id="2" rule_id="10" failure_level="0" inheritance="[null]"/> <!--<active_rule_parameters id="1" active_rule_id="1" rules_parameter_id="1" rules_parameter_key="max" value="20"/>--> <!--<active_rule_parameters id="2" active_rule_id="1" rules_parameter_id="2" rules_parameter_key="format" value="html"/>--> diff --git a/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/delete_parameters_from_profile_id-result.xml b/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/delete_parameters_from_profile_id-result.xml index a77383cece4..0bd84f428ea 100644 --- a/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/delete_parameters_from_profile_id-result.xml +++ b/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/delete_parameters_from_profile_id-result.xml @@ -1,14 +1,11 @@ <dataset> - <active_rules id="1" profile_id="1" rule_id="10" failure_level="2" inheritance="INHERITED" - note_created_at="2013-12-18" note_updated_at="2013-12-18" note_user_login="henry" note_data="some note"/> + <active_rules id="1" profile_id="1" rule_id="10" failure_level="2" inheritance="INHERITED"/> <!-- Parent of Active rule 1 --> - <active_rules id="2" profile_id="2" rule_id="10" failure_level="0" inheritance="[null]" - note_created_at="2013-12-18" note_updated_at="2013-12-18" note_user_login="john" note_data="other note"/> + <active_rules id="2" profile_id="2" rule_id="10" failure_level="0" inheritance="[null]"/> - <active_rules id="3" profile_id="2" rule_id="11" failure_level="1" inheritance="[null]" - note_created_at="2013-12-18" note_updated_at="2013-12-18" note_user_login="henry" note_data="other note"/> + <active_rules id="3" profile_id="2" rule_id="11" failure_level="1" inheritance="[null]"/> <active_rule_parameters id="1" active_rule_id="1" rules_parameter_id="1" rules_parameter_key="max" value="20"/> <active_rule_parameters id="2" active_rule_id="1" rules_parameter_id="2" rules_parameter_key="format" value="html"/> diff --git a/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/delete_parameters_from_profile_id.xml b/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/delete_parameters_from_profile_id.xml index 148ce414a9a..d7a92243391 100644 --- a/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/delete_parameters_from_profile_id.xml +++ b/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/delete_parameters_from_profile_id.xml @@ -1,14 +1,11 @@ <dataset> - <active_rules id="1" profile_id="1" rule_id="10" failure_level="2" inheritance="INHERITED" - note_created_at="2013-12-18" note_updated_at="2013-12-18" note_user_login="henry" note_data="some note"/> + <active_rules id="1" profile_id="1" rule_id="10" failure_level="2" inheritance="INHERITED"/> <!-- Parent of Active rule 1 --> - <active_rules id="2" profile_id="2" rule_id="10" failure_level="0" inheritance="[null]" - note_created_at="2013-12-18" note_updated_at="2013-12-18" note_user_login="john" note_data="other note"/> + <active_rules id="2" profile_id="2" rule_id="10" failure_level="0" inheritance="[null]"/> - <active_rules id="3" profile_id="2" rule_id="11" failure_level="1" inheritance="[null]" - note_created_at="2013-12-18" note_updated_at="2013-12-18" note_user_login="henry" note_data="other note"/> + <active_rules id="3" profile_id="2" rule_id="11" failure_level="1" inheritance="[null]"/> <active_rule_parameters id="1" active_rule_id="1" rules_parameter_id="1" rules_parameter_key="max" value="20"/> <active_rule_parameters id="2" active_rule_id="1" rules_parameter_id="2" rules_parameter_key="format" value="html"/> diff --git a/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/insert-result.xml b/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/insert-result.xml index ee595acf1d8..0a98d012fad 100644 --- a/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/insert-result.xml +++ b/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/insert-result.xml @@ -1,6 +1,5 @@ <dataset> - <active_rules id="1" profile_id="1" rule_id="10" failure_level="2" inheritance="INHERITED" - note_created_at="[null]" note_updated_at="[null]" note_user_login="[null]" note_data="[null]"/> + <active_rules id="1" profile_id="1" rule_id="10" failure_level="2" inheritance="INHERITED"/> </dataset> diff --git a/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/shared.xml b/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/shared.xml index 768b91b2046..55259929055 100644 --- a/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/shared.xml +++ b/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/shared.xml @@ -1,14 +1,11 @@ <dataset> - <active_rules id="1" profile_id="1" rule_id="10" failure_level="2" inheritance="INHERITED" - note_created_at="2013-12-18" note_updated_at="2013-12-18" note_user_login="henry" note_data="some note"/> + <active_rules id="1" profile_id="1" rule_id="10" failure_level="2" inheritance="INHERITED"/> <!-- Parent of Active rule 1 --> - <active_rules id="2" profile_id="2" rule_id="10" failure_level="0" inheritance="[null]" - note_created_at="2013-12-18" note_updated_at="2013-12-18" note_user_login="john" note_data="other note"/> + <active_rules id="2" profile_id="2" rule_id="10" failure_level="0" inheritance="[null]"/> - <active_rules id="3" profile_id="2" rule_id="11" failure_level="1" inheritance="[null]" - note_created_at="2013-12-18" note_updated_at="2013-12-18" note_user_login="henry" note_data="other note"/> + <active_rules id="3" profile_id="2" rule_id="11" failure_level="1" inheritance="[null]"/> <active_rule_parameters id="1" active_rule_id="1" rules_parameter_id="1" rules_parameter_key="max" value="20"/> <active_rule_parameters id="2" active_rule_id="1" rules_parameter_id="2" rules_parameter_key="format" value="html"/> diff --git a/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/update-result.xml b/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/update-result.xml index e0c60d70e89..d30e3009c23 100644 --- a/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/update-result.xml +++ b/sonar-core/src/test/resources/org/sonar/core/qualityprofile/db/ActiveRuleDaoTest/update-result.xml @@ -1,12 +1,9 @@ <dataset> - <active_rules id="1" profile_id="1" rule_id="10" failure_level="4" inheritance="[null]" - note_created_at="[null]" note_updated_at="[null]" note_user_login="[null]" note_data="text"/> + <active_rules id="1" profile_id="1" rule_id="10" failure_level="4" inheritance="[null]"/> - <active_rules id="2" profile_id="2" rule_id="10" failure_level="0" inheritance="[null]" - note_created_at="2013-12-18" note_updated_at="2013-12-18" note_user_login="john" note_data="other note"/> + <active_rules id="2" profile_id="2" rule_id="10" failure_level="0" inheritance="[null]"/> - <active_rules id="3" profile_id="2" rule_id="11" failure_level="1" inheritance="[null]" - note_created_at="2013-12-18" note_updated_at="2013-12-18" note_user_login="henry" note_data="other note"/> + <active_rules id="3" profile_id="2" rule_id="11" failure_level="1" inheritance="[null]"/> </dataset> |