]> source.dussan.org Git - sonarqube.git/commitdiff
Fix Sonar Core Plugin unit tests
authorFabrice Bellingard <bellingard@gmail.com>
Mon, 14 May 2012 13:59:22 +0000 (15:59 +0200)
committerFabrice Bellingard <bellingard@gmail.com>
Mon, 14 May 2012 13:59:22 +0000 (15:59 +0200)
plugins/sonar-core-plugin/src/test/resources/org/sonar/plugins/core/sensors/ReviewWorkflowDecoratorTest/shouldCloseResolvedManualViolations-result.xml
plugins/sonar-core-plugin/src/test/resources/org/sonar/plugins/core/sensors/ReviewWorkflowDecoratorTest/shouldCloseResolvedManualViolations.xml
plugins/sonar-core-plugin/src/test/resources/org/sonar/plugins/core/sensors/ReviewWorkflowDecoratorTest/shouldCloseReviewsOnDeletedResources.xml
plugins/sonar-core-plugin/src/test/resources/org/sonar/plugins/core/sensors/ReviewWorkflowDecoratorTest/shouldCloseReviewsOnResolvedViolations-result.xml
plugins/sonar-core-plugin/src/test/resources/org/sonar/plugins/core/sensors/ReviewWorkflowDecoratorTest/shouldCloseReviewsOnResolvedViolations.xml
plugins/sonar-core-plugin/src/test/resources/org/sonar/plugins/core/sensors/ReviewWorkflowDecoratorTest/shouldReopenViolations-result.xml
plugins/sonar-core-plugin/src/test/resources/org/sonar/plugins/core/sensors/ReviewWorkflowDecoratorTest/shouldReopenViolations.xml
plugins/sonar-core-plugin/src/test/resources/org/sonar/plugins/core/sensors/ReviewsMeasuresDecoratorTest/fixture.xml

index 18b0a2dd10216dd1a46aab86b2807dbe37c90b48..f0355573bde2faa1bbe33d834c3f93bcd8ee7d4e 100644 (file)
@@ -6,12 +6,12 @@
   <reviews id="1" project_id="[null]" resource_id="100" status="OPEN" rule_failure_permanent_id="1000"
            resolution="[null]" created_at="[null]" updated_at="[null]"
            resource_line="[null]" severity="[null]" user_id="[null]" rule_id="[null]" manual_violation="true" manual_severity="false"
-           title="[null]" assignee_id="[null]"/>
+           title="[null]" assignee_id="[null]" data="[null]"/>
 
   <reviews id="2" project_id="[null]" resource_id="100" status="CLOSED" rule_failure_permanent_id="1000"
              resolution="FIXED" created_at="[null]" updated_at="[null]"
              resource_line="[null]" severity="[null]" user_id="[null]" rule_id="[null]" manual_violation="true" manual_severity="false"
-             title="[null]" assignee_id="[null]"/>
+             title="[null]" assignee_id="[null]" data="[null]"/>
 
 
 </dataset>
\ No newline at end of file
index 728aeae009ac1cae79f747436581b20b9f048bd4..da15d01c10d4ad9eaf24a95ceb9ac778cd226a6f 100644 (file)
@@ -6,12 +6,12 @@
   <reviews id="1" project_id="[null]" resource_id="100" status="OPEN" rule_failure_permanent_id="1000"
            resolution="[null]" created_at="[null]" updated_at="[null]"
            resource_line="[null]" severity="[null]" user_id="[null]" rule_id="[null]" manual_violation="true" manual_severity="false"
-           title="[null]" assignee_id="[null]"/>
+           title="[null]" assignee_id="[null]" data="[null]"/>
 
   <reviews id="2" project_id="[null]" resource_id="100" status="RESOLVED" rule_failure_permanent_id="1000"
              resolution="FIXED" created_at="[null]" updated_at="[null]"
              resource_line="[null]" severity="[null]" user_id="[null]" rule_id="[null]" manual_violation="true" manual_severity="false"
-             title="[null]" assignee_id="[null]"/>
+             title="[null]" assignee_id="[null]" data="[null]"/>
 
 
 </dataset>
