aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch/src/test/resources/org
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-01-26 18:24:01 +0100
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-02-02 17:27:19 +0100
commit35f1487144f72e49b73383c0e96d73b53c60c641 (patch)
treeceb208c0c3d0e631561c9807d394ca97503df1ae /sonar-batch/src/test/resources/org
parent7a15c4d1064bbda06a204427bc71a26d9091647a (diff)
downloadsonarqube-35f1487144f72e49b73383c0e96d73b53c60c641.tar.gz
sonarqube-35f1487144f72e49b73383c0e96d73b53c60c641.zip
Use protocol buffers format for analysis reports
Diffstat (limited to 'sonar-batch/src/test/resources/org')
-rw-r--r--sonar-batch/src/test/resources/org/sonar/batch/report/ComponentsPublisherTest/expected.json59
-rw-r--r--sonar-batch/src/test/resources/org/sonar/batch/report/ComponentsPublisherTest/testComponentPublisher_containing_file_without_language.json21
2 files changed, 0 insertions, 80 deletions
diff --git a/sonar-batch/src/test/resources/org/sonar/batch/report/ComponentsPublisherTest/expected.json b/sonar-batch/src/test/resources/org/sonar/batch/report/ComponentsPublisherTest/expected.json
deleted file mode 100644
index 09d60b6c0dd..00000000000
--- a/sonar-batch/src/test/resources/org/sonar/batch/report/ComponentsPublisherTest/expected.json
+++ /dev/null
@@ -1,59 +0,0 @@
-{
- "analysisDate": "2012-12-12T00:00:00+0100",
- "root": {
- "batchId": 1,
- "id": 1,
- "snapshotId": 11,
- "name": "Root project",
- "type": "PRJ",
- "children": [
- {
- "batchId": 2,
- "id": 2,
- "snapshotId": 12,
- "name": "Module1",
- "type": "MOD",
- "children": [
- {
- "batchId": 3,
- "id": 3,
- "snapshotId": 13,
- "path": "src",
- "type": "DIR",
- "children": [
- {
- "batchId": 4,
- "id": 4,
- "snapshotId": 14,
- "path": "src/Foo.java",
- "type": "FIL",
- "isTest": false,
- "languageKey": "java",
- "children": []
- }
- ]
- },
- {
- "batchId": 5,
- "id": 5,
- "snapshotId": 15,
- "path": "test",
- "type": "DIR",
- "children": [
- {
- "batchId": 6,
- "id": 6,
- "snapshotId": 16,
- "path": "test/FooTest.java",
- "type": "FIL",
- "isTest": true,
- "languageKey": "java",
- "children": []
- }
- ]
- }
- ]
- }
- ]
- }
-} \ No newline at end of file
diff --git a/sonar-batch/src/test/resources/org/sonar/batch/report/ComponentsPublisherTest/testComponentPublisher_containing_file_without_language.json b/sonar-batch/src/test/resources/org/sonar/batch/report/ComponentsPublisherTest/testComponentPublisher_containing_file_without_language.json
deleted file mode 100644
index 4c82576ee87..00000000000
--- a/sonar-batch/src/test/resources/org/sonar/batch/report/ComponentsPublisherTest/testComponentPublisher_containing_file_without_language.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "analysisDate": "2012-12-12T00:00:00+0100",
- "root": {
- "batchId": 1,
- "id": 1,
- "snapshotId": 11,
- "name": "All Projects",
- "type": "VIEW",
- "children": [
- {
- "batchId": 2,
- "id": 2,
- "snapshotId": 12,
- "path": "ALL_PROJECTsample",
- "type": "FIL",
- "isTest": false,
- "children": []
- }
- ]
- }
-}