]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3621 fix compatibility of unit tests with non-h2 databases
authorSimon Brandhof <simon.brandhof@gmail.com>
Mon, 8 Oct 2012 17:34:33 +0000 (19:34 +0200)
committerSimon Brandhof <simon.brandhof@gmail.com>
Mon, 8 Oct 2012 17:34:33 +0000 (19:34 +0200)
sonar-core/src/test/resources/org/sonar/core/measure/MeasureFilterExecutorTest/shared.xml

index 7d94c344edc9a6b6affaa896b0e26cb28c4787a3..b5780a88096b06b4f7427cf549961dcbdc83c6f1 100644 (file)
@@ -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 -->
   <!-- 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]"
              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"