\ No newline at end of file
index 2f1db04a0d2d27ea16183a8a5c178f5d162f68fd..fca504bdf5c85f8988e55eaba053019f6ad43cb9 100644 (file)
   <reviews id="1" project_id="[null]" resource_id="100" status="OPEN" rule_failure_permanent_id="1000"
            resolution="[null]" created_at="[null]" updated_at="[null]"
            resource_line="[null]" severity="[null]" user_id="[null]" rule_id="[null]" manual_violation="true" manual_severity="false"
-           title="[null]" assignee_id="[null]"/>
+           title="[null]" assignee_id="[null]" data="[null]"/>
 
   <reviews id="2" project_id="[null]" resource_id="100" status="RESOLVED" rule_failure_permanent_id="1000"
              resolution="FIXED" created_at="[null]" updated_at="[null]"
              resource_line="[null]" severity="[null]" user_id="[null]" rule_id="[null]" manual_violation="true" manual_severity="false"
-             title="[null]" assignee_id="[null]"/>
+             title="[null]" assignee_id="[null]" data="[null]"/>
 
 
 </dataset>
\ No newline at end of file
index 44b421f24c658c0dbe8b85b0b1cc2e9daf4f257e..73f3114da02d4cffeaadceca52eb57341b74c29f 100644 (file)
@@ -7,23 +7,23 @@
   <reviews id="1" project_id="[null]" resource_id="100" status="CLOSED" rule_failure_permanent_id="1000"
            resolution="[null]" created_at="[null]" updated_at="[null]"
            resource_line="[null]" severity="[null]" user_id="[null]" rule_id="[null]" manual_violation="false" manual_severity="false"
-           title="[null]" assignee_id="[null]"/>
+           title="[null]" assignee_id="[null]" data="[null]"/>
 
   <reviews id="2" project_id="[null]" resource_id="100" status="CLOSED" rule_failure_permanent_id="1001"
              resolution="FALSE-POSITIVE" created_at="[null]" updated_at="[null]"
              resource_line="[null]" severity="[null]" user_id="[null]" rule_id="[null]" manual_violation="false" manual_severity="false"
-             title="[null]" assignee_id="[null]"/>
+             title="[null]" assignee_id="[null]" data="[null]"/>
 
   <!-- closed reviews -->
   <reviews id="3" project_id="[null]" resource_id="100" status="CLOSED" rule_failure_permanent_id="1002"
                resolution="RESOLVED" created_at="[null]" updated_at="[null]"
                resource_line="[null]" severity="[null]" user_id="[null]" rule_id="[null]" manual_violation="false" manual_severity="false"
-               title="[null]" assignee_id="[null]"/>
+               title="[null]" assignee_id="[null]" data="[null]"/>
 
 
   <!-- other resource -->
   <reviews id="4" project_id="[null]" resource_id="101" status="OPEN" rule_failure_permanent_id="1100"
                  resolution="[null]" created_at="[null]" updated_at="[null]"
                  resource_line="[null]" severity="[null]" user_id="[null]" rule_id="[null]" manual_violation="false" manual_severity="false"
-                 title="[null]" assignee_id="[null]"/>
+                 title="[null]" assignee_id="[null]" data="[null]"/>
 </dataset>
\ No newline at end of file
index a8e0c3949cd95235d3847d3e17ad78a5c12f5e6f..9840ca859767a8e9e9e5bfc4a0cff441eba99009 100644 (file)
@@ -7,23 +7,23 @@
   <reviews id="1" project_id="[null]" resource_id="100" status="OPEN" rule_failure_permanent_id="1000"
            resolution="[null]" created_at="[null]" updated_at="[null]"
            resource_line="[null]" severity="[null]" user_id="[null]" rule_id="[null]" manual_violation="false" manual_severity="false"
-           title="[null]" assignee_id="[null]"/>
+           title="[null]" assignee_id="[null]" data="[null]"/>
 
   <reviews id="2" project_id="[null]" resource_id="100" status="RESOLVED" rule_failure_permanent_id="1001"
            resolution="FALSE-POSITIVE" created_at="[null]" updated_at="[null]"
            resource_line="[null]" severity="[null]" user_id="[null]" rule_id="[null]" manual_violation="false" manual_severity="false"
-           title="[null]" assignee_id="[null]"/>
+           title="[null]" assignee_id="[null]" data="[null]"/>
 
   <!-- closed reviews -->
   <reviews id="3" project_id="[null]" resource_id="100" status="CLOSED" rule_failure_permanent_id="1002"
            resolution="RESOLVED" created_at="[null]" updated_at="[null]"
            resource_line="[null]" severity="[null]" user_id="[null]" rule_id="[null]" manual_violation="false" manual_severity="false"
-           title="[null]" assignee_id="[null]"/>
+           title="[null]" assignee_id="[null]" data="[null]"/>
 
 
   <!-- other resource -->
   <reviews id="4" project_id="[null]" resource_id="101" status="OPEN" rule_failure_permanent_id="1100"
            resolution="[null]" created_at="[null]" updated_at="[null]"
            resource_line="[null]" severity="[null]" user_id="[null]" rule_id="[null]" manual_violation="false" manual_severity="false"
-           title="[null]" assignee_id="[null]"/>
+           title="[null]" assignee_id="[null]" data="[null]"/>
 </dataset>
\ No newline at end of file
index 68dc04a412b0e922ee53757110831fb1518a0e33..96286e98d8b59f2e21b06237074f6203a9f34720 100644 (file)
@@ -6,7 +6,7 @@
   <reviews id="1" project_id="[null]" resource_id="100" status="REOPENED" rule_failure_permanent_id="1000"
            resolution="[null]" created_at="[null]" updated_at="[null]"
            resource_line="[null]" severity="[null]" user_id="[null]" rule_id="[null]" manual_violation="false" manual_severity="false"
-           title="[null]" assignee_id="[null]"/>
+           title="[null]" assignee_id="[null]" data="[null]"/>
 
 
 </dataset>
\ No newline at end of file
index 83874328135b36c67464dd93c0e18c02e7055f0c..38273073cebffcbf5529d7af52b4ada44a05f539 100644 (file)
@@ -6,7 +6,7 @@
   <reviews id="1" project_id="[null]" resource_id="100" status="RESOLVED" rule_failure_permanent_id="1000"
            resolution="FIXED" created_at="[null]" updated_at="[null]"
            resource_line="[null]" severity="[null]" user_id="[null]" rule_id="[null]" manual_violation="false" manual_severity="false"
-           title="[null]" assignee_id="[null]"/>
+           title="[null]" assignee_id="[null]" data="[null]"/>
 
 
 </dataset>
\ No newline at end of file
index 7384c0e2e5f6351f39c81588c4909fb384b2666a..063e30cb01a5310db8a1eabc35ccdde1159bfe69 100644 (file)
@@ -14,7 +14,8 @@
     user_id="[null]"
     rule_id="[null]"
     manual_violation="false"
-    manual_severity="false"/>
+    manual_severity="false"
+    data="[null]"/>
   <reviews
     id="2"
     status="OPEN"
@@ -24,7 +25,8 @@
     resource_line="2"
     rule_id="[null]"
     manual_violation="false"
-    manual_severity="false"/>
+    manual_severity="false"
+    data="[null]"/>
   <reviews
     id="3"
     status="OPEN"
@@ -34,7 +36,8 @@
     resource_line="0"
     rule_id="[null]"
     manual_violation="false"
-    manual_severity="false"/>
+    manual_severity="false"
+    data="[null]"/>
   <reviews
     id="4"
     status="OPEN"
@@ -44,7 +47,8 @@
     resource_line="4"
     rule_id="[null]"
     manual_violation="false"
-    manual_severity="false"/>
+    manual_severity="false"
+    data="[null]"/>
   <reviews
     id="5"
     status="OPEN"
@@ -54,7 +58,8 @@
     resource_line="[null]"
     rule_id="[null]"
     manual_violation="false"
-    manual_severity="false"/>
+    manual_severity="false"
+    data="[null]"/>
   <reviews
     id="6"
     status="OPEN"
@@ -64,6 +69,7 @@
     resource_line="[null]"
     rule_id="[null]"
     manual_violation="false"
-    manual_severity="false"/>
+    manual_severity="false"
+    data="[null]"/>
 
 </dataset>
\ No newline at end of file