]> source.dussan.org Git - sonarqube.git/commitdiff
Fix ResourceDaoTest on mssql
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Mon, 27 Oct 2014 21:30:47 +0000 (22:30 +0100)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Mon, 27 Oct 2014 21:30:47 +0000 (22:30 +0100)
sonar-core/src/test/resources/org/sonar/core/resource/ResourceDaoTest/fixture-including-ghost-projects-and-technical-project.xml
sonar-core/src/test/resources/org/sonar/core/resource/ResourceDaoTest/getResources_exclude_disabled.xml

index 0d42037c2791e00b0e5fc5eae0268b86591daaee..39dcac93842b398112e763454dec8d06faaa7614 100644 (file)
@@ -3,6 +3,7 @@
   <!-- root project -->
   <projects id="1" root_id="[null]" scope="PRJ" qualifier="TRK" kee="org.struts:struts" name="Struts"
             description="the description" long_name="Apache Struts"
+            uuid="ABCD" project_uuid="ABCD" module_uuid="[null]" module_uuid_path="[null]"
             enabled="[true]" language="java" copy_resource_id="[null]" person_id="[null]" authorization_updated_at="[null]"/>
   <snapshots id="1" project_id="1" parent_snapshot_id="[null]" root_project_id="1" root_snapshot_id="[null]"
                status="P" islast="[true]" purge_status="[null]"
@@ -26,6 +27,7 @@
   <!-- project -->
   <projects id="2" root_id="1" kee="org.struts:struts-core" name="Struts Core"
             scope="PRJ" qualifier="BRC" long_name="Struts Core"
+            uuid="EFGH" project_uuid="ABCD" module_uuid="[null]" module_uuid_path="ABCD."
             description="[null]" enabled="[true]" language="java" copy_resource_id="[null]" person_id="[null]" authorization_updated_at="[null]"/>
   <snapshots id="2" project_id="2" parent_snapshot_id="1" root_project_id="1" root_snapshot_id="1"
                status="P" islast="[true]" purge_status="[null]"
@@ -41,6 +43,7 @@
   <projects long_name="org.struts" id="3" scope="DIR" qualifier="PAC" kee="org.struts:struts:org.struts"
               name="org.struts" root_id="1"
               description="[null]"
+              uuid="GHIJ" project_uuid="ABCD" module_uuid="EFGH" module_uuid_path="ABCD.EFGH."
               enabled="[true]" language="java" copy_resource_id="[null]" person_id="[null]" authorization_updated_at="[null]"/>
   <snapshots id="3" project_id="3" parent_snapshot_id="2" root_project_id="1" root_snapshot_id="1"
                status="P" islast="[true]" purge_status="[null]"
@@ -55,6 +58,7 @@
   <!-- file -->
   <projects long_name="org.struts.RequestContext" id="4" scope="FIL" qualifier="CLA" kee="org.struts:struts:org.struts.RequestContext"
             name="RequestContext" root_id="1"
+            uuid="KLMN" project_uuid="ABCD" module_uuid="EFGH" module_uuid_path="ABCD.EFGH."
             description="[null]"
             enabled="[true]" language="java" copy_resource_id="[null]" person_id="[null]" authorization_updated_at="[null]"/>
 
 
   <!-- technical project -->
   <projects id="5" root_id="[null]" scope="PRJ" qualifier="TRK" kee="COPYorg.struts:struts" name="Struts"
+            uuid="TECHPROJECT" project_uuid="[null]" module_uuid="[null]" module_uuid_path="[null]"
             description="the description" long_name="Apache Struts"
             enabled="[true]" language="java" copy_resource_id="1" person_id="[null]" authorization_updated_at="[null]"/>
 
   <!-- project without snapshot status=P-->
   <projects id="6" root_id="[null]" scope="PRJ" qualifier="TRK" kee="org.apache.shindig" name="Shinding"
+            uuid="ONLYERRORS" project_uuid="[null]" module_uuid="[null]" module_uuid_path="[null]"
             description="the description" long_name="Shinding"
             enabled="[true]" language="java" copy_resource_id="[null]" person_id="[null]"/>
   <snapshots id="6" project_id="6" parent_snapshot_id="[null]" root_project_id="6" root_snapshot_id="[null]"
   <!-- project without snapshot -->
   <projects id="7" root_id="[null]" kee="org.sample:sample" name="Sample"
             scope="PRJ" qualifier="TRK" long_name="Sample"
+            uuid="NOSNAPSHOT" project_uuid="[null]" module_uuid="[null]" module_uuid_path="[null]"
             description="[null]" enabled="[true]" language="java" copy_resource_id="[null]" person_id="[null]" authorization_updated_at="[null]"/>
 
   <!-- project not enabled -->
   <projects id="8" root_id="[null]" scope="PRJ" qualifier="TRK" kee="org.apache:tika" name="Tika"
             description="the description" long_name="Tika"
+            uuid="DISABLED" project_uuid="[null]" module_uuid="[null]" module_uuid_path="[null]"
             enabled="[false]" language="java" copy_resource_id="[null]" person_id="[null]"/>
   <snapshots id="8" project_id="8" parent_snapshot_id="[null]" root_project_id="8" root_snapshot_id="[null]"
              status="P" islast="[true]" purge_status="[null]"
index adbaacce38c916e0ec8e9fc7a3442b35cbec5d70..dd6b2b78ad39f0689db4ce03506a8d2a84ebb2e7 100644 (file)
@@ -3,10 +3,12 @@
   <!-- disabled -->
   <projects id="1" root_id="[null]" scope="PRJ" qualifier="TRK" kee="org.struts:struts" name="Struts"
             description="the description" long_name="Apache Struts"
+            uuid="DISABLED" project_uuid="[null]" module_uuid="[null]" module_uuid_path="[null]"
             enabled="[false]" language="java" copy_resource_id="[null]" person_id="[null]" authorization_updated_at="[null]"/>
 
   <!-- enabled -->
   <projects id="2" root_id="[null]" scope="PRJ" qualifier="TRK" kee="org.struts:struts" name="Struts"
             description="the description" long_name="Apache Struts"
+            uuid="ENABLED" project_uuid="[null]" module_uuid="[null]" module_uuid_path="[null]"
             enabled="[true]" language="java" copy_resource_id="[null]" person_id="[null]" authorization_updated_at="[null]"/>
 </dataset>