diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2015-03-13 14:25:42 +0100 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2015-03-17 12:16:33 +0100 |
commit | 7485c34dead228336791067e3a6b03cbb3dcaaa2 (patch) | |
tree | 6f34d0fbd59d3fd671659147ee6c35395cf8a81c /sonar-core/src/test/resources | |
parent | 8f99dd245c257c72b351625e9fa34dd7375fe5ef (diff) | |
download | sonarqube-7485c34dead228336791067e3a6b03cbb3dcaaa2.tar.gz sonarqube-7485c34dead228336791067e3a6b03cbb3dcaaa2.zip |
SONAR-6261 Persist events in compute stack
Diffstat (limited to 'sonar-core/src/test/resources')
7 files changed, 12 insertions, 12 deletions
diff --git a/sonar-core/src/test/resources/org/sonar/core/persistence/PreviewDatabaseFactoryTest/should_create_database.xml b/sonar-core/src/test/resources/org/sonar/core/persistence/PreviewDatabaseFactoryTest/should_create_database.xml index 060dbfb065b..374c0652a83 100644 --- a/sonar-core/src/test/resources/org/sonar/core/persistence/PreviewDatabaseFactoryTest/should_create_database.xml +++ b/sonar-core/src/test/resources/org/sonar/core/persistence/PreviewDatabaseFactoryTest/should_create_database.xml @@ -22,9 +22,9 @@ <project_measures id="1" value="10" metric_id="1" snapshot_id="1000" /> - <events id="1" name="1.0-SNAPSHOT" resource_id="123" event_data="[null]"/> - <events id="2" name="2.0-SNAPSHOT" resource_id="123" event_data="[null]" /> - <events id="3" name="1.0-SNAPSHOT" resource_id="456" event_data="[null]" /> + <events id="1" name="1.0-SNAPSHOT" component_uuid="123" event_data="[null]"/> + <events id="2" name="2.0-SNAPSHOT" component_uuid="123" event_data="[null]" /> + <events id="3" name="1.0-SNAPSHOT" component_uuid="456" event_data="[null]" /> <users id="1" login="julien" name="Julien" crypted_password="foo" active="1" /> <users id="2" login="simon" name="Simon" active="1" /> diff --git a/sonar-core/src/test/resources/org/sonar/core/purge/PurgeCommandsTest/shouldDeleteResource.xml b/sonar-core/src/test/resources/org/sonar/core/purge/PurgeCommandsTest/shouldDeleteResource.xml index 2f30df757d0..00363eb0100 100644 --- a/sonar-core/src/test/resources/org/sonar/core/purge/PurgeCommandsTest/shouldDeleteResource.xml +++ b/sonar-core/src/test/resources/org/sonar/core/purge/PurgeCommandsTest/shouldDeleteResource.xml @@ -15,7 +15,7 @@ build_date="1228222680000" version="[null]" path="[null]"/> - <events id="1" name="Version 1.0" resource_id="1" snapshot_id="1" category="VERSION" description="[null]" + <events id="1" name="Version 1.0" component_uuid="1" snapshot_id="1" category="VERSION" description="[null]" event_date="1228222680000" created_at="1228222680000" event_data="[null]"/> <issues id="1" kee="ABCDE" component_uuid="1" project_uuid="1" status="CLOSED" resolution="[null]" line="200" diff --git a/sonar-core/src/test/resources/org/sonar/core/purge/PurgeCommandsTest/shouldDeleteSnapshot-result.xml b/sonar-core/src/test/resources/org/sonar/core/purge/PurgeCommandsTest/shouldDeleteSnapshot-result.xml index f7a0a3a81b3..e6e06a96fa9 100644 --- a/sonar-core/src/test/resources/org/sonar/core/purge/PurgeCommandsTest/shouldDeleteSnapshot-result.xml +++ b/sonar-core/src/test/resources/org/sonar/core/purge/PurgeCommandsTest/shouldDeleteSnapshot-result.xml @@ -25,7 +25,7 @@ <dependencies id="1" from_resource_id="1" from_snapshot_id="1" to_resource_id="30" to_snapshot_id="30" parent_dependency_id="[null]" project_snapshot_id="1" dep_usage="USES" dep_weight="1" from_scope="PRJ" to_scope="LIB"/> - <events id="1" name="Version 1.0" resource_id="1" snapshot_id="1" category="VERSION" description="[null]" + <events id="1" name="Version 1.0" component_uuid="1" snapshot_id="1" category="VERSION" description="[null]" event_date="1228222680000" created_at="1228222680000" event_data="[null]"/> <duplications_index id="1" project_snapshot_id="1" snapshot_id="1" hash="bb" index_in_file="0" start_line="0" end_line="0"/> diff --git a/sonar-core/src/test/resources/org/sonar/core/purge/PurgeCommandsTest/shouldDeleteSnapshot.xml b/sonar-core/src/test/resources/org/sonar/core/purge/PurgeCommandsTest/shouldDeleteSnapshot.xml index 45eaee58163..a4cabcfff0d 100644 --- a/sonar-core/src/test/resources/org/sonar/core/purge/PurgeCommandsTest/shouldDeleteSnapshot.xml +++ b/sonar-core/src/test/resources/org/sonar/core/purge/PurgeCommandsTest/shouldDeleteSnapshot.xml @@ -24,7 +24,7 @@ <dependencies id="1" from_resource_id="1" from_snapshot_id="1" to_resource_id="30" to_snapshot_id="30" parent_dependency_id="[null]" project_snapshot_id="1" dep_usage="USES" dep_weight="1" from_scope="PRJ" to_scope="LIB"/> - <events id="1" name="Version 1.0" resource_id="1" snapshot_id="1" category="VERSION" description="[null]" + <events id="1" name="Version 1.0" component_uuid="1" snapshot_id="1" category="VERSION" description="[null]" event_date="1228222680000" created_at="1228222680000" event_data="[null]"/> <duplications_index id="1" project_snapshot_id="1" snapshot_id="1" hash="bb" index_in_file="0" start_line="0" end_line="0"/> @@ -57,7 +57,7 @@ <dependencies id="3" from_resource_id="5" from_snapshot_id="5" to_resource_id="300" to_snapshot_id="300" parent_dependency_id="[null]" project_snapshot_id="5" dep_usage="USES" dep_weight="1" from_scope="PRJ" to_scope="LIB"/> - <events id="2" name="Version 1.0" resource_id="5" snapshot_id="5" category="VERSION" description="[null]" + <events id="2" name="Version 1.0" component_uuid="5" snapshot_id="5" category="VERSION" description="[null]" event_date="1228222680000" created_at="1228222680000" event_data="[null]"/> <duplications_index id="2" project_snapshot_id="5" snapshot_id="5" hash="bb" index_in_file="0" start_line="0" end_line="0"/> diff --git a/sonar-core/src/test/resources/org/sonar/core/purge/PurgeCommandsTest/shouldPurgeSnapshot-result.xml b/sonar-core/src/test/resources/org/sonar/core/purge/PurgeCommandsTest/shouldPurgeSnapshot-result.xml index 4a45a7fc405..8ca10cdab74 100644 --- a/sonar-core/src/test/resources/org/sonar/core/purge/PurgeCommandsTest/shouldPurgeSnapshot-result.xml +++ b/sonar-core/src/test/resources/org/sonar/core/purge/PurgeCommandsTest/shouldPurgeSnapshot-result.xml @@ -41,7 +41,7 @@ Note that measures, events and reviews are not deleted. <!--parent_dependency_id="[null]" project_snapshot_id="2"--> <!--dep_usage="USES" dep_weight="1" from_scope="LIB" to_scope="PRJ"/>--> - <events id="1" resource_id="1" snapshot_id="1" + <events id="1" component_uuid="1" snapshot_id="1" category="VERSION" description="[null]" name="Version 1.0" event_date="1228222680000" created_at="1228222680000" event_data="[null]"/> @@ -80,7 +80,7 @@ Note that measures, events and reviews are not deleted. parent_dependency_id="[null]" project_snapshot_id="2" dep_usage="USES" dep_weight="1" from_scope="LIB" to_scope="PRJ"/> - <events id="2" resource_id="2" snapshot_id="2" + <events id="2" component_uuid="2" snapshot_id="2" category="VERSION" description="[null]" name="Version 1.0" event_date="1228222680000" created_at="1228222680000" event_data="[null]"/> diff --git a/sonar-core/src/test/resources/org/sonar/core/purge/PurgeCommandsTest/shouldPurgeSnapshot.xml b/sonar-core/src/test/resources/org/sonar/core/purge/PurgeCommandsTest/shouldPurgeSnapshot.xml index 6c6e5bd44c2..00253585b49 100644 --- a/sonar-core/src/test/resources/org/sonar/core/purge/PurgeCommandsTest/shouldPurgeSnapshot.xml +++ b/sonar-core/src/test/resources/org/sonar/core/purge/PurgeCommandsTest/shouldPurgeSnapshot.xml @@ -26,7 +26,7 @@ parent_dependency_id="[null]" project_snapshot_id="2" dep_usage="USES" dep_weight="1" from_scope="LIB" to_scope="PRJ"/> - <events id="1" resource_id="1" snapshot_id="1" + <events id="1" component_uuid="1" snapshot_id="1" category="VERSION" description="[null]" name="Version 1.0" event_date="1228222680000" created_at="1228222680000" event_data="[null]"/> @@ -64,7 +64,7 @@ parent_dependency_id="[null]" project_snapshot_id="2" dep_usage="USES" dep_weight="1" from_scope="LIB" to_scope="PRJ"/> - <events id="2" resource_id="2" snapshot_id="2" + <events id="2" component_uuid="2" snapshot_id="2" category="VERSION" description="[null]" name="Version 1.0" event_date="1228222680000" created_at="1228222680000" event_data="[null]"/> diff --git a/sonar-core/src/test/resources/org/sonar/core/purge/PurgeDaoTest/shouldSelectPurgeableSnapshots.xml b/sonar-core/src/test/resources/org/sonar/core/purge/PurgeDaoTest/shouldSelectPurgeableSnapshots.xml index 78e14ead2a7..6a924f7f98a 100644 --- a/sonar-core/src/test/resources/org/sonar/core/purge/PurgeDaoTest/shouldSelectPurgeableSnapshots.xml +++ b/sonar-core/src/test/resources/org/sonar/core/purge/PurgeDaoTest/shouldSelectPurgeableSnapshots.xml @@ -55,7 +55,7 @@ period5_mode="[null]" period5_param="[null]" period5_date="[null]" depth="[null]" scope="PRJ" qualifier="TRK" created_at="1228222680000" build_date="1228222680000" version="[null]" path="[null]"/> - <events id="2" resource_id="1" snapshot_id="5" + <events id="2" component_uuid="1" snapshot_id="5" category="Version" description="[null]" name="Version 1.0" event_date="1228222680000" created_at="1228222680000" event_data="[null]"/> |