aboutsummaryrefslogtreecommitdiffstats
path: root/tests/src/test/resources/analysis
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/test/resources/analysis')
-rw-r--r--tests/src/test/resources/analysis/BatchTest/one-issue-per-line.xml12
-rw-r--r--tests/src/test/resources/analysis/IssueJsonReportTest/multiline.xml12
-rw-r--r--tests/src/test/resources/analysis/IssueJsonReportTest/no-server-analysis.json212
-rw-r--r--tests/src/test/resources/analysis/IssueJsonReportTest/one-issue-per-line.xml12
-rw-r--r--tests/src/test/resources/analysis/IssueJsonReportTest/report-on-root-module.json880
-rw-r--r--tests/src/test/resources/analysis/IssueJsonReportTest/report-on-single-module-branch.json255
-rw-r--r--tests/src/test/resources/analysis/IssueJsonReportTest/report-on-single-module.json255
-rw-r--r--tests/src/test/resources/analysis/IssueJsonReportTest/report-on-sub-module.json238
-rw-r--r--tests/src/test/resources/analysis/IssuesModeTest/empty.xml7
-rw-r--r--tests/src/test/resources/analysis/IssuesModeTest/one-issue-per-line-empty.xml7
-rw-r--r--tests/src/test/resources/analysis/IssuesModeTest/one-issue-per-line.xml12
-rw-r--r--tests/src/test/resources/analysis/IssuesModeTest/with-many-rules.xml32
-rw-r--r--tests/src/test/resources/analysis/MultiLanguageTest/one-issue-per-line-xoo2.xml12
-rw-r--r--tests/src/test/resources/analysis/MultiLanguageTest/one-issue-per-line.xml12
-rw-r--r--tests/src/test/resources/analysis/SSLTest/README184
-rw-r--r--tests/src/test/resources/analysis/SSLTest/clientkeystore.jksbin0 -> 2260 bytes
-rw-r--r--tests/src/test/resources/analysis/SSLTest/clienttruststore.jksbin0 -> 971 bytes
-rw-r--r--tests/src/test/resources/analysis/SSLTest/openssl.cnf38
-rw-r--r--tests/src/test/resources/analysis/SSLTest/serverkeystore.jksbin0 -> 2258 bytes
-rw-r--r--tests/src/test/resources/analysis/SSLTest/servertruststore.jksbin0 -> 1109 bytes
-rw-r--r--tests/src/test/resources/analysis/SettingsEncryptionTest/sonar-secret.txt1
-rw-r--r--tests/src/test/resources/analysis/TempFolderTest/one-issue-per-line.xml12
22 files changed, 2193 insertions, 0 deletions
diff --git a/tests/src/test/resources/analysis/BatchTest/one-issue-per-line.xml b/tests/src/test/resources/analysis/BatchTest/one-issue-per-line.xml
new file mode 100644
index 00000000000..7bb4ed5593a
--- /dev/null
+++ b/tests/src/test/resources/analysis/BatchTest/one-issue-per-line.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- Generated by Sonar -->
+<profile>
+ <name>one-issue-per-line</name>
+ <language>xoo</language>
+ <rules>
+ <rule>
+ <repositoryKey>xoo</repositoryKey>
+ <key>OneIssuePerLine</key>
+ <priority>MAJOR</priority>
+ </rule>
+ </rules>
+</profile> \ No newline at end of file
diff --git a/tests/src/test/resources/analysis/IssueJsonReportTest/multiline.xml b/tests/src/test/resources/analysis/IssueJsonReportTest/multiline.xml
new file mode 100644
index 00000000000..778866e91c2
--- /dev/null
+++ b/tests/src/test/resources/analysis/IssueJsonReportTest/multiline.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- Generated by Sonar -->
+<profile>
+ <name>multiline</name>
+ <language>xoo</language>
+ <rules>
+ <rule>
+ <repositoryKey>xoo</repositoryKey>
+ <key>MultilineIssue</key>
+ <priority>MAJOR</priority>
+ </rule>
+ </rules>
+</profile>
diff --git a/tests/src/test/resources/analysis/IssueJsonReportTest/no-server-analysis.json b/tests/src/test/resources/analysis/IssueJsonReportTest/no-server-analysis.json
new file mode 100644
index 00000000000..4e1b18df6ee
--- /dev/null
+++ b/tests/src/test/resources/analysis/IssueJsonReportTest/no-server-analysis.json
@@ -0,0 +1,212 @@
+{
+ "components": [
+ {
+ "key": "sample"
+ },
+ {
+ "key": "sample:src/main/xoo/sample/Sample.xoo",
+ "moduleKey": "sample",
+ "path": "src/main/xoo/sample/Sample.xoo",
+ "status": "ADDED"
+ },
+ {
+ "key": "sample:src/main/xoo/sample",
+ "moduleKey": "sample",
+ "path": "src/main/xoo/sample"
+ }
+ ],
+ "issues": [
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-02T00:00:00+0200",
+ "endLine": 2,
+ "endOffset": 0,
+ "isNew": true,
+ "key": "<ISSUE_KEY>",
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 2,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-02T00:00:00+0200",
+ "endLine": 6,
+ "endOffset": 14,
+ "isNew": true,
+ "key": "<ISSUE_KEY>",
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 6,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-02T00:00:00+0200",
+ "endLine": 1,
+ "endOffset": 15,
+ "isNew": true,
+ "key": "<ISSUE_KEY>",
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 1,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-02T00:00:00+0200",
+ "endLine": 5,
+ "endOffset": 23,
+ "isNew": true,
+ "key": "<ISSUE_KEY>",
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 5,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-02T00:00:00+0200",
+ "endLine": 8,
+ "endOffset": 1,
+ "isNew": true,
+ "key": "<ISSUE_KEY>",
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 8,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-02T00:00:00+0200",
+ "endLine": 9,
+ "endOffset": 28,
+ "isNew": true,
+ "key": "<ISSUE_KEY>",
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 9,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-02T00:00:00+0200",
+ "endLine": 7,
+ "endOffset": 2,
+ "isNew": true,
+ "key": "<ISSUE_KEY>",
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 7,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-02T00:00:00+0200",
+ "endLine": 4,
+ "endOffset": 1,
+ "isNew": true,
+ "key": "<ISSUE_KEY>",
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 4,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-02T00:00:00+0200",
+ "endLine": 11,
+ "endOffset": 2,
+ "isNew": true,
+ "key": "<ISSUE_KEY>",
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 11,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-02T00:00:00+0200",
+ "endLine": 3,
+ "endOffset": 21,
+ "isNew": true,
+ "key": "<ISSUE_KEY>",
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 3,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-02T00:00:00+0200",
+ "endLine": 13,
+ "endOffset": 0,
+ "isNew": true,
+ "key": "<ISSUE_KEY>",
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 13,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-02T00:00:00+0200",
+ "endLine": 12,
+ "endOffset": 1,
+ "isNew": true,
+ "key": "<ISSUE_KEY>",
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 12,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-02T00:00:00+0200",
+ "endLine": 10,
+ "endOffset": 17,
+ "isNew": true,
+ "key": "<ISSUE_KEY>",
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 10,
+ "startOffset": 0,
+ "status": "OPEN"
+ }
+ ],
+ "rules": [
+ {
+ "key": "xoo:OneIssuePerLine",
+ "name": "One Issue Per Line",
+ "repository": "xoo",
+ "rule": "OneIssuePerLine"
+ }
+ ],
+ "users": [],
+ "version": "<SONAR_VERSION>"
+}
diff --git a/tests/src/test/resources/analysis/IssueJsonReportTest/one-issue-per-line.xml b/tests/src/test/resources/analysis/IssueJsonReportTest/one-issue-per-line.xml
new file mode 100644
index 00000000000..7bb4ed5593a
--- /dev/null
+++ b/tests/src/test/resources/analysis/IssueJsonReportTest/one-issue-per-line.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- Generated by Sonar -->
+<profile>
+ <name>one-issue-per-line</name>
+ <language>xoo</language>
+ <rules>
+ <rule>
+ <repositoryKey>xoo</repositoryKey>
+ <key>OneIssuePerLine</key>
+ <priority>MAJOR</priority>
+ </rule>
+ </rules>
+</profile> \ No newline at end of file
diff --git a/tests/src/test/resources/analysis/IssueJsonReportTest/report-on-root-module.json b/tests/src/test/resources/analysis/IssueJsonReportTest/report-on-root-module.json
new file mode 100644
index 00000000000..ad3c0218cdb
--- /dev/null
+++ b/tests/src/test/resources/analysis/IssueJsonReportTest/report-on-root-module.json
@@ -0,0 +1,880 @@
+{
+ "components": [
+ {
+ "key": "com.sonarsource.it.samples:multi-modules-sample"
+ },
+ {
+ "key": "com.sonarsource.it.samples:multi-modules-sample:module_a",
+ "path": "module_a"
+ },
+ {
+ "key": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1",
+ "path": "module_a1"
+ },
+ {
+ "key": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2",
+ "path": "module_a2"
+ },
+ {
+ "key": "com.sonarsource.it.samples:multi-modules-sample:module_b",
+ "path": "module_b"
+ },
+ {
+ "key": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1",
+ "path": "module_b1"
+ },
+ {
+ "key": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2",
+ "path": "module_b2"
+ },
+ {
+ "key": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "moduleKey": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1",
+ "path": "src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "status": "SAME"
+ },
+ {
+ "key": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "moduleKey": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2",
+ "path": "src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "status": "SAME"
+ },
+ {
+ "key": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
+ "moduleKey": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1",
+ "path": "src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
+ "status": "SAME"
+ },
+ {
+ "key": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
+ "moduleKey": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2",
+ "path": "src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
+ "status": "SAME"
+ },
+ {
+ "key": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1",
+ "moduleKey": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1",
+ "path": "src/main/xoo/com/sonar/it/samples/modules/a1"
+ },
+ {
+ "key": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2",
+ "moduleKey": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2",
+ "path": "src/main/xoo/com/sonar/it/samples/modules/a2"
+ },
+ {
+ "key": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1",
+ "moduleKey": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1",
+ "path": "src/main/xoo/com/sonar/it/samples/modules/b1"
+ },
+ {
+ "key": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2",
+ "moduleKey": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2",
+ "path": "src/main/xoo/com/sonar/it/samples/modules/b2"
+ }
+ ],
+ "issues": [
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 9,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 9,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 9,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 10,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 10,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 10,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 11,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 11,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 11,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 12,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 12,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 12,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 13,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 13,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 13,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 14,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 14,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 14,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 15,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 15,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 15,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 16,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 16,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 16,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 1,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 1,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 1,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 2,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 2,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 2,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 3,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 3,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 3,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 4,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 4,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 4,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 5,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 5,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 5,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 7,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 7,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 7,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 6,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 6,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 6,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 8,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 8,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 8,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 1,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 1,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 1,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 2,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 2,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 2,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 3,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 3,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 3,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 4,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 4,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 4,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 5,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 5,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 5,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 6,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 6,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 6,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 7,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 7,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 7,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 8,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 8,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 8,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 9,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 9,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 9,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 10,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 10,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 10,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 11,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 11,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 11,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 12,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 12,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 12,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 13,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 13,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 13,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 14,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 14,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 14,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 15,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 15,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 15,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 16,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 16,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 16,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 17,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 17,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 17,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 18,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 18,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 18,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 19,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 19,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 19,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 20,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 20,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 20,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 21,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 21,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 21,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 1,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 1,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 1,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 2,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 2,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 2,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 3,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 3,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 3,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 4,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 4,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 4,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 5,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 5,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 5,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 6,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 6,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 6,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 7,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 7,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 7,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 8,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 8,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 8,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 9,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 9,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 9,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 10,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 10,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 10,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 11,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 11,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 11,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 12,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 12,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 12,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 1,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 1,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 1,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 2,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 2,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 2,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 3,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 3,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 3,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 4,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 4,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 4,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 5,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 5,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 5,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 6,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 6,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 6,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 7,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 7,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 7,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 8,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 8,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 8,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 9,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 9,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 9,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 10,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 10,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 10,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 12,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 12,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 12,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 11,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 11,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 11,
+ "status": "OPEN"
+ }
+ ],
+ "rules": [
+ {
+ "key": "xoo:OneIssuePerLine",
+ "name": "One Issue Per Line",
+ "repository": "xoo",
+ "rule": "OneIssuePerLine"
+ }
+ ],
+ "users": [],
+ "version": "<SONAR_VERSION>"
+}
diff --git a/tests/src/test/resources/analysis/IssueJsonReportTest/report-on-single-module-branch.json b/tests/src/test/resources/analysis/IssueJsonReportTest/report-on-single-module-branch.json
new file mode 100644
index 00000000000..aa066bbbf2f
--- /dev/null
+++ b/tests/src/test/resources/analysis/IssueJsonReportTest/report-on-single-module-branch.json
@@ -0,0 +1,255 @@
+{
+ "components": [
+ {
+ "key": "sample:mybranch"
+ },
+ {
+ "key": "sample:mybranch:src/main/xoo/sample/Sample.xoo",
+ "moduleKey": "sample:mybranch",
+ "path": "src/main/xoo/sample/Sample.xoo",
+ "status": "CHANGED"
+ },
+ {
+ "key": "sample:mybranch:src/main/xoo/sample",
+ "moduleKey": "sample:mybranch",
+ "path": "src/main/xoo/sample"
+ }
+ ],
+ "issues": [
+ {
+ "component": "sample:mybranch:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 1,
+ "endOffset": 15,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 1,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 1,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:mybranch:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 2,
+ "endOffset": 0,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 2,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 2,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:mybranch:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 3,
+ "endOffset": 21,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 3,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 3,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:mybranch:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 4,
+ "endOffset": 1,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 4,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 4,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:mybranch:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 5,
+ "endOffset": 23,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 5,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 5,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:mybranch:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 6,
+ "endOffset": 14,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 6,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 6,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:mybranch:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 8,
+ "endOffset": 2,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 8,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 8,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:mybranch:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 9,
+ "endOffset": 1,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 9,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 9,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:mybranch:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 10,
+ "endOffset": 28,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 10,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 10,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:mybranch:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 12,
+ "endOffset": 17,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 12,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 12,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:mybranch:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 13,
+ "endOffset": 2,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 13,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 13,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:mybranch:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 14,
+ "endOffset": 1,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 14,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 14,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:mybranch:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 15,
+ "endOffset": 0,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 15,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 15,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:mybranch:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-02T00:00:00+0200",
+ "endLine": 11,
+ "endOffset": 28,
+ "isNew": true,
+ "key": "<ISSUE_KEY>",
+ "line": 11,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 11,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:mybranch:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-02T00:00:00+0200",
+ "endLine": 7,
+ "endOffset": 28,
+ "isNew": true,
+ "key": "<ISSUE_KEY>",
+ "line": 7,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 7,
+ "startOffset": 0,
+ "status": "OPEN"
+ }
+ ],
+ "rules": [
+ {
+ "key": "xoo:OneIssuePerLine",
+ "name": "One Issue Per Line",
+ "repository": "xoo",
+ "rule": "OneIssuePerLine"
+ }
+ ],
+ "users": [],
+ "version": "<SONAR_VERSION>"
+}
diff --git a/tests/src/test/resources/analysis/IssueJsonReportTest/report-on-single-module.json b/tests/src/test/resources/analysis/IssueJsonReportTest/report-on-single-module.json
new file mode 100644
index 00000000000..6c3aab91f02
--- /dev/null
+++ b/tests/src/test/resources/analysis/IssueJsonReportTest/report-on-single-module.json
@@ -0,0 +1,255 @@
+{
+ "components": [
+ {
+ "key": "sample"
+ },
+ {
+ "key": "sample:src/main/xoo/sample/Sample.xoo",
+ "moduleKey": "sample",
+ "path": "src/main/xoo/sample/Sample.xoo",
+ "status": "CHANGED"
+ },
+ {
+ "key": "sample:src/main/xoo/sample",
+ "moduleKey": "sample",
+ "path": "src/main/xoo/sample"
+ }
+ ],
+ "issues": [
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-02T00:00:00+0200",
+ "endLine": 11,
+ "endOffset": 28,
+ "isNew": true,
+ "key": "<ISSUE_KEY>",
+ "line": 11,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 11,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-02T00:00:00+0200",
+ "endLine": 7,
+ "endOffset": 28,
+ "isNew": true,
+ "key": "<ISSUE_KEY>",
+ "line": 7,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 7,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 1,
+ "endOffset": 15,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 1,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 1,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 2,
+ "endOffset": 0,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 2,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 2,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 3,
+ "endOffset": 21,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 3,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 3,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 4,
+ "endOffset": 1,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 4,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 4,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 5,
+ "endOffset": 23,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 5,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 5,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 6,
+ "endOffset": 14,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 6,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 6,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 8,
+ "endOffset": 2,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 8,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 8,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 9,
+ "endOffset": 1,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 9,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 9,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 10,
+ "endOffset": 28,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 10,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 10,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 12,
+ "endOffset": 17,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 12,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 12,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 13,
+ "endOffset": 2,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 13,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 13,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 14,
+ "endOffset": 1,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 14,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 14,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 15,
+ "endOffset": 0,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 15,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 15,
+ "startOffset": 0,
+ "status": "OPEN"
+ }
+ ],
+ "rules": [
+ {
+ "key": "xoo:OneIssuePerLine",
+ "name": "One Issue Per Line",
+ "repository": "xoo",
+ "rule": "OneIssuePerLine"
+ }
+ ],
+ "users": [],
+ "version": "<SONAR_VERSION>"
+}
diff --git a/tests/src/test/resources/analysis/IssueJsonReportTest/report-on-sub-module.json b/tests/src/test/resources/analysis/IssueJsonReportTest/report-on-sub-module.json
new file mode 100644
index 00000000000..84a68c4d5a4
--- /dev/null
+++ b/tests/src/test/resources/analysis/IssueJsonReportTest/report-on-sub-module.json
@@ -0,0 +1,238 @@
+{
+ "components": [
+ {
+ "key": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1"
+ },
+ {
+ "key": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "moduleKey": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1",
+ "path": "src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "status": "SAME"
+ },
+ {
+ "key": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1",
+ "moduleKey": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1",
+ "path": "src/main/xoo/com/sonar/it/samples/modules/a1"
+ }
+ ],
+ "issues": [
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 1,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 1,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 1,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 2,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 2,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 2,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 3,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 3,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 3,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 4,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 4,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 4,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 5,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 5,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 5,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 6,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 6,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 6,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 7,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 7,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 7,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 8,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 8,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 8,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 9,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 9,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 9,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 10,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 10,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 10,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 11,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 11,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 11,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 12,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 12,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 12,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 13,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 13,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 13,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 14,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 14,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 14,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 15,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 15,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 15,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 16,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 16,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 16,
+ "status": "OPEN"
+ }
+ ],
+ "rules": [
+ {
+ "key": "xoo:OneIssuePerLine",
+ "name": "One Issue Per Line",
+ "repository": "xoo",
+ "rule": "OneIssuePerLine"
+ }
+ ],
+ "users": [],
+ "version": "<SONAR_VERSION>"
+}
diff --git a/tests/src/test/resources/analysis/IssuesModeTest/empty.xml b/tests/src/test/resources/analysis/IssuesModeTest/empty.xml
new file mode 100644
index 00000000000..8bab61d6c85
--- /dev/null
+++ b/tests/src/test/resources/analysis/IssuesModeTest/empty.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- Generated by Sonar -->
+<profile>
+ <name>empty</name>
+ <language>xoo</language>
+ <rules>
+ </rules>
+</profile> \ No newline at end of file
diff --git a/tests/src/test/resources/analysis/IssuesModeTest/one-issue-per-line-empty.xml b/tests/src/test/resources/analysis/IssuesModeTest/one-issue-per-line-empty.xml
new file mode 100644
index 00000000000..0ba34f10dbd
--- /dev/null
+++ b/tests/src/test/resources/analysis/IssuesModeTest/one-issue-per-line-empty.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- Generated by Sonar -->
+<profile>
+ <name>one-issue-per-line</name>
+ <language>xoo</language>
+ <rules>
+ </rules>
+</profile>
diff --git a/tests/src/test/resources/analysis/IssuesModeTest/one-issue-per-line.xml b/tests/src/test/resources/analysis/IssuesModeTest/one-issue-per-line.xml
new file mode 100644
index 00000000000..7bb4ed5593a
--- /dev/null
+++ b/tests/src/test/resources/analysis/IssuesModeTest/one-issue-per-line.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- Generated by Sonar -->
+<profile>
+ <name>one-issue-per-line</name>
+ <language>xoo</language>
+ <rules>
+ <rule>
+ <repositoryKey>xoo</repositoryKey>
+ <key>OneIssuePerLine</key>
+ <priority>MAJOR</priority>
+ </rule>
+ </rules>
+</profile> \ No newline at end of file
diff --git a/tests/src/test/resources/analysis/IssuesModeTest/with-many-rules.xml b/tests/src/test/resources/analysis/IssuesModeTest/with-many-rules.xml
new file mode 100644
index 00000000000..f3d0baf0616
--- /dev/null
+++ b/tests/src/test/resources/analysis/IssuesModeTest/with-many-rules.xml
@@ -0,0 +1,32 @@
+<profile>
+ <name>with-many-rules</name>
+ <language>xoo</language>
+ <rules>
+ <rule>
+ <repositoryKey>xoo</repositoryKey>
+ <key>OneIssuePerLine</key>
+ <priority>MINOR</priority>
+ </rule>
+ <rule>
+ <repositoryKey>xoo</repositoryKey>
+ <key>OneIssuePerFile</key>
+ <priority>MAJOR</priority>
+ </rule>
+ <rule>
+ <repositoryKey>xoo</repositoryKey>
+ <key>OneIssuePerModule</key>
+ <priority>CRITICAL</priority>
+ </rule>
+ <rule>
+ <repositoryKey>xoo</repositoryKey>
+ <key>HasTag</key>
+ <priority>INFO</priority>
+ <parameters>
+ <parameter>
+ <key>tag</key>
+ <value>xoo</value>
+ </parameter>
+ </parameters>
+ </rule>
+ </rules>
+</profile> \ No newline at end of file
diff --git a/tests/src/test/resources/analysis/MultiLanguageTest/one-issue-per-line-xoo2.xml b/tests/src/test/resources/analysis/MultiLanguageTest/one-issue-per-line-xoo2.xml
new file mode 100644
index 00000000000..67215f91a52
--- /dev/null
+++ b/tests/src/test/resources/analysis/MultiLanguageTest/one-issue-per-line-xoo2.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- Generated by Sonar -->
+<profile>
+ <name>one-issue-per-line-xoo2</name>
+ <language>xoo2</language>
+ <rules>
+ <rule>
+ <repositoryKey>xoo2</repositoryKey>
+ <key>OneIssuePerLine</key>
+ <priority>MAJOR</priority>
+ </rule>
+ </rules>
+</profile>
diff --git a/tests/src/test/resources/analysis/MultiLanguageTest/one-issue-per-line.xml b/tests/src/test/resources/analysis/MultiLanguageTest/one-issue-per-line.xml
new file mode 100644
index 00000000000..7bb4ed5593a
--- /dev/null
+++ b/tests/src/test/resources/analysis/MultiLanguageTest/one-issue-per-line.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- Generated by Sonar -->
+<profile>
+ <name>one-issue-per-line</name>
+ <language>xoo</language>
+ <rules>
+ <rule>
+ <repositoryKey>xoo</repositoryKey>
+ <key>OneIssuePerLine</key>
+ <priority>MAJOR</priority>
+ </rule>
+ </rules>
+</profile> \ No newline at end of file
diff --git a/tests/src/test/resources/analysis/SSLTest/README b/tests/src/test/resources/analysis/SSLTest/README
new file mode 100644
index 00000000000..fb535a907c6
--- /dev/null
+++ b/tests/src/test/resources/analysis/SSLTest/README
@@ -0,0 +1,184 @@
+$ openssl req -config ./openssl.cnf -newkey rsa:2048 -nodes -keyform PEM -keyout ca.key -x509 -days 3650 -extensions certauth -outform PEM -out ca.cer
+Generating a 2048 bit RSA private key
+..............................................+++
+........................................................................................................+++
+writing new private key to 'ca.key'
+-----
+You are about to be asked to enter information that will be incorporated
+into your certificate request.
+What you are about to enter is what is called a Distinguished Name or a DN.
+There are quite a few fields but you can leave some blank
+For some fields there will be a default value,
+If you enter '.', the field will be left blank.
+-----
+Country [FR]:
+Locality [Poitiers]:
+Organization [SonarSource]:
+Common Name []:CA for SonarQube ITs
+
+$ openssl genrsa -out server.key 2048
+Generating RSA private key, 2048 bit long modulus
+........................+++
+............................+++
+e is 65537 (0x10001)
+
+$ openssl req -config ./openssl.cnf -new -key server.key -out server.req
+You are about to be asked to enter information that will be incorporated
+into your certificate request.
+What you are about to enter is what is called a Distinguished Name or a DN.
+There are quite a few fields but you can leave some blank
+For some fields there will be a default value,
+If you enter '.', the field will be left blank.
+-----
+Country [FR]:
+Locality [Poitiers]:
+Organization [SonarSource]:
+Common Name []:localhost
+
+$ openssl x509 -req -in server.req -CA ca.cer -CAkey ca.key -set_serial 100 -extfile openssl.cnf -extensions server -days 3650 -outform PEM -out server.cer
+Signature ok
+subject=/C=FR/L=Poitiers/O=SonarSource/CN=localhost
+Getting CA Private Key
+
+$ openssl genrsa -out client.key 2048
+Generating RSA private key, 2048 bit long modulus
+...................................+++
+.....................................................+++
+e is 65537 (0x10001)
+
+$ openssl req -config ./openssl.cnf -new -key client.key -out client.req
+You are about to be asked to enter information that will be incorporated
+into your certificate request.
+What you are about to enter is what is called a Distinguished Name or a DN.
+There are quite a few fields but you can leave some blank
+For some fields there will be a default value,
+If you enter '.', the field will be left blank.
+-----
+Country [FR]:
+Locality [Poitiers]:
+Organization [SonarSource]:
+Common Name []:Julien Henry
+
+$ openssl x509 -req -in client.req -CA ca.cer -CAkey ca.key -set_serial 101 -extfile openssl.cnf -extensions client -days 3650 -outform PEM -out client.cer
+Signature ok
+subject=/C=FR/L=Poitiers/O=SonarSource/CN=Julien Henry
+Getting CA Private Key
+
+$ openssl pkcs12 -export -inkey client.key -in client.cer -out client.p12
+Enter Export Password: clientp12pwd
+Verifying - Enter Export Password: clientp12pwd
+
+$ openssl pkcs12 -inkey server.key -in server.cer -export -out server.p12
+Enter Export Password: serverp12pwd
+Verifying - Enter Export Password: serverp12pwd
+
+$ keytool -importkeystore -srckeystore server.p12 -srcstoretype PKCS12 -destkeystore serverkeystore.jks
+Entrez le mot de passe du fichier de clés de destination : serverkeystorepwd
+Ressaisissez le nouveau mot de passe : serverkeystorepwd
+Entrez le mot de passe du fichier de clés source : serverp12pwd
+L'entrée de l'alias 1 a été importée.
+Commande d'import exécutée : 1 entrées importées, échec ou annulation de 0 entrées
+
+$ keytool -import -file ca.cer -keystore servertruststore.jks
+Entrez le mot de passe du fichier de clés : servertruststorepwd
+Ressaisissez le nouveau mot de passe : servertruststorepwd
+Propriétaire : CN=Test CA, O=SonarSource, L=Poitiers, C=FR
+Emetteur : CN=Test CA, O=SonarSource, L=Poitiers, C=FR
+Numéro de série : dabbebc7bce2fc6a
+Valide du : Wed Aug 31 14:42:15 CEST 2016 au : Sat Aug 29 14:42:15 CEST 2026
+Empreintes du certificat :
+ MD5: 69:36:AE:65:51:CD:F4:C3:83:77:DE:45:AE:49:01:1A
+ SHA1 : 77:92:45:84:18:FC:34:7A:2A:B0:EC:3D:22:48:15:1A:19:71:1D:B3
+ SHA256 : 99:03:89:84:6E:E3:D3:B7:12:2D:70:7E:49:88:49:41:52:1C:89:3A:9B:C0:83:D1:C5:44:D4:93:FB:42:C8:07
+ Nom de l'algorithme de signature : SHA1withRSA
+ Version : 3
+
+Extensions :
+
+#1: ObjectId: 2.5.29.35 Criticality=false
+AuthorityKeyIdentifier [
+KeyIdentifier [
+0000: 3A 61 C1 86 AD BE FC 15 82 B3 59 FF 00 28 5E F9 :a........Y..(^.
+0010: B5 5A 87 04 .Z..
+]
+[CN=Test CA, O=SonarSource, L=Poitiers, C=FR]
+SerialNumber: [ dabbebc7 bce2fc6a]
+]
+
+#2: ObjectId: 2.5.29.19 Criticality=false
+BasicConstraints:[
+ CA:true
+ PathLen:2147483647
+]
+
+#3: ObjectId: 2.5.29.31 Criticality=false
+CRLDistributionPoints [
+ [DistributionPoint:
+ [URIName: http://testca.local/ca.crl]
+]]
+
+#4: ObjectId: 2.5.29.14 Criticality=false
+SubjectKeyIdentifier [
+KeyIdentifier [
+0000: 3A 61 C1 86 AD BE FC 15 82 B3 59 FF 00 28 5E F9 :a........Y..(^.
+0010: B5 5A 87 04 .Z..
+]
+]
+
+Faire confiance à ce certificat ? [non] : oui
+Certificat ajouté au fichier de clés
+
+$ keytool -import -file server.cer -keystore clienttruststore.jks
+Entrez le mot de passe du fichier de clés : clienttruststorepwd
+Ressaisissez le nouveau mot de passe : clienttruststorepwd
+Propriétaire : CN=localhost, O=SonarSource, L=Poitiers, C=FR
+Emetteur : CN=Test CA, O=SonarSource, L=Poitiers, C=FR
+Numéro de série : 64
+Valide du : Wed Aug 31 14:45:30 CEST 2016 au : Thu Aug 31 14:45:30 CEST 2017
+Empreintes du certificat :
+ MD5: 40:52:F4:5E:67:C3:68:B6:00:7D:70:C0:1E:8E:75:2E
+ SHA1 : 83:3F:4F:AC:4E:E6:F4:06:14:01:E6:5B:F2:63:34:94:68:12:8C:3A
+ SHA256 : 7C:03:9A:CA:0D:B5:57:A5:66:56:75:09:23:45:9E:D5:CC:6C:72:14:0B:4B:9B:E8:29:3F:78:4C:9F:D6:77:E2
+ Nom de l'algorithme de signature : SHA256withRSA
+ Version : 3
+
+Extensions :
+
+#1: ObjectId: 2.5.29.19 Criticality=false
+BasicConstraints:[
+ CA:false
+ PathLen: undefined
+]
+
+#2: ObjectId: 2.5.29.31 Criticality=false
+CRLDistributionPoints [
+ [DistributionPoint:
+ [URIName: http://testca.local/ca.crl]
+]]
+
+#3: ObjectId: 2.5.29.37 Criticality=false
+ExtendedKeyUsages [
+ serverAuth
+]
+
+#4: ObjectId: 2.5.29.15 Criticality=false
+KeyUsage [
+ DigitalSignature
+ Key_Encipherment
+ Data_Encipherment
+]
+
+#5: ObjectId: 2.16.840.1.113730.1.1 Criticality=false
+NetscapeCertType [
+ SSL server
+]
+
+Faire confiance à ce certificat ? [non] : oui
+Certificat ajouté au fichier de clés
+
+$ keytool -importkeystore -srckeystore client.p12 -srcstoretype PKCS12 -destkeystore clientkeystore.jks
+Entrez le mot de passe du fichier de clés de destination : clientp12pwd
+Ressaisissez le nouveau mot de passe : clientp12pwd
+Entrez le mot de passe du fichier de clés source : clientp12pwd
+L'entrée de l'alias 1 a été importée.
+Commande d'import exécutée : 1 entrées importées, échec ou annulation de 0 entrées
diff --git a/tests/src/test/resources/analysis/SSLTest/clientkeystore.jks b/tests/src/test/resources/analysis/SSLTest/clientkeystore.jks
new file mode 100644
index 00000000000..653f3c7f093
--- /dev/null
+++ b/tests/src/test/resources/analysis/SSLTest/clientkeystore.jks
Binary files differ
diff --git a/tests/src/test/resources/analysis/SSLTest/clienttruststore.jks b/tests/src/test/resources/analysis/SSLTest/clienttruststore.jks
new file mode 100644
index 00000000000..2529245e1c6
--- /dev/null
+++ b/tests/src/test/resources/analysis/SSLTest/clienttruststore.jks
Binary files differ
diff --git a/tests/src/test/resources/analysis/SSLTest/openssl.cnf b/tests/src/test/resources/analysis/SSLTest/openssl.cnf
new file mode 100644
index 00000000000..4a5148fd4d7
--- /dev/null
+++ b/tests/src/test/resources/analysis/SSLTest/openssl.cnf
@@ -0,0 +1,38 @@
+[ req ]
+default_md = sha1
+distinguished_name = req_distinguished_name
+
+[ req_distinguished_name ]
+countryName = Country
+countryName_default = FR
+countryName_min = 2
+countryName_max = 2
+localityName = Locality
+localityName_default = Poitiers
+organizationName = Organization
+organizationName_default = SonarSource
+commonName = Common Name
+commonName_max = 64
+
+[ certauth ]
+subjectKeyIdentifier = hash
+authorityKeyIdentifier = keyid:always,issuer:always
+basicConstraints = CA:true
+crlDistributionPoints = @crl
+
+[ server ]
+basicConstraints = CA:FALSE
+keyUsage = digitalSignature, keyEncipherment, dataEncipherment
+extendedKeyUsage = serverAuth
+nsCertType = server
+crlDistributionPoints = @crl
+
+[ client ]
+basicConstraints = CA:FALSE
+keyUsage = digitalSignature, keyEncipherment, dataEncipherment
+extendedKeyUsage = clientAuth
+nsCertType = client
+crlDistributionPoints = @crl
+
+[ crl ]
+URI=http://testca.local/ca.crl \ No newline at end of file
diff --git a/tests/src/test/resources/analysis/SSLTest/serverkeystore.jks b/tests/src/test/resources/analysis/SSLTest/serverkeystore.jks
new file mode 100644
index 00000000000..319c899278a
--- /dev/null
+++ b/tests/src/test/resources/analysis/SSLTest/serverkeystore.jks
Binary files differ
diff --git a/tests/src/test/resources/analysis/SSLTest/servertruststore.jks b/tests/src/test/resources/analysis/SSLTest/servertruststore.jks
new file mode 100644
index 00000000000..a3aee3b8a9d
--- /dev/null
+++ b/tests/src/test/resources/analysis/SSLTest/servertruststore.jks
Binary files differ
diff --git a/tests/src/test/resources/analysis/SettingsEncryptionTest/sonar-secret.txt b/tests/src/test/resources/analysis/SettingsEncryptionTest/sonar-secret.txt
new file mode 100644
index 00000000000..65b98c522da
--- /dev/null
+++ b/tests/src/test/resources/analysis/SettingsEncryptionTest/sonar-secret.txt
@@ -0,0 +1 @@
+0PZz+G+f8mjr3sPn4+AhHg== \ No newline at end of file
diff --git a/tests/src/test/resources/analysis/TempFolderTest/one-issue-per-line.xml b/tests/src/test/resources/analysis/TempFolderTest/one-issue-per-line.xml
new file mode 100644
index 00000000000..7bb4ed5593a
--- /dev/null
+++ b/tests/src/test/resources/analysis/TempFolderTest/one-issue-per-line.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- Generated by Sonar -->
+<profile>
+ <name>one-issue-per-line</name>
+ <language>xoo</language>
+ <rules>
+ <rule>
+ <repositoryKey>xoo</repositoryKey>
+ <key>OneIssuePerLine</key>
+ <priority>MAJOR</priority>
+ </rule>
+ </rules>
+</profile> \ No newline at end of file