]> source.dussan.org Git - sonarqube.git/blob
f220ea81475bedcf910232b6bde23028470dc27b
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`new_open_issues 1`] = `
4 <DrilldownLink
5   className="overview-quality-gate-condition overview-quality-gate-condition-error"
6   component="abcd-key"
7   metric="new_open_issues"
8   periodDate={null}
9 >
10   <div
11     className="overview-quality-gate-condition-container"
12   >
13     <div
14       className="overview-quality-gate-condition-value"
15     >
16       <Measure
17         measure={
18           Object {
19             "leak": "10",
20             "value": "10",
21           }
22         }
23         metric={
24           Object {
25             "key": "new_open_issues",
26             "name": "new_open_issues",
27             "type": "INT",
28           }
29         }
30       />
31     </div>
32     <div>
33       <div
34         className="overview-quality-gate-condition-metric"
35       >
36         <IssueTypeIcon
37           className="little-spacer-right"
38           query="new_open_issues"
39         />
40         new_open_issues
41       </div>
42       <div
43         className="overview-quality-gate-threshold"
44       >
45         quality_gates.operator.GT
46          
47         0
48       </div>
49     </div>
50   </div>
51 </DrilldownLink>
52 `;
53
54 exports[`new_reliability_rating 1`] = `
55 <Link
56   className="overview-quality-gate-condition overview-quality-gate-condition-error"
57   onlyActiveOnIndex={false}
58   style={Object {}}
59   to={
60     Object {
61       "pathname": "/project/issues",
62       "query": Object {
63         "id": "abcd-key",
64         "resolved": "false",
65         "severities": "BLOCKER,CRITICAL,MAJOR,MINOR",
66         "sinceLeakPeriod": "true",
67         "types": "BUG",
68       },
69     }
70   }
71 >
72   <div
73     className="overview-quality-gate-condition-container"
74   >
75     <div
76       className="overview-quality-gate-condition-value"
77     >
78       <Measure
79         measure={
80           Object {
81             "leak": "3",
82             "value": "3",
83           }
84         }
85         metric={
86           Object {
87             "key": "new_reliability_rating",
88             "name": "new_reliability_rating",
89             "type": "RATING",
90           }
91         }
92       />
93     </div>
94     <div>
95       <div
96         className="overview-quality-gate-condition-metric"
97       >
98         <IssueTypeIcon
99           className="little-spacer-right"
100           query="new_reliability_rating"
101         />
102         new_reliability_rating
103       </div>
104       <div
105         className="overview-quality-gate-threshold"
106       >
107         quality_gates.operator.GT.rating
108          
109         A
110       </div>
111     </div>
112   </div>
113 </Link>
114 `;
115
116 exports[`new_security_rating 1`] = `
117 <Link
118   className="overview-quality-gate-condition overview-quality-gate-condition-error"
119   onlyActiveOnIndex={false}
120   style={Object {}}
121   to={
122     Object {
123       "pathname": "/project/issues",
124       "query": Object {
125         "id": "abcd-key",
126         "resolved": "false",
127         "severities": "BLOCKER,CRITICAL,MAJOR,MINOR",
128         "sinceLeakPeriod": "true",
129         "types": "VULNERABILITY",
130       },
131     }
132   }
133 >
134   <div
135     className="overview-quality-gate-condition-container"
136   >
137     <div
138       className="overview-quality-gate-condition-value"
139     >
140       <Measure
141         measure={
142           Object {
143             "leak": "3",
144             "value": "3",
145           }
146         }
147         metric={
148           Object {
149             "key": "new_security_rating",
150             "name": "new_security_rating",
151             "type": "RATING",
152           }
153         }
154       />
155     </div>
156     <div>
157       <div
158         className="overview-quality-gate-condition-metric"
159       >
160         <IssueTypeIcon
161           className="little-spacer-right"
162           query="new_security_rating"
163         />
164         new_security_rating
165       </div>
166       <div
167         className="overview-quality-gate-threshold"
168       >
169         quality_gates.operator.GT.rating
170          
171         A
172       </div>
173     </div>
174   </div>
175 </Link>
176 `;
177
178 exports[`new_sqale_rating 1`] = `
179 <Link
180   className="overview-quality-gate-condition overview-quality-gate-condition-error"
181   onlyActiveOnIndex={false}
182   style={Object {}}
183   to={
184     Object {
185       "pathname": "/project/issues",
186       "query": Object {
187         "id": "abcd-key",
188         "resolved": "false",
189         "sinceLeakPeriod": "true",
190         "types": "CODE_SMELL",
191       },
192     }
193   }
194 >
195   <div
196     className="overview-quality-gate-condition-container"
197   >
198     <div
199       className="overview-quality-gate-condition-value"
200     >
201       <Measure
202         measure={
203           Object {
204             "leak": "3",
205             "value": "3",
206           }
207         }
208         metric={
209           Object {
210             "key": "new_sqale_rating",
211             "name": "new_sqale_rating",
212             "type": "RATING",
213           }
214         }
215       />
216     </div>
217     <div>
218       <div
219         className="overview-quality-gate-condition-metric"
220       >
221         <IssueTypeIcon
222           className="little-spacer-right"
223           query="new_sqale_rating"
224         />
225         new_sqale_rating
226       </div>
227       <div
228         className="overview-quality-gate-threshold"
229       >
230         quality_gates.operator.GT.rating
231          
232         A
233       </div>
234     </div>
235   </div>
236 </Link>
237 `;
238
239 exports[`open_issues 1`] = `
240 <DrilldownLink
241   className="overview-quality-gate-condition overview-quality-gate-condition-error"
242   component="abcd-key"
243   metric="open_issues"
244   periodDate={null}
245 >
246   <div
247     className="overview-quality-gate-condition-container"
248   >
249     <div
250       className="overview-quality-gate-condition-value"
251     >
252       <Measure
253         measure={
254           Object {
255             "leak": "10",
256             "value": "10",
257           }
258         }
259         metric={
260           Object {
261             "key": "open_issues",
262             "name": "Open open_issues",
263             "type": "INT",
264           }
265         }
266       />
267     </div>
268     <div>
269       <div
270         className="overview-quality-gate-condition-metric"
271       >
272         <IssueTypeIcon
273           className="little-spacer-right"
274           query="open_issues"
275         />
276         Open open_issues
277       </div>
278       <div
279         className="overview-quality-gate-threshold"
280       >
281         quality_gates.operator.GT
282          
283         0
284       </div>
285     </div>
286   </div>
287 </DrilldownLink>
288 `;
289
290 exports[`reliability_rating 1`] = `
291 <Link
292   className="overview-quality-gate-condition overview-quality-gate-condition-error"
293   onlyActiveOnIndex={false}
294   style={Object {}}
295   to={
296     Object {
297       "pathname": "/project/issues",
298       "query": Object {
299         "id": "abcd-key",
300         "resolved": "false",
301         "severities": "BLOCKER,CRITICAL,MAJOR,MINOR",
302         "types": "BUG",
303       },
304     }
305   }
306 >
307   <div
308     className="overview-quality-gate-condition-container"
309   >
310     <div
311       className="overview-quality-gate-condition-value"
312     >
313       <Measure
314         measure={
315           Object {
316             "leak": "3",
317             "value": "3",
318           }
319         }
320         metric={
321           Object {
322             "key": "reliability_rating",
323             "name": "reliability_rating",
324             "type": "RATING",
325           }
326         }
327       />
328     </div>
329     <div>
330       <div
331         className="overview-quality-gate-condition-metric"
332       >
333         <IssueTypeIcon
334           className="little-spacer-right"
335           query="reliability_rating"
336         />
337         reliability_rating
338       </div>
339       <div
340         className="overview-quality-gate-threshold"
341       >
342         quality_gates.operator.GT.rating
343          
344         A
345       </div>
346     </div>
347   </div>
348 </Link>
349 `;
350
351 exports[`security_rating 1`] = `
352 <Link
353   className="overview-quality-gate-condition overview-quality-gate-condition-error"
354   onlyActiveOnIndex={false}
355   style={Object {}}
356   to={
357     Object {
358       "pathname": "/project/issues",
359       "query": Object {
360         "id": "abcd-key",
361         "resolved": "false",
362         "severities": "BLOCKER,CRITICAL,MAJOR,MINOR",
363         "types": "VULNERABILITY",
364       },
365     }
366   }
367 >
368   <div
369     className="overview-quality-gate-condition-container"
370   >
371     <div
372       className="overview-quality-gate-condition-value"
373     >
374       <Measure
375         measure={
376           Object {
377             "leak": "3",
378             "value": "3",
379           }
380         }
381         metric={
382           Object {
383             "key": "security_rating",
384             "name": "security_rating",
385             "type": "RATING",
386           }
387         }
388       />
389     </div>
390     <div>
391       <div
392         className="overview-quality-gate-condition-metric"
393       >
394         <IssueTypeIcon
395           className="little-spacer-right"
396           query="security_rating"
397         />
398         security_rating
399       </div>
400       <div
401         className="overview-quality-gate-threshold"
402       >
403         quality_gates.operator.GT.rating
404          
405         A
406       </div>
407     </div>
408   </div>
409 </Link>
410 `;
411
412 exports[`sqale_rating 1`] = `
413 <Link
414   className="overview-quality-gate-condition overview-quality-gate-condition-error"
415   onlyActiveOnIndex={false}
416   style={Object {}}
417   to={
418     Object {
419       "pathname": "/project/issues",
420       "query": Object {
421         "id": "abcd-key",
422         "resolved": "false",
423         "types": "CODE_SMELL",
424       },
425     }
426   }
427 >
428   <div
429     className="overview-quality-gate-condition-container"
430   >
431     <div
432       className="overview-quality-gate-condition-value"
433     >
434       <Measure
435         measure={
436           Object {
437             "leak": "3",
438             "value": "3",
439           }
440         }
441         metric={
442           Object {
443             "key": "sqale_rating",
444             "name": "sqale_rating",
445             "type": "RATING",
446           }
447         }
448       />
449     </div>
450     <div>
451       <div
452         className="overview-quality-gate-condition-metric"
453       >
454         <IssueTypeIcon
455           className="little-spacer-right"
456           query="sqale_rating"
457         />
458         sqale_rating
459       </div>
460       <div
461         className="overview-quality-gate-threshold"
462       >
463         quality_gates.operator.GT.rating
464          
465         A
466       </div>
467     </div>
468   </div>
469 </Link>
470 `;