aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/test/json
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-09-10 16:22:04 +0200
committerStas Vilchik <vilchiks@gmail.com>2015-09-10 16:24:35 +0200
commit66f00c2cfb074a72cbbd2c0c266437c43b6488e5 (patch)
tree28e8f94097a33804ce872ee0b6ff3beb4af73224 /server/sonar-web/src/test/json
parentd716cb1dbbe8a57e5c659c8be3dc0a4dd47d160a (diff)
downloadsonarqube-66f00c2cfb074a72cbbd2c0c266437c43b6488e5.tar.gz
sonarqube-66f00c2cfb074a72cbbd2c0c266437c43b6488e5.zip
SONAR-6766 migrate to "flows"
Diffstat (limited to 'server/sonar-web/src/test/json')
-rw-r--r--server/sonar-web/src/test/json/source-viewer-spec/issues-with-precise-location.json63
1 files changed, 36 insertions, 27 deletions
diff --git a/server/sonar-web/src/test/json/source-viewer-spec/issues-with-precise-location.json b/server/sonar-web/src/test/json/source-viewer-spec/issues-with-precise-location.json
index 215ed12c651..895acb642a9 100644
--- a/server/sonar-web/src/test/json/source-viewer-spec/issues-with-precise-location.json
+++ b/server/sonar-web/src/test/json/source-viewer-spec/issues-with-precise-location.json
@@ -23,18 +23,21 @@
"startOffset": 24,
"endOffset": 29
},
- "secondaryLocations": [
+ "flows": [
{
- "textRange": {
- "startLine": 3,
- "endLine": 3,
- "startOffset": 15,
- "endOffset": 20
- },
- "msg": "Secondary Location #1"
+ "locations": [
+ {
+ "textRange": {
+ "startLine": 3,
+ "endLine": 3,
+ "startOffset": 15,
+ "endOffset": 20
+ },
+ "msg": "Secondary Location #1"
+ }
+ ]
}
],
- "executionFlows": [],
"status": "OPEN",
"message": "Identical sub-expressions on both sides of operator \"||\"",
"debt": "2min",
@@ -76,18 +79,21 @@
"startOffset": 6,
"endOffset": 10
},
- "secondaryLocations": [
+ "flows": [
{
- "textRange": {
- "startLine": 8,
- "endLine": 8,
- "startOffset": 6,
- "endOffset": 11
- },
- "msg": "Secondary Location #1"
+ "locations": [
+ {
+ "textRange": {
+ "startLine": 8,
+ "endLine": 8,
+ "startOffset": 6,
+ "endOffset": 11
+ },
+ "msg": "Secondary Location #1"
+ }
+ ]
}
],
- "executionFlows": [],
"status": "OPEN",
"message": "Identical sub-expressions on both sides of operator \"||\"",
"debt": "2min",
@@ -129,18 +135,21 @@
"startOffset": 13,
"endOffset": 9
},
- "secondaryLocations": [
+ "flows": [
{
- "textRange": {
- "startLine": 17,
- "endLine": 18,
- "startOffset": 15,
- "endOffset": 9
- },
- "msg": "Secondary Location #1"
+ "locations": [
+ {
+ "textRange": {
+ "startLine": 17,
+ "endLine": 18,
+ "startOffset": 15,
+ "endOffset": 9
+ },
+ "msg": "Secondary Location #1"
+ }
+ ]
}
],
- "executionFlows": [],
"status": "OPEN",
"message": "Identical sub-expressions on both sides of operator \"||\"",
"debt": "2min",