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