aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core/src/test/resources
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2014-03-12 17:52:33 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2014-03-12 17:52:33 +0100
commit758fa16f59b26b5f6d0f4246bdac5b6d22737d76 (patch)
tree4fc12c209c6c141cae2833fbfe83b30fb336d7d9 /sonar-core/src/test/resources
parent58cd42e65eb6c0d510f868b0d7fa8761de4651dc (diff)
downloadsonarqube-758fa16f59b26b5f6d0f4246bdac5b6d22737d76.tar.gz
sonarqube-758fa16f59b26b5f6d0f4246bdac5b6d22737d76.zip
SONAR-5056 Restore requirements columns and move migration of requirements data to rule form rails to a server task
Diffstat (limited to 'sonar-core/src/test/resources')
-rw-r--r--sonar-core/src/test/resources/org/sonar/core/technicaldebt/db/RequirementDaoTest/shared.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/sonar-core/src/test/resources/org/sonar/core/technicaldebt/db/RequirementDaoTest/shared.xml b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/db/RequirementDaoTest/shared.xml
new file mode 100644
index 00000000000..8e097ce5ad1
--- /dev/null
+++ b/sonar-core/src/test/resources/org/sonar/core/technicaldebt/db/RequirementDaoTest/shared.xml
@@ -0,0 +1,13 @@
+<dataset>
+
+ <!-- Requirement -->
+ <characteristics id="3" kee="[null]" name="[null]" parent_id="2" root_id="1" rule_id="10" characteristic_order="[null]"
+ function_key="linear_offset" factor_value="20.0" factor_unit="mn" offset_value="30.0" offset_unit="h" enabled="[true]"
+ created_at="2013-11-20" updated_at="[null]"/>
+
+ <!-- Disabled requirement -->
+ <characteristics id="6" kee="[null]" name="[null]" parent_id="5" root_id="4" rule_id="10" characteristic_order="[null]"
+ function_key="linear_offset" factor_value="30.0" factor_unit="mn" offset_value="20.0" offset_unit="h" enabled="[false]"
+ created_at="2013-11-20" updated_at="2013-11-22"/>
+
+</dataset>