diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-10-27 22:30:47 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-10-27 22:30:47 +0100 |
commit | 9c3b7aaf5ea2f9451ab01368f946b8671f00991d (patch) | |
tree | 4d8e5c089f08ed6f4cbc7ef82c432fbebf4aa9f9 | |
parent | 44fd962bed6244930372e50cb1985638631ebcab (diff) | |
download | sonarqube-9c3b7aaf5ea2f9451ab01368f946b8671f00991d.tar.gz sonarqube-9c3b7aaf5ea2f9451ab01368f946b8671f00991d.zip |
Fix ResourceDaoTest on mssql
2 files changed, 10 insertions, 0 deletions
diff --git a/sonar-core/src/test/resources/org/sonar/core/resource/ResourceDaoTest/fixture-including-ghost-projects-and-technical-project.xml b/sonar-core/src/test/resources/org/sonar/core/resource/ResourceDaoTest/fixture-including-ghost-projects-and-technical-project.xml index 0d42037c279..39dcac93842 100644 --- a/sonar-core/src/test/resources/org/sonar/core/resource/ResourceDaoTest/fixture-including-ghost-projects-and-technical-project.xml +++ b/sonar-core/src/test/resources/org/sonar/core/resource/ResourceDaoTest/fixture-including-ghost-projects-and-technical-project.xml @@ -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]"/> @@ -70,11 +74,13 @@ <!-- 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]" @@ -100,11 +106,13 @@ <!-- 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]" diff --git a/sonar-core/src/test/resources/org/sonar/core/resource/ResourceDaoTest/getResources_exclude_disabled.xml b/sonar-core/src/test/resources/org/sonar/core/resource/ResourceDaoTest/getResources_exclude_disabled.xml index adbaacce38c..dd6b2b78ad3 100644 --- a/sonar-core/src/test/resources/org/sonar/core/resource/ResourceDaoTest/getResources_exclude_disabled.xml +++ b/sonar-core/src/test/resources/org/sonar/core/resource/ResourceDaoTest/getResources_exclude_disabled.xml @@ -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> |