aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-10-08 19:34:33 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2012-10-08 19:34:33 +0200
commit04bebff417d4d5d9779e2e946df8f3037debc4c1 (patch)
tree123cd7b9e481a4a82e16c9b6316fc90f9626adad
parent2219bb8b44cec98673308568b4e883203dd59ced (diff)
downloadsonarqube-04bebff417d4d5d9779e2e946df8f3037debc4c1.tar.gz
sonarqube-04bebff417d4d5d9779e2e946df8f3037debc4c1.zip
SONAR-3621 fix compatibility of unit tests with non-h2 databases
-rw-r--r--sonar-core/src/test/resources/org/sonar/core/measure/MeasureFilterExecutorTest/shared.xml32
1 files changed, 16 insertions, 16 deletions
diff --git a/sonar-core/src/test/resources/org/sonar/core/measure/MeasureFilterExecutorTest/shared.xml b/sonar-core/src/test/resources/org/sonar/core/measure/MeasureFilterExecutorTest/shared.xml
index 7d94c344edc..b5780a88096 100644
--- a/sonar-core/src/test/resources/org/sonar/core/measure/MeasureFilterExecutorTest/shared.xml
+++ b/sonar-core/src/test/resources/org/sonar/core/measure/MeasureFilterExecutorTest/shared.xml
@@ -1,38 +1,38 @@
<dataset>
<metrics id="1" name="lines" val_type="FLOAT" description="Lines" domain="Size"
- short_name="Lines" qualitative="false" user_managed="false" enabled="true" origin="JAV" worst_value="[null]"
- optimized_best_value="[null]" best_value="[null]" direction="1" hidden="false"
+ short_name="Lines" qualitative="[false]" user_managed="[false]" enabled="[true]" origin="JAV" worst_value="[null]"
+ optimized_best_value="[null]" best_value="[null]" direction="1" hidden="[false]"
delete_historical_data="[null]"/>
<metrics id="2" name="profile" val_type="STRING" description="Profile" domain="Rules"
- short_name="Profile" qualitative="false" user_managed="false" enabled="true" origin="JAV"
+ short_name="Profile" qualitative="[false]" user_managed="[false]" enabled="[true]" origin="JAV"
worst_value="[null]"
- optimized_best_value="[null]" best_value="[null]" direction="0" hidden="false"
+ optimized_best_value="[null]" best_value="[null]" direction="0" hidden="[false]"
delete_historical_data="[null]"/>
<metrics id="3" name="coverage" val_type="FLOAT" description="Coverage" domain="Test"
- short_name="Coverage" qualitative="true" user_managed="false" enabled="true" origin="JAV"
+ short_name="Coverage" qualitative="[true]" user_managed="[false]" enabled="[true]" origin="JAV"
worst_value="[null]"
- optimized_best_value="true" best_value="100" direction="1" hidden="false"
+ optimized_best_value="[true]" best_value="100" direction="1" hidden="[false]"
delete_historical_data="[null]"/>
<!-- java project -->
<projects kee="java_project" long_name="Java project" scope="PRJ" qualifier="TRK" name="Java project"
id="1" root_id="[null]"
- description="[null]" enabled="true" language="java" copy_resource_id="[null]" person_id="[null]"/>
+ description="[null]" enabled="[true]" language="java" copy_resource_id="[null]" person_id="[null]"/>
<projects kee="java_project:org.sonar.foo" scope="DIR" qualifier="PAC" long_name="org.sonar.foo" name="org.sonar.foo"
id="2" root_id="1"
- description="[null]" enabled="true" language="java" copy_resource_id="[null]" person_id="[null]"/>
+ description="[null]" enabled="[true]" language="java" copy_resource_id="[null]" person_id="[null]"/>
<projects kee="java_project:org.sonar.foo.Big" scope="FIL" qualifier="CLA" long_name="org.sonar.foo.Big"
name="Big"
id="3" root_id="1"
- description="[null]" enabled="true" language="java" copy_resource_id="[null]" person_id="[null]"/>
+ description="[null]" enabled="[true]" language="java" copy_resource_id="[null]" person_id="[null]"/>
<projects kee="java_project:org.sonar.foo.Tiny" scope="FIL" qualifier="CLA" long_name="org.sonar.foo.Tiny" name="Tiny"
id="4" root_id="1"
- description="[null]" enabled="true" language="java" copy_resource_id="[null]" person_id="[null]"/>
+ description="[null]" enabled="[true]" language="java" copy_resource_id="[null]" person_id="[null]"/>
<snapshots id="101" project_id="1" root_project_id="1" root_snapshot_id="[null]" parent_snapshot_id="[null]"
scope="PRJ" qualifier="TRK" path="" depth="0"
@@ -41,7 +41,7 @@
period3_param="[null]" period3_date="[null]" period4_mode="[null]" period4_param="[null]"
period4_date="[null]" period5_mode="[null]" period5_param="[null]" period5_date="[null]"
created_at="2008-12-20 00:00:00.00" build_date="2008-12-20 00:00:00.00"
- version="1.0" status="P" islast="true"/>
+ version="1.0" status="P" islast="[true]"/>
<snapshots id="102" project_id="2" root_project_id="1" root_snapshot_id="101" parent_snapshot_id="101"
scope="DIR" qualifier="PAC" path="101." depth="1"
@@ -50,7 +50,7 @@
period3_param="[null]" period3_date="[null]" period4_mode="[null]" period4_param="[null]"
period4_date="[null]" period5_mode="[null]" period5_param="[null]" period5_date="[null]"
created_at="2008-12-20 00:00:00.00" build_date="2008-12-20 00:00:00.00"
- version="1.0" status="P" islast="true"/>
+ version="1.0" status="P" islast="[true]"/>
<snapshots id="103" project_id="3" root_project_id="1" root_snapshot_id="101" parent_snapshot_id="102"
scope="FIL" qualifier="CLA" path="101.102." depth="2"
@@ -59,7 +59,7 @@
period3_param="[null]" period3_date="[null]" period4_mode="[null]" period4_param="[null]"
period4_date="[null]" period5_mode="[null]" period5_param="[null]" period5_date="[null]"
created_at="2008-12-20 00:00:00.00" build_date="2008-12-20 00:00:00.00"
- version="1.0" status="P" islast="true"/>
+ version="1.0" status="P" islast="[true]"/>
<snapshots id="104" project_id="4" root_project_id="1" root_snapshot_id="101" parent_snapshot_id="102"
scope="FIL" qualifier="CLA" path="101.102." depth="2"
@@ -68,7 +68,7 @@
period3_param="[null]" period3_date="[null]" period4_mode="[null]" period4_param="[null]"
period4_date="[null]" period5_mode="[null]" period5_param="[null]" period5_date="[null]"
created_at="2008-12-20 00:00:00.00" build_date="2008-12-20 00:00:00.00"
- version="1.0" status="P" islast="true"/>
+ version="1.0" status="P" islast="[true]"/>
<!-- lines, variation during period 5 -->
@@ -111,7 +111,7 @@
<!-- php project -->
<projects kee="php_project" long_name="PHP project" scope="PRJ" qualifier="TRK" name="PHP project"
id="10" root_id="[null]"
- description="[null]" enabled="true" language="php" copy_resource_id="[null]" person_id="[null]"/>
+ description="[null]" enabled="[true]" language="php" copy_resource_id="[null]" person_id="[null]"/>
<snapshots id="110" project_id="10" root_project_id="10" root_snapshot_id="[null]" parent_snapshot_id="[null]"
@@ -121,7 +121,7 @@
period3_param="[null]" period3_date="[null]" period4_mode="[null]" period4_param="[null]"
period4_date="[null]" period5_mode="[null]" period5_param="[null]" period5_date="[null]"
created_at="2012-12-13 04:06:00.00" build_date="2012-12-13 04:06:00.00"
- version="3.0" status="P" islast="true"/>
+ version="3.0" status="P" islast="[true]"/>
<!-- lines, many new lines during period 5 -->
<project_measures id="1010" metric_id="1" value="5000" snapshot_id="110"