]> source.dussan.org Git - sonarqube.git/commitdiff
Fix Sonar Core unit tests
authorFabrice Bellingard <bellingard@gmail.com>
Mon, 14 May 2012 13:29:44 +0000 (15:29 +0200)
committerFabrice Bellingard <bellingard@gmail.com>
Mon, 14 May 2012 13:29:44 +0000 (15:29 +0200)
sonar-core/src/test/resources/org/sonar/core/purge/PurgeCommandsTest/shouldPurgeSnapshot-result.xml
sonar-core/src/test/resources/org/sonar/core/purge/PurgeCommandsTest/shouldPurgeSnapshot.xml
sonar-core/src/test/resources/org/sonar/core/purge/PurgeDaoTest/shouldCloseReviewWhenDisablingResource-result.xml
sonar-core/src/test/resources/org/sonar/core/purge/PurgeDaoTest/shouldCloseReviewWhenDisablingResource.xml

index b8af6c0b0356270cfaab55a022010bf77258589c..90dd0383ac06effffc6a6a10136ea9373ca1ec18 100644 (file)
@@ -50,7 +50,7 @@ Note that measures, events and reviews are not deleted.
 
   <reviews id="1" project_id="1" resource_id="1" status="OPEN"
            rule_failure_permanent_id="1" resolution="[null]" created_at="[null]" updated_at="[null]" resource_line="200" severity="BLOCKER"
-           user_id="300" assignee_id="300" rule_id="500" manual_violation="[true]" manual_severity="[false]" title="[null]"/>
+           user_id="300" assignee_id="300" rule_id="500" manual_violation="[true]" manual_severity="[false]" title="[null]" data="[null]"/>
 
 
   <!-- The following is not purged but is kept for DBUnit -->
@@ -96,6 +96,6 @@ Note that measures, events and reviews are not deleted.
 
   <reviews id="2" project_id="2" resource_id="2" status="OPEN"
            rule_failure_permanent_id="1" resolution="[null]" created_at="[null]" updated_at="[null]" resource_line="200" severity="BLOCKER"
-           user_id="300" assignee_id="300" rule_id="500" manual_violation="[true]" manual_severity="[false]" title="[null]"/>
+           user_id="300" assignee_id="300" rule_id="500" manual_violation="[true]" manual_severity="[false]" title="[null]" data="[null]"/>
 
 </dataset>
index ef7489378b9b6b7051ce0a7f4be081c704504627..3347bc7244a9e3e4d3b810915f4234f853cbd2a3 100644 (file)
@@ -42,7 +42,7 @@
 
   <reviews id="1" project_id="1" resource_id="1" status="OPEN"
     rule_failure_permanent_id="1" resolution="[null]" created_at="[null]" updated_at="[null]" resource_line="200" severity="BLOCKER"
-    user_id="300" assignee_id="300" rule_id="500" manual_violation="[true]" manual_severity="[false]" title="[null]"/>
+    user_id="300" assignee_id="300" rule_id="500" manual_violation="[true]" manual_severity="[false]" title="[null]" data="[null]"/>
 
 
 
@@ -89,6 +89,6 @@
 
     <reviews id="2" project_id="2" resource_id="2" status="OPEN"
       rule_failure_permanent_id="1" resolution="[null]" created_at="[null]" updated_at="[null]" resource_line="200" severity="BLOCKER"
-      user_id="300" assignee_id="300" rule_id="500" manual_violation="[true]" manual_severity="[false]" title="[null]"/>
+      user_id="300" assignee_id="300" rule_id="500" manual_violation="[true]" manual_severity="[false]" title="[null]" data="[null]"/>
 
 </dataset>
index 562d1940e0db79077db2e8a884f10affc63ade96..b93691f0c7c40bd15f02593df5b911bbbbb1d7ec 100644 (file)
@@ -10,6 +10,6 @@ Note that the column updated_at has been removed because it's excluded from DBUn
 
   <reviews id="1" project_id="1" resource_id="1" status="CLOSED"
         rule_failure_permanent_id="1" resolution="[null]" created_at="[null]" resource_line="200" severity="BLOCKER"
-        user_id="300" assignee_id="300" rule_id="500" manual_violation="[true]" manual_severity="[false]" title="[null]"/>
+        user_id="300" assignee_id="300" rule_id="500" manual_violation="[true]" manual_severity="[false]" title="[null]" data="[null]"/>
 
 </dataset>
\ No newline at end of file
index 836c332f8c2b44bab3ab981805ab93b24f843b69..6134ec488d90f17e956b2797e2a4c27179f8e7b4 100644 (file)
@@ -12,5 +12,5 @@
 
   <reviews id="1" project_id="1" resource_id="1" status="OPEN"
         rule_failure_permanent_id="1" resolution="[null]" created_at="[null]" updated_at="[null]" resource_line="200" severity="BLOCKER"
-        user_id="300" assignee_id="300" rule_id="500" manual_violation="[true]" manual_severity="[false]" title="[null]"/>
+        user_id="300" assignee_id="300" rule_id="500" manual_violation="[true]" manual_severity="[false]" title="[null]" data="[null]"/>
 </dataset>
\ No newline at end of file