]> source.dussan.org Git - sonarqube.git/commitdiff
Delete unused test files
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Mon, 23 Jan 2017 21:10:48 +0000 (22:10 +0100)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Tue, 24 Jan 2017 08:39:30 +0000 (09:39 +0100)
server/sonar-server/src/test/resources/org/sonar/server/measure/MeasureFilterExecutorTest/escape_percent_and_underscore_when_filter_by_component_name_or_key.xml [deleted file]
server/sonar-server/src/test/resources/org/sonar/server/measure/MeasureFilterExecutorTest/ignore_person_measures.xml [deleted file]
server/sonar-server/src/test/resources/org/sonar/server/measure/MeasureFilterExecutorTest/ignore_quality_model_measures.xml [deleted file]
server/sonar-server/src/test/resources/org/sonar/server/measure/MeasureFilterExecutorTest/shared.xml [deleted file]
server/sonar-server/src/test/resources/org/sonar/server/measure/MeasureFilterExecutorTest/sort_by_alert.xml [deleted file]

diff --git a/server/sonar-server/src/test/resources/org/sonar/server/measure/MeasureFilterExecutorTest/escape_percent_and_underscore_when_filter_by_component_name_or_key.xml b/server/sonar-server/src/test/resources/org/sonar/server/measure/MeasureFilterExecutorTest/escape_percent_and_underscore_when_filter_by_component_name_or_key.xml
deleted file mode 100644 (file)
index 56cac4d..0000000
+++ /dev/null
@@ -1,139 +0,0 @@
-<dataset>
-
-  <!-- java project -->
-  <projects organization_uuid="org1"
-            uuid="UUID_JAVA_PROJECT"
-            uuid_path="."
-            project_uuid="UUID_JAVA_PROJECT"
-            description="[null]"
-            enabled="[true]"
-            language="[null]"
-            created_at="2008-12-19 00:00:00.00"
-            kee="java_project"
-            long_name="java project"
-            scope="PRJ"
-            qualifier="TRK"
-            name="project"
-            id="1"
-            root_uuid="NOT_USED"/>
-
-  <projects organization_uuid="org1"
-            uuid="FILE1"
-            uuid_path=".UUID_JAVA_PROJECT."
-            project_uuid="UUID_JAVA_PROJECT"
-            description="[null]"
-            enabled="[true]"
-            language="java"
-            created_at="2008-12-19 00:00:00.00"
-            kee="java_project:file1"
-            scope="FIL"
-            qualifier="FIL"
-            long_name="org.sonar.foo"
-            name="org.sonar.foo"
-            id="2"
-            root_uuid="NOT_USED"/>
-
-  <projects organization_uuid="org1"
-            uuid="FILE2"
-            uuid_path=".UUID_JAVA_PROJECT."
-            project_uuid="UUID_JAVA_PROJECT"
-            description="[null]"
-            enabled="[true]"
-            language="java"
-            created_at="2008-12-19 00:00:00.00"
-            kee="java_project:file2"
-            scope="FIL"
-            qualifier="FIL"
-            long_name="org.sonar.foo.Big"
-            name="Big"
-            id="3"
-            root_uuid="NOT_USED"/>
-
-  <projects organization_uuid="org1"
-            uuid="FILE3"
-            uuid_path=".UUID_JAVA_PROJECT."
-            project_uuid="UUID_JAVA_PROJECT"
-            description="[null]"
-            enabled="[true]"
-            language="java"
-            created_at="2008-12-19 00:00:00.00"
-            kee="java_project:file3"
-            scope="FIL"
-            qualifier="FIL"
-            long_name="org.sonar.foo.Tiny"
-            name="Tiny"
-            id="4"
-            root_uuid="NOT USED"/>
-
-  <projects organization_uuid="org1"
-            uuid="FILE4"
-            uuid_path=".UUID_JAVA_PROJECT."
-            project_uuid="UUID_JAVA_PROJECT"
-            description="[null]"
-            enabled="[true]"
-            language="java"
-            created_at="2008-12-19 00:00:00.00"
-            kee="java_project:file4"
-            scope="FIL"
-            qualifier="FIL"
-            long_name="org.sonar.foo.Tiny"
-            name="Tiny"
-            id="5"
-            root_uuid="NOT USED"/>
-
-  <snapshots id="101"
-             uuid="u101"
-             component_uuid="UUID_JAVA_PROJECT"
-             purge_status="[null]"
-             period1_mode="[null]"
-             period1_param="[null]"
-             period1_date="[null]"
-             period2_mode="[null]"
-             period2_param="[null]"
-             period2_date="[null]"
-             period3_mode="[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="1229727600000"
-             build_date="1229727600000"
-             version="1.0"
-             status="P"
-             islast="[true]"/>
-
-  <resource_index id="1"
-                  kee="java class1"
-                  position="0"
-                  name_size="12"
-                  component_uuid="FILE1"
-                  root_component_uuid="UUID_JAVA_PROJECT"
-                  qualifier="FIL"/>
-  <resource_index id="2"
-                  kee="java class2"
-                  position="1"
-                  name_size="12"
-                  component_uuid="FILE2"
-                  root_component_uuid="UUID_JAVA_PROJECT"
-                  qualifier="FIL"/>
-  <resource_index id="3"
-                  kee="java%class3"
-                  position="2"
-                  name_size="12"
-                  component_uuid="FILE3"
-                  root_component_uuid="UUID_JAVA_PROJECT"
-                  qualifier="FIL"/>
-  <resource_index id="4"
-                  kee="java%class4"
-                  position="3"
-                  name_size="12"
-                  component_uuid="FILE4"
-                  root_component_uuid="UUID_JAVA_PROJECT"
-                  qualifier="FIL"/>
-
-
-</dataset>
diff --git a/server/sonar-server/src/test/resources/org/sonar/server/measure/MeasureFilterExecutorTest/ignore_person_measures.xml b/server/sonar-server/src/test/resources/org/sonar/server/measure/MeasureFilterExecutorTest/ignore_person_measures.xml
deleted file mode 100644 (file)
index af3f50d..0000000
+++ /dev/null
@@ -1,111 +0,0 @@
-<dataset>
-  <metrics id="1"
-           name="lines"
-           val_type="FLOAT"
-           description="Lines"
-           domain="Size"
-           short_name="Lines"
-           qualitative="[false]"
-           user_managed="[false]"
-           enabled="[true]"
-           worst_value="[null]"
-           optimized_best_value="[null]"
-           best_value="[null]"
-           direction="1"
-           hidden="[false]"
-           delete_historical_data="[null]"/>
-
-  <projects organization_uuid="org1"
-            id="1"
-            uuid="UUID_JAVA_PROJECT"
-            uuid_path="."
-            project_uuid="UUID_JAVA_PROJECT"
-            description="[null]"
-            enabled="[true]"
-            language="[null]"
-            kee="java_project"
-            long_name="Java project"
-            scope="PRJ"
-            qualifier="TRK"
-            name="Java project"
-            root_uuid="NOT_USED"
-            copy_component_uuid="[null]"
-  />
-
-  <snapshots id="101"
-             uuid="u101"
-             component_uuid="UUID_JAVA_PROJECT"
-             purge_status="[null]"
-             period1_mode="[null]"
-             period1_param="[null]"
-             period1_date="[null]"
-             period2_mode="[null]"
-             period2_param="[null]"
-             period2_date="[null]"
-             period3_mode="[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="1229727600000"
-             build_date="1229727600000"
-             version="1.0"
-             status="P"
-             islast="[true]"/>
-
-
-  <!-- standard measure -->
-  <project_measures id="1001"
-                    metric_id="1"
-                    value="500"
-                    analysis_uuid="u101"
-                    person_id="[null]"
-                    variation_value_1="[null]"
-                    variation_value_2="[null]"
-                    variation_value_3="[null]"
-                    variation_value_4="[null]"
-                    variation_value_5="400"
-                    alert_text="[null]"
-                    text_value="[null]"
-                    component_uuid="UUID_JAVA_PROJECT"
-                    alert_status="[null]"
-                    description="[null]"/>
-
-  <!-- details of the measure by person -->
-  <project_measures id="1002"
-                    metric_id="1"
-                    value="300"
-                    analysis_uuid="u101"
-                    person_id="30000"
-                    variation_value_1="[null]"
-                    variation_value_2="[null]"
-                    variation_value_3="[null]"
-                    variation_value_4="[null]"
-                    variation_value_5="400"
-                    alert_text="[null]"
-                    text_value="[null]"
-                    component_uuid="UUID_JAVA_PROJECT"
-                    alert_status="[null]"
-                    description="[null]"/>
-
-  <project_measures id="1003"
-                    metric_id="1"
-                    value="200"
-                    analysis_uuid="u101"
-                    person_id="40000"
-                    variation_value_1="[null]"
-                    variation_value_2="[null]"
-                    variation_value_3="[null]"
-                    variation_value_4="[null]"
-                    variation_value_5="400"
-                    alert_text="[null]"
-                    text_value="[null]"
-                    component_uuid="UUID_JAVA_PROJECT"
-                    alert_status="[null]"
-                    description="[null]"/>
-
-</dataset>
diff --git a/server/sonar-server/src/test/resources/org/sonar/server/measure/MeasureFilterExecutorTest/ignore_quality_model_measures.xml b/server/sonar-server/src/test/resources/org/sonar/server/measure/MeasureFilterExecutorTest/ignore_quality_model_measures.xml
deleted file mode 100644 (file)
index 639d5b9..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-<dataset>
-  <metrics id="1"
-           name="lines"
-           val_type="FLOAT"
-           description="Lines"
-           domain="Size"
-           short_name="Lines"
-           qualitative="[false]"
-           user_managed="[false]"
-           enabled="[true]"
-           worst_value="[null]"
-           optimized_best_value="[null]"
-           best_value="[null]"
-           direction="1"
-           hidden="[false]"
-           delete_historical_data="[null]"/>
-
-  <projects organization_uuid="org1"
-            uuid="UUID_JAVA_PROJECT"
-            uuid_path="."
-            project_uuid="UUID_JAVA_PROJECT"
-            description="[null]"
-            enabled="[true]"
-            language="[null]"
-            kee="java_project"
-            long_name="Java project"
-            scope="PRJ"
-            qualifier="TRK"
-            name="Java project"
-            id="1"
-            root_uuid="UUID_JAVA_PROJECT"/>
-
-  <snapshots id="101"
-             uuid="u101"
-             component_uuid="UUID_JAVA_PROJECT"
-             purge_status="[null]"
-             period1_mode="[null]"
-             period1_param="[null]"
-             period1_date="[null]"
-             period2_mode="[null]"
-             period2_param="[null]"
-             period2_date="[null]"
-             period3_mode="[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="1229727600000"
-             build_date="1229727600000"
-             version="1.0"
-             status="P"
-             islast="[true]"/>
-
-
-  <!-- standard measure -->
-  <project_measures id="1001"
-                    metric_id="1"
-                    value="500"
-                    analysis_uuid="u101"
-                    variation_value_1="[null]"
-                    variation_value_2="[null]"
-                    variation_value_3="[null]"
-                    variation_value_4="[null]"
-                    variation_value_5="400"
-                    alert_text="[null]"
-                    text_value="[null]"
-                    component_uuid="UUID_JAVA_PROJECT"
-                    alert_status="[null]"
-                    description="[null]"
-                    person_id="[null]"/>
-
-</dataset>
diff --git a/server/sonar-server/src/test/resources/org/sonar/server/measure/MeasureFilterExecutorTest/shared.xml b/server/sonar-server/src/test/resources/org/sonar/server/measure/MeasureFilterExecutorTest/shared.xml
deleted file mode 100644 (file)
index 2ee1f09..0000000
+++ /dev/null
@@ -1,422 +0,0 @@
-<dataset>
-  <metrics id="1"
-           name="lines"
-           val_type="FLOAT"
-           description="Lines"
-           domain="Size"
-           short_name="Lines"
-           qualitative="[false]"
-           user_managed="[false]"
-           enabled="[true]"
-           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]"
-           worst_value="[null]"
-           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]"
-           worst_value="[null]"
-           optimized_best_value="[true]"
-           best_value="100"
-           direction="1"
-           hidden="[false]"
-           delete_historical_data="[null]"/>
-
-  <metrics id="4"
-           name="unknown"
-           val_type="FLOAT"
-           description="Coverage"
-           domain="Test"
-           short_name="Unknown"
-           qualitative="[true]"
-           user_managed="[false]"
-           enabled="[true]"
-           worst_value="[null]"
-           optimized_best_value="[true]"
-           best_value="100"
-           direction="1"
-           hidden="[false]"
-           delete_historical_data="[null]"/>
-
-  <!-- java project -->
-  <projects organization_uuid="org1"
-            id="1"
-            uuid="UUID_JAVA_PROJECT"
-            uuid_path="."
-            project_uuid="UUID_JAVA_PROJECT"
-            description="[null]"
-            enabled="[true]"
-            language="[null]"
-            created_at="2008-12-19 00:00:00.00"
-            kee="java_project"
-            long_name="Java project"
-            scope="PRJ"
-            qualifier="TRK"
-            name="Java project"
-            root_uuid="NOT_USED"
-            copy_component_uuid="[null]"
-  />
-
-  <projects organization_uuid="org1"
-            id="2"
-            uuid="UUID_JAVA_DIR"
-            uuid_path=".UUID_JAVA_PROJECT."
-            project_uuid="UUID_JAVA_PROJECT"
-            description="[null]"
-            enabled="[true]"
-            language="[null]"
-            created_at="2008-12-19 00:00:00.00"
-            kee="java_project:org.sonar.foo"
-            scope="DIR"
-            qualifier="DIR"
-            long_name="org/sonar/foo"
-            name="org/sonar/foo"
-            root_uuid="NOT_USED"
-            copy_component_uuid="[null]"
-  />
-
-  <projects organization_uuid="org1"
-            id="3"
-            uuid="UUID_JAVA_BIG_FILE"
-            uuid_path=".UUID_JAVA_PROJECT.UUID_JAVA_DIR."
-            project_uuid="UUID_JAVA_PROJECT"
-            description="[null]"
-            enabled="[true]"
-            language="java"
-            created_at="2008-12-19 00:00:00.00"
-            kee="java_project:org.sonar.foo.Big"
-            scope="FIL"
-            qualifier="FIL"
-            long_name="org/sonar/foo/Big.java"
-            name="Big.java"
-            root_uuid="NOT_USED"
-            copy_component_uuid="[null]"
-  />
-
-  <projects organization_uuid="org1"
-            id="4"
-            uuid="UUID_JAVA_TINY_FILE"
-            uuid_path=".UUID_JAVA_PROJECT.UUID_JAVA_DIR."
-            project_uuid="UUID_JAVA_PROJECT"
-            description="[null]"
-            enabled="[true]"
-            language="java"
-            created_at="2008-12-19 00:00:00.00"
-            kee="java_project:org.sonar.foo.Tiny"
-            scope="FIL"
-            qualifier="FIL"
-            long_name="org/sonar/foo/Tiny.java"
-            name="Tiny"
-            root_uuid="NOT_USED"
-            copy_component_uuid="[null]"
-  />
-
-  <snapshots id="101"
-             uuid="u101"
-             component_uuid="UUID_JAVA_PROJECT"
-             purge_status="[null]"
-             period1_mode="[null]"
-             period1_param="[null]"
-             period1_date="[null]"
-             period2_mode="[null]"
-             period2_param="[null]"
-             period2_date="[null]"
-             period3_mode="[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="1229727600000"
-             build_date="1229727600000"
-             version="1.0"
-             status="P"
-             islast="[true]"/>
-
-  <!-- lines, variation during period 5 -->
-  <project_measures id="1001"
-                    metric_id="1"
-                    value="510"
-                    analysis_uuid="u101"
-                    variation_value_1="[null]"
-                    variation_value_2="[null]"
-                    variation_value_3="[null]"
-                    variation_value_4="[null]"
-                    variation_value_5="400"
-                    alert_text="[null]"
-                    text_value="[null]"
-                    component_uuid="UUID_JAVA_PROJECT"
-                    alert_status="[null]"
-                    description="[null]"/>
-
-  <project_measures id="1002"
-                    metric_id="1"
-                    value="510"
-                    analysis_uuid="u101"
-                    variation_value_1="[null]"
-                    variation_value_2="[null]"
-                    variation_value_3="[null]"
-                    variation_value_4="[null]"
-                    variation_value_5="[null]"
-                    alert_text="[null]"
-                    text_value="[null]"
-                    alert_status="[null]"
-                    description="[null]"
-                    component_uuid="UUID_JAVA_DIR"/>
-
-  <project_measures id="1003"
-                    metric_id="1"
-                    value="500"
-                    analysis_uuid="u101"
-                    variation_value_1="[null]"
-                    variation_value_2="[null]"
-                    variation_value_3="[null]"
-                    variation_value_4="[null]"
-                    variation_value_5="[null]"
-                    alert_text="[null]"
-                    text_value="[null]"
-                    alert_status="[null]"
-                    description="[null]"
-                    component_uuid="UUID_JAVA_BIG_FILE"/>
-
-  <project_measures id="1004"
-                    metric_id="1"
-                    value="10"
-                    analysis_uuid="u101"
-                    variation_value_1="[null]"
-                    variation_value_2="[null]"
-                    variation_value_3="[null]"
-                    variation_value_4="[null]"
-                    variation_value_5="[null]"
-                    alert_text="[null]"
-                    text_value="[null]"
-                    alert_status="[null]"
-                    description="[null]"
-                    component_uuid="UUID_JAVA_TINY_FILE"/>
-
-  <!-- profile of java project -->
-  <project_measures id="1005"
-                    metric_id="2"
-                    value="[null]"
-                    analysis_uuid="u101"
-                    variation_value_1="[null]"
-                    variation_value_2="[null]"
-                    variation_value_3="[null]"
-                    variation_value_4="[null]"
-                    variation_value_5="[null]"
-                    alert_text="[null]"
-                    text_value="Sonar way"
-                    component_uuid="UUID_JAVA_PROJECT"
-                    alert_status="[null]"
-                    description="[null]"/>
-
-  <!-- coverage of java project -->
-  <project_measures id="1006"
-                    metric_id="3"
-                    value="12.3"
-                    analysis_uuid="u101"
-                    variation_value_1="[null]"
-                    variation_value_2="[null]"
-                    variation_value_3="[null]"
-                    variation_value_4="[null]"
-                    variation_value_5="[null]"
-                    alert_text="[null]"
-                    text_value="Sonar way"
-                    component_uuid="UUID_JAVA_PROJECT"
-                    alert_status="[null]"
-                    description="[null]"/>
-
-  <!-- php project -->
-  <projects organization_uuid="org1"
-            id="10"
-            uuid="UUID_PHP_PROJECT"
-            uuid_path="."
-            project_uuid="UUID_PHP_PROJECT"
-            description="[null]"
-            enabled="[true]"
-            language="[null]"
-            created_at="2012-12-12 04:06:00.00"
-            kee="php_project"
-            long_name="PHP project"
-            scope="PRJ"
-            qualifier="TRK"
-            name="PHP project"
-            root_uuid="NOT_USED"
-            copy_component_uuid="[null]"
-  />
-
-
-  <snapshots id="110"
-             uuid="u110"
-             component_uuid="UUID_PHP_PROJECT"
-             purge_status="[null]"
-             period1_mode="[null]"
-             period1_param="[null]"
-             period1_date="[null]"
-             period2_mode="[null]"
-             period2_param="[null]"
-             period2_date="[null]"
-             period3_mode="[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="1355367960000"
-             build_date="1355367960000"
-             version="3.0"
-             status="P"
-             islast="[true]"/>
-
-  <!-- lines, many new lines during period 5 -->
-  <project_measures id="1010"
-                    metric_id="1"
-                    value="5000"
-                    analysis_uuid="u110"
-                    variation_value_1="[null]"
-                    variation_value_2="[null]"
-                    variation_value_3="[null]"
-                    variation_value_4="[null]"
-                    variation_value_5="4900"
-                    alert_text="[null]"
-                    text_value="[null]"
-                    component_uuid="UUID_PHP_PROJECT"
-                    alert_status="[null]"
-                    description="[null]"/>
-
-  <project_measures id="1011"
-                    metric_id="2"
-                    value="[null]"
-                    analysis_uuid="u110"
-                    variation_value_1="[null]"
-                    variation_value_2="[null]"
-                    variation_value_3="[null]"
-                    variation_value_4="[null]"
-                    variation_value_5="[null]"
-                    alert_text="[null]"
-                    text_value="php way"
-                    component_uuid="UUID_PHP_PROJECT"
-                    alert_status="[null]"
-                    description="[null]"/>
-
-
-  <resource_index id="1"
-                  kee="java project"
-                  position="0"
-                  name_size="12"
-                  component_uuid="UUID_JAVA_PROJECT"
-                  root_component_uuid="UUID_JAVA_PROJECT"
-                  qualifier="TRK"/>
-  <resource_index id="2"
-                  kee="java projec"
-                  position="1"
-                  name_size="12"
-                  component_uuid="UUID_JAVA_PROJECT"
-                  root_component_uuid="UUID_JAVA_PROJECT"
-                  qualifier="TRK"/>
-  <resource_index id="3"
-                  kee="java proje"
-                  position="2"
-                  name_size="12"
-                  component_uuid="UUID_JAVA_PROJECT"
-                  root_component_uuid="UUID_JAVA_PROJECT"
-                  qualifier="TRK"/>
-  <resource_index id="4"
-                  kee="java proj"
-                  position="3"
-                  name_size="12"
-                  component_uuid="UUID_JAVA_PROJECT"
-                  root_component_uuid="UUID_JAVA_PROJECT"
-                  qualifier="TRK"/>
-  <!-- etc -->
-  <resource_index id="5"
-                  kee="php project"
-                  position="0"
-                  name_size="11"
-                  component_uuid="UUID_PHP_PROJECT"
-                  root_component_uuid="UUID_PHP_PROJECT"
-                  qualifier="TRK"/>
-  <resource_index id="6"
-                  kee="php projec"
-                  position="1"
-                  name_size="11"
-                  component_uuid="UUID_PHP_PROJECT"
-                  root_component_uuid="UUID_PHP_PROJECT"
-                  qualifier="TRK"/>
-  <resource_index id="7"
-                  kee="php proje"
-                  position="2"
-                  name_size="11"
-                  component_uuid="UUID_PHP_PROJECT"
-                  root_component_uuid="UUID_PHP_PROJECT"
-                  qualifier="TRK"/>
-  <resource_index id="8"
-                  kee="php proj"
-                  position="3"
-                  name_size="11"
-                  component_uuid="UUID_PHP_PROJECT"
-                  root_component_uuid="UUID_PHP_PROJECT"
-                  qualifier="TRK"/>
-  <!-- etc -->
-
-
-  <!-- two favourites : Big.java and PHP project -->
-  <properties id="1"
-              prop_key="favourite"
-              resource_id="3"
-              user_id="50"
-              text_value="[null]"
-              is_empty="[true]"/>
-  <properties id="2"
-              prop_key="favourite"
-              resource_id="10"
-              user_id="50"
-              text_value="[null]"
-              is_empty="[true]"/>
-
-  <!-- another properties -->
-  <properties id="3"
-              prop_key="favourite"
-              resource_id="1"
-              user_id="1234"
-              text_value="[null]"
-              is_empty="[true]"/>
-  <properties id="4"
-              prop_key="sonar.profile"
-              resource_id="1"
-              user_id="[null]"
-              text_value="Sonar way"
-              is_empty="[true]"/>
-
-</dataset>
diff --git a/server/sonar-server/src/test/resources/org/sonar/server/measure/MeasureFilterExecutorTest/sort_by_alert.xml b/server/sonar-server/src/test/resources/org/sonar/server/measure/MeasureFilterExecutorTest/sort_by_alert.xml
deleted file mode 100644 (file)
index c9ab264..0000000
+++ /dev/null
@@ -1,201 +0,0 @@
-<dataset>
-  <metrics id="5"
-           name="alert_status"
-           val_type="LEVEL"
-           description="Alert"
-           domain="General"
-           short_name="Alert"
-           qualitative="[true]"
-           user_managed="[false]"
-           enabled="[true]"
-           worst_value="[null]"
-           optimized_best_value="[true]"
-           best_value="[null]"
-           direction="1"
-           hidden="[false]"
-           delete_historical_data="[null]"/>
-
-  <!-- java project -->
-  <projects organization_uuid="org1"
-            id="1"
-            uuid="UUID_JAVA_PROJECT"
-            uuid_path="."
-            project_uuid="UUID_JAVA_PROJECT"
-            description="[null]"
-            enabled="[true]"
-            language="[null]"
-            created_at="2008-12-19 00:00:00.00"
-            kee="java_project"
-            long_name="Java project"
-            scope="PRJ"
-            qualifier="TRK"
-            name="Java project"
-            root_uuid="NOT_USED"
-            copy_component_uuid="[null]"
-  />
-
-  <snapshots id="101"
-             uuid="u101"
-             component_uuid="UUID_JAVA_PROJECT"
-             purge_status="[null]"
-             period1_mode="[null]"
-             period1_param="[null]"
-             period1_date="[null]"
-             period2_mode="[null]"
-             period2_param="[null]"
-             period2_date="[null]"
-             period3_mode="[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="1229727600000"
-             build_date="1229727600000"
-             version="1.0"
-             status="P"
-             islast="[true]"/>
-
-
-  <!-- alert -->
-  <project_measures id="1001"
-                    metric_id="5"
-                    value="510"
-                    analysis_uuid="u101"
-                    variation_value_1="[null]"
-                    variation_value_2="[null]"
-                    variation_value_3="[null]"
-                    variation_value_4="[null]"
-                    variation_value_5="400"
-                    alert_text="[null]"
-                    text_value="WARN"
-                    component_uuid="UUID_JAVA_PROJECT"
-                    alert_status="[null]"
-                    description="[null]"/>
-
-  <!-- php project -->
-  <projects organization_uuid="org1"
-            id="10"
-            uuid="UUID_PHP_PROJECT"
-            uuid_path="."
-            project_uuid="UUID_PHP_PROJECT"
-            description="[null]"
-            enabled="[true]"
-            language="[null]"
-            created_at="2012-12-12 04:06:00.00"
-            kee="php_project"
-            long_name="PHP project"
-            scope="PRJ"
-            qualifier="TRK"
-            name="PHP project"
-            root_uuid="NOT_USED"
-            copy_component_uuid="[null]"
-  />
-
-
-  <snapshots id="110"
-             uuid="u110"
-             component_uuid="UUID_PHP_PROJECT"
-             purge_status="[null]"
-             period1_mode="[null]"
-             period1_param="[null]"
-             period1_date="[null]"
-             period2_mode="[null]"
-             period2_param="[null]"
-             period2_date="[null]"
-             period3_mode="[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="1355367960000"
-             build_date="1355367960000"
-             version="3.0"
-             status="P"
-             islast="[true]"/>
-
-  <!-- alert -->
-  <project_measures id="1010"
-                    metric_id="5"
-                    value="5000"
-                    analysis_uuid="u110"
-                    variation_value_1="[null]"
-                    variation_value_2="[null]"
-                    variation_value_3="[null]"
-                    variation_value_4="[null]"
-                    variation_value_5="[null]"
-                    alert_text="[null]"
-                    text_value="OK"
-                    component_uuid="UUID_PHP_PROJECT"
-                    alert_status="[null]"
-                    description="[null]"/>
-
-  <!-- js project -->
-  <projects organization_uuid="org1"
-            uuid="UUID_JS_PROJECT"
-            uuid_path="."
-            project_uuid="UUID_JS_PROJECT"
-            description="[null]"
-            enabled="[true]"
-            language="[null]"
-            created_at="2012-12-12 04:06:00.00"
-            kee="js_project"
-            long_name="JS project"
-            scope="PRJ"
-            qualifier="TRK"
-            name="JS project"
-            id="20"
-            root_uuid="NOT_USED"
-            copy_component_uuid="[null]"
-  />
-
-
-  <snapshots id="120"
-             uuid="u120"
-             component_uuid="UUID_JS_PROJECT"
-             purge_status="[null]"
-             period1_mode="[null]"
-             period1_param="[null]"
-             period1_date="[null]"
-             period2_mode="[null]"
-             period2_param="[null]"
-             period2_date="[null]"
-             period3_mode="[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="1355367960000"
-             build_date="1355367960000"
-             version="3.0"
-             status="P"
-             islast="[true]"/>
-
-  <!-- alert -->
-  <project_measures id="1020"
-                    metric_id="5"
-                    value="5000"
-                    analysis_uuid="u120"
-                    variation_value_1="[null]"
-                    variation_value_2="[null]"
-                    variation_value_3="[null]"
-                    variation_value_4="[null]"
-                    variation_value_5="[null]"
-                    alert_text="[null]"
-                    text_value="ERROR"
-                    component_uuid="UUID_JS_PROJECT"
-                    alert_status="[null]"
-                    description="[null]"/>
-
-</dataset>