]> source.dussan.org Git - sonarqube.git/blob
7fbb4c9db8b11dd8ec9e220de3c8241a7f4e6ec8
[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               fill="#4b9fd5"
138               height="10"
139               width={50}
140               x="0"
141               y="3"
142             />
143           </svg>
144         </td>
145       </tr>
146       <tr
147         key="bar"
148       >
149         <td>
150           <Link
151             className="link-with-icon"
152             onlyActiveOnIndex={false}
153             style={Object {}}
154             to={
155               Object {
156                 "pathname": "/dashboard",
157                 "query": Object {
158                   "branch": undefined,
159                   "id": "barbar",
160                 },
161               }
162             }
163           >
164             <QualifierIcon
165               qualifier="TRK"
166             />
167              
168             Bar
169           </Link>
170         </td>
171         <td
172           className="text-center"
173         >
174           <Measure
175             metricKey="alert_status"
176             metricType="LEVEL"
177             value="ERROR"
178           />
179         </td>
180         <td
181           className="text-center"
182         >
183           <Measure
184             metricKey="reliability_rating"
185             metricType="RATING"
186             value="2"
187           />
188         </td>
189         <td
190           className="text-center"
191         >
192           <Measure
193             metricKey="security_rating"
194             metricType="RATING"
195             value="1"
196           />
197         </td>
198         <td
199           className="text-center"
200         >
201           <Measure
202             metricKey="security_review_rating"
203             metricType="RATING"
204           />
205         </td>
206         <td
207           className="text-center"
208         >
209           <Measure
210             metricKey="sqale_rating"
211             metricType="RATING"
212             value="4"
213           />
214         </td>
215         <td
216           className="text-right"
217         >
218           <span
219             className="note"
220           >
221             <Measure
222               metricKey="ncloc"
223               metricType="SHORT_INT"
224               value="100"
225             />
226           </span>
227           <svg
228             className="spacer-left"
229             height="16"
230             width="50"
231           >
232             <rect
233               className="bar-chart-bar"
234               fill="#4b9fd5"
235               height="10"
236               width={25}
237               x="0"
238               y="3"
239             />
240           </svg>
241         </td>
242       </tr>
243       <tr
244         key="baz"
245       >
246         <td>
247           <Link
248             className="link-with-icon"
249             onlyActiveOnIndex={false}
250             style={Object {}}
251             to={
252               Object {
253                 "pathname": "/dashboard",
254                 "query": Object {
255                   "branch": undefined,
256                   "id": "bazbaz",
257                 },
258               }
259             }
260           >
261             <QualifierIcon
262               qualifier="TRK"
263             />
264              
265             Baz
266           </Link>
267         </td>
268         <td
269           className="text-center"
270         >
271           <Measure
272             metricKey="alert_status"
273             metricType="LEVEL"
274             value="WARN"
275           />
276         </td>
277         <td
278           className="text-center"
279         >
280           <Measure
281             metricKey="reliability_rating"
282             metricType="RATING"
283             value="2"
284           />
285         </td>
286         <td
287           className="text-center"
288         >
289           <Measure
290             metricKey="security_rating"
291             metricType="RATING"
292             value="1"
293           />
294         </td>
295         <td
296           className="text-center"
297         >
298           <Measure
299             metricKey="security_review_rating"
300             metricType="RATING"
301           />
302         </td>
303         <td
304           className="text-center"
305         >
306           <Measure
307             metricKey="sqale_rating"
308             metricType="RATING"
309             value="4"
310           />
311         </td>
312         <td
313           className="text-right"
314         >
315           <span
316             className="note"
317           >
318             <Measure
319               metricKey="ncloc"
320               metricType="SHORT_INT"
321               value="150"
322             />
323           </span>
324           <svg
325             className="spacer-left"
326             height="16"
327             width="50"
328           >
329             <rect
330               className="bar-chart-bar"
331               fill="#4b9fd5"
332               height="10"
333               width={38}
334               x="0"
335               y="3"
336             />
337           </svg>
338         </td>
339       </tr>
340     </tbody>
341   </table>
342 </div>
343 `;