aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws-client/src
diff options
context:
space:
mode:
authorFabrice Bellingard <bellingard@gmail.com>2011-04-28 16:38:09 +0200
committerFabrice Bellingard <bellingard@gmail.com>2011-04-28 16:39:51 +0200
commit6acc0f48f6b546a25af466b857f79b15ac14f779 (patch)
treed43f00f9d37a8f5c2921daad10f36e0cb66cff9f /sonar-ws-client/src
parent1f586999329fba3ee0bdd75774b1a542f312768e (diff)
downloadsonarqube-6acc0f48f6b546a25af466b857f79b15ac14f779.tar.gz
sonarqube-6acc0f48f6b546a25af466b857f79b15ac14f779.zip
SONAR-2327 Improve rendering for violations when source code is missing
Diffstat (limited to 'sonar-ws-client/src')
-rw-r--r--sonar-ws-client/src/test/resources/violations/violation-with-review.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/sonar-ws-client/src/test/resources/violations/violation-with-review.json b/sonar-ws-client/src/test/resources/violations/violation-with-review.json
new file mode 100644
index 00000000000..4de5df67356
--- /dev/null
+++ b/sonar-ws-client/src/test/resources/violations/violation-with-review.json
@@ -0,0 +1 @@
+[{"message":"'static' modifier out of order with the JLS suggestions.","line":33,"priority":"MINOR","createdAt":"2011-04-26T15:17:46+0200","rule":{"key":"checkstyle:com.puppycrawl.tools.checkstyle.checks.modifier.ModifierOrderCheck","name":"Modifier Order"},"resource":{"key":"org.codehaus.sonar:sonar-channel:org.sonar.channel.CodeReaderConfiguration","name":"CodeReaderConfiguration","scope":"FIL","qualifier":"CLA","language":"java"},"review":{"id":3,"createdAt":"2011-04-26T15:44:42+0200","updatedAt":"2011-04-26T15:44:42+0200","author":"admin","assignee":"admin","title":"'static' modifier out of order with the JLS suggestions.","type":"VIOLATION","status":"OPEN","severity":"MINOR","resource":"org.codehaus.sonar:sonar-channel:org.sonar.channel.CodeReaderConfiguration","line":33,"comments":[{"author":"admin","updatedAt":"2011-04-26T15:44:42+0200","text":"This is a review.<br/>And this is on multiple lines...<br/><br/>''Wouhou!!!!!''"},{"author":"admin","updatedAt":"2011-04-26T17:10:19+0200","text":"<em>Bold on multiple line?</em>"},{"author":"admin","updatedAt":"2011-04-26T17:11:02+0200","text":"And the bullets:<br/><ul><li>1 bullet</li>\n<li>2 bullets</li></ul>"},{"author":"admin","updatedAt":"2011-04-26T17:27:37+0200","text":"Wazzaa"}]}}] \ No newline at end of file