]> source.dussan.org Git - sonarqube.git/blob
ee5e59a8907b0e9a32da7a5fa4cacd4976fcfc41
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`renders 1`] = `
4 <div
5   className="panel panel-white portfolio-sub-components"
6   id="portfolio-sub-components"
7 >
8   <table
9     className="data zebra"
10   >
11     <thead>
12       <tr>
13         <th>
14            
15         </th>
16         <th
17           className="text-center portfolio-sub-components-cell"
18         >
19           metric_domain.Releasability
20         </th>
21         <th
22           className="text-center portfolio-sub-components-cell"
23         >
24           metric_domain.Reliability
25         </th>
26         <th
27           className="text-center portfolio-sub-components-cell"
28         >
29           portfolio.metric_domain.vulnerabilities
30         </th>
31         <th
32           className="text-center portfolio-sub-components-cell"
33         >
34           portfolio.metric_domain.security_hotspots
35         </th>
36         <th
37           className="text-center portfolio-sub-components-cell"
38         >
39           metric_domain.Maintainability
40         </th>
41         <th
42           className="text-center portfolio-sub-components-cell"
43         >
44           metric.ncloc.name
45         </th>
46       </tr>
47     </thead>
48     <tbody>
49       <tr
50         key="foo"
51       >
52         <td>
53           <Link
54             className="link-with-icon"
55             onlyActiveOnIndex={false}
56             style={Object {}}
57             to={
58               Object {
59                 "pathname": "/dashboard",
60                 "query": Object {
61                   "branch": undefined,
62                   "id": "foo",
63                 },
64               }
65             }
66           >
67             <QualifierIcon
68               qualifier="SVW"
69             />
70              
71             Foo
72           </Link>
73         </td>
74         <td
75           className="text-center"
76         >
77           <Measure
78             metricKey="releasability_rating"
79             metricType="RATING"
80             value="3"
81           />
82         </td>
83         <td
84           className="text-center"
85         >
86           <Measure
87             metricKey="reliability_rating"
88             metricType="RATING"
89             value="2"
90           />
91         </td>
92         <td
93           className="text-center"
94         >
95           <Measure
96             metricKey="security_rating"
97             metricType="RATING"
98             value="1"
99           />
100         </td>
101         <td
102           className="text-center"
103         >
104           <Measure
105             metricKey="security_review_rating"
106             metricType="RATING"
107           />
108         </td>
109         <td
110           className="text-center"
111         >
112           <Measure
113             metricKey="sqale_rating"
114             metricType="RATING"
115             value="4"
116           />
117         </td>
118         <td
119           className="text-right"
120         >
121           <span
122             className="note"
123           >
124             <Measure
125               metricKey="ncloc"
126               metricType="SHORT_INT"
127               value="200"
128             />
129           </span>
130           <svg
131             className="spacer-left"
132             height="16"
133             width="50"
134           >
135             <rect
136               className="bar-chart-bar"
137               height="10"
138               width={50}
139               x="0"
140               y="3"
141             />
142           </svg>
143         </td>
144       </tr>
145       <tr
146         key="bar"
147       >
148         <td>
149           <Link
150             className="link-with-icon"
151             onlyActiveOnIndex={false}
152             style={Object {}}
153             to={
154               Object {
155                 "pathname": "/dashboard",
156                 "query": Object {
157                   "branch": undefined,
158                   "id": "barbar",
159                 },
160               }
161             }
162           >
163             <QualifierIcon
164               qualifier="TRK"
165             />
166              
167             Bar
168           </Link>
169         </td>
170         <td
171           className="text-center"
172         >
173           <Measure
174             metricKey="alert_status"
175             metricType="LEVEL"
176             value="ERROR"
177           />
178         </td>
179         <td
180           className="text-center"
181         >
182           <Measure
183             metricKey="reliability_rating"
184             metricType="RATING"
185             value="2"
186           />
187         </td>
188         <td
189           className="text-center"
190         >
191           <Measure
192             metricKey="security_rating"
193             metricType="RATING"
194             value="1"
195           />
196         </td>
197         <td
198           className="text-center"
199         >
200           <Measure
201             metricKey="security_review_rating"
202             metricType="RATING"
203           />
204         </td>
205         <td
206           className="text-center"
207         >
208           <Measure
209             metricKey="sqale_rating"
210             metricType="RATING"
211             value="4"
212           />
213         </td>
214         <td
215           className="text-right"
216         >
217           <span
218             className="note"
219           >
220             <Measure
221               metricKey="ncloc"
222               metricType="SHORT_INT"
223               value="100"
224             />
225           </span>
226           <svg
227             className="spacer-left"
228             height="16"
229             width="50"
230           >
231             <rect
232               className="bar-chart-bar"
233               height="10"
234               width={25}
235               x="0"
236               y="3"
237             />
238           </svg>
239         </td>
240       </tr>
241       <tr
242         key="baz"
243       >
244         <td>
245           <Link
246             className="link-with-icon"
247             onlyActiveOnIndex={false}
248             style={Object {}}
249             to={
250               Object {
251                 "pathname": "/dashboard",
252                 "query": Object {
253                   "branch": undefined,
254                   "id": "bazbaz",
255                 },
256               }
257             }
258           >
259             <QualifierIcon
260               qualifier="TRK"
261             />
262              
263             Baz
264           </Link>
265         </td>
266         <td
267           className="text-center"
268         >
269           <Measure
270             metricKey="alert_status"
271             metricType="LEVEL"
272             value="WARN"
273           />
274         </td>
275         <td
276           className="text-center"
277         >
278           <Measure
279             metricKey="reliability_rating"
280             metricType="RATING"
281             value="2"
282           />
283         </td>
284         <td
285           className="text-center"
286         >
287           <Measure
288             metricKey="security_rating"
289             metricType="RATING"
290             value="1"
291           />
292         </td>
293         <td
294           className="text-center"
295         >
296           <Measure
297             metricKey="security_review_rating"
298             metricType="RATING"
299           />
300         </td>
301         <td
302           className="text-center"
303         >
304           <Measure
305             metricKey="sqale_rating"
306             metricType="RATING"
307             value="4"
308           />
309         </td>
310         <td
311           className="text-right"
312         >
313           <span
314             className="note"
315           >
316             <Measure
317               metricKey="ncloc"
318               metricType="SHORT_INT"
319               value="150"
320             />
321           </span>
322           <svg
323             className="spacer-left"
324             height="16"
325             width="50"
326           >
327             <rect
328               className="bar-chart-bar"
329               height="10"
330               width={38}
331               x="0"
332               y="3"
333             />
334           </svg>
335         </td>
336       </tr>
337     </tbody>
338   </table>
339 </div>
340 `;