aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch
diff options
context:
space:
mode:
authorJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2015-03-23 11:29:03 +0100
committerJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2015-03-26 14:51:08 +0100
commitac006c9d0639beb12c69b6db24c7b48d0f4ea064 (patch)
tree2a473128beb059f647f2d5bf55d10c875f97b59f /sonar-batch
parentdd25739100ba7e9b2ad426e8b635692241387465 (diff)
downloadsonarqube-ac006c9d0639beb12c69b6db24c7b48d0f4ea064.tar.gz
sonarqube-ac006c9d0639beb12c69b6db24c7b48d0f4ea064.zip
SONAR-6327 Add is_default column to rules_profiles
Diffstat (limited to 'sonar-batch')
-rw-r--r--sonar-batch/src/test/resources/org/sonar/batch/rule/ActiveRulesProviderTest/shared.xml8
-rw-r--r--sonar-batch/src/test/resources/org/sonar/batch/rule/ModuleQProfilesTest/shared.xml8
2 files changed, 8 insertions, 8 deletions
diff --git a/sonar-batch/src/test/resources/org/sonar/batch/rule/ActiveRulesProviderTest/shared.xml b/sonar-batch/src/test/resources/org/sonar/batch/rule/ActiveRulesProviderTest/shared.xml
index 1dc7d2b0423..cb6d9256e2e 100644
--- a/sonar-batch/src/test/resources/org/sonar/batch/rule/ActiveRulesProviderTest/shared.xml
+++ b/sonar-batch/src/test/resources/org/sonar/batch/rule/ActiveRulesProviderTest/shared.xml
@@ -1,12 +1,12 @@
<dataset>
- <rules_profiles id="1" name="Java One" language="java" parent_kee="[null]" kee="java-one"/>
+ <rules_profiles id="1" name="Java One" language="java" parent_kee="[null]" kee="java-one" is_default="[false]"/>
- <rules_profiles id="2" name="Java Two" language="java" parent_kee="[null]" kee="java-two"/>
+ <rules_profiles id="2" name="Java Two" language="java" parent_kee="[null]" kee="java-two" is_default="[false]"/>
- <rules_profiles id="3" name="Php One" language="php" parent_kee="[null]" kee="php-one"/>
+ <rules_profiles id="3" name="Php One" language="php" parent_kee="[null]" kee="php-one" is_default="[false]"/>
- <rules_profiles id="4" name="Cobol One" language="cbl" parent_kee="[null]" kee="cobol-one"/>
+ <rules_profiles id="4" name="Cobol One" language="cbl" parent_kee="[null]" kee="cobol-one" is_default="[false]"/>
<!-- java -->
<active_rules created_at="[null]" updated_at="[null]" id="1" profile_id="2" rule_id="10" failure_level="0" inheritance="[null]"/>
diff --git a/sonar-batch/src/test/resources/org/sonar/batch/rule/ModuleQProfilesTest/shared.xml b/sonar-batch/src/test/resources/org/sonar/batch/rule/ModuleQProfilesTest/shared.xml
index 468609d2039..feb234f20e8 100644
--- a/sonar-batch/src/test/resources/org/sonar/batch/rule/ModuleQProfilesTest/shared.xml
+++ b/sonar-batch/src/test/resources/org/sonar/batch/rule/ModuleQProfilesTest/shared.xml
@@ -1,18 +1,18 @@
<dataset>
- <rules_profiles id="1" name="Java One" language="java" parent_kee="[null]" kee="java-one"
+ <rules_profiles id="1" name="Java One" language="java" parent_kee="[null]" kee="java-one" is_default="[false]"
created_at="2014-01-20" updated_at="2014-01-20"
rules_updated_at="2014-01-20T12:00:00+0000"/>
- <rules_profiles id="2" name="Java Two" language="java" parent_kee="[null]" kee="java-two"
+ <rules_profiles id="2" name="Java Two" language="java" parent_kee="[null]" kee="java-two" is_default="[false]"
created_at="2014-01-20" updated_at="2014-01-20"
rules_updated_at="2014-01-20T12:00:00+0000"/>
- <rules_profiles id="3" name="Php One" language="php" parent_kee="[null]" kee="php-one"
+ <rules_profiles id="3" name="Php One" language="php" parent_kee="[null]" kee="php-one" is_default="[false]"
created_at="2014-01-20" updated_at="2014-01-20"
rules_updated_at="2014-01-20T12:00:00+0000"/>
- <rules_profiles id="4" name="Cobol One" language="cbl" parent_kee="[null]" kee="cobol-one"
+ <rules_profiles id="4" name="Cobol One" language="cbl" parent_kee="[null]" kee="cobol-one" is_default="[false]"
created_at="2014-01-20" updated_at="2014-01-20"
rules_updated_at="2014-01-20T12:00:00+0000"/>