]> source.dussan.org Git - sonarqube.git/blob
20f82563531fea9887f908f27f43505ed7e63a12
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`loadIssues should load issues with listIssues if re-indexing 1`] = `
4 [
5   {
6     "actions": [
7       "set_tags",
8       "comment",
9       "assign",
10     ],
11     "assignee": "luke",
12     "author": "luke@sonarsource.com",
13     "comments": [],
14     "component": "foo.java",
15     "componentEnabled": true,
16     "componentKey": "foo.java",
17     "componentLongName": "Foo.java",
18     "componentName": "foo.java",
19     "componentPath": "/foo.java",
20     "componentQualifier": "FIL",
21     "creationDate": "2016-08-15T15:25:38+0200",
22     "flows": [],
23     "flowsWithType": [],
24     "hash": "78417dcee7ba927b7e7c9161e29e02b8",
25     "key": "AWaqVGl3tut9VbnJvk6M",
26     "line": 62,
27     "message": "Make sure this file handling is safe here.",
28     "project": "org.sonarsource.java:java",
29     "projectEnabled": true,
30     "projectKey": "org.sonarsource.java:java",
31     "projectLongName": "SonarJava",
32     "projectName": "SonarJava",
33     "projectQualifier": "TRK",
34     "rule": "squid:S4797",
35     "secondaryLocations": [],
36     "status": "OPEN",
37     "tags": [
38       "cert",
39       "cwe",
40       "owasp-a1",
41       "owasp-a3",
42     ],
43     "textRange": {
44       "endLine": 62,
45       "endOffset": 96,
46       "startLine": 62,
47       "startOffset": 93,
48     },
49     "transitions": [],
50     "type": "SECURITY_HOTSPOT",
51     "updateDate": "2018-10-25T10:23:08+0200",
52   },
53 ]
54 `;
55
56 exports[`loadIssues should load issues with searchIssues if not re-indexing 1`] = `
57 [
58   {
59     "actions": [
60       "set_tags",
61       "comment",
62       "assign",
63     ],
64     "assignee": "luke",
65     "assigneeActive": true,
66     "assigneeAvatar": "lukavatar",
67     "assigneeLogin": "luke",
68     "assigneeName": "Luke",
69     "author": "luke@sonarsource.com",
70     "comments": [],
71     "component": "foo.java",
72     "componentEnabled": true,
73     "componentKey": "foo.java",
74     "componentLongName": "Foo.java",
75     "componentName": "foo.java",
76     "componentPath": "/foo.java",
77     "componentQualifier": "FIL",
78     "creationDate": "2016-08-15T15:25:38+0200",
79     "flows": [],
80     "flowsWithType": [],
81     "hash": "78417dcee7ba927b7e7c9161e29e02b8",
82     "key": "AWaqVGl3tut9VbnJvk6M",
83     "line": 62,
84     "message": "Make sure this file handling is safe here.",
85     "project": "org.sonarsource.java:java",
86     "projectEnabled": true,
87     "projectKey": "org.sonarsource.java:java",
88     "projectLongName": "SonarJava",
89     "projectName": "SonarJava",
90     "projectQualifier": "TRK",
91     "rule": "squid:S4797",
92     "ruleKey": "squid:S4797",
93     "ruleLang": "java",
94     "ruleLangName": "Java",
95     "ruleName": "Handling files is security-sensitive",
96     "ruleStatus": "READY",
97     "secondaryLocations": [],
98     "status": "OPEN",
99     "tags": [
100       "cert",
101       "cwe",
102       "owasp-a1",
103       "owasp-a3",
104     ],
105     "textRange": {
106       "endLine": 62,
107       "endOffset": 96,
108       "startLine": 62,
109       "startOffset": 93,
110     },
111     "transitions": [],
112     "type": "SECURITY_HOTSPOT",
113     "updateDate": "2018-10-25T10:23:08+0200",
114   },
115 ]
116 `;