]> source.dussan.org Git - sonarqube.git/blob
4be321cb443f1f8f3e8351ef7215b94ea84c7918
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`renders 1`] = `
4 <tr
5   data-project-key="project"
6 >
7   <td
8     className="thin"
9   >
10     <Checkbox
11       checked={true}
12       onCheck={[Function]}
13       thirdState={false}
14     />
15   </td>
16   <td
17     className="nowrap hide-overflow project-row-text-cell"
18   >
19     <ForwardRef(Link)
20       className="link-no-underline"
21       to={
22         {
23           "pathname": "/dashboard",
24           "search": "?id=project",
25         }
26       }
27     >
28       <QualifierIcon
29         className="little-spacer-right"
30         qualifier="TRK"
31       />
32       <Tooltip
33         overlay="Project"
34         placement="left"
35       >
36         <span>
37           Project
38         </span>
39       </Tooltip>
40     </ForwardRef(Link)>
41   </td>
42   <td
43     className="thin nowrap"
44   >
45     <PrivacyBadgeContainer
46       qualifier="TRK"
47       visibility="private"
48     />
49   </td>
50   <td
51     className="nowrap hide-overflow project-row-text-cell"
52   >
53     <Tooltip
54       overlay="project"
55       placement="left"
56     >
57       <span
58         className="note"
59       >
60         project
61       </span>
62     </Tooltip>
63   </td>
64   <td
65     className="thin nowrap text-right"
66   >
67     <span
68       className="note"
69     >
70       —
71     </span>
72   </td>
73   <td
74     className="thin nowrap"
75   >
76     <ProjectRowActions
77       currentUser={
78         {
79           "login": "foo",
80         }
81       }
82       project={
83         {
84           "key": "project",
85           "name": "Project",
86           "qualifier": "TRK",
87           "visibility": "private",
88         }
89       }
90     />
91   </td>
92 </tr>
93 `;
94
95 exports[`renders: portfolio 1`] = `
96 <tr
97   data-project-key="project"
98 >
99   <td
100     className="thin"
101   >
102     <Checkbox
103       checked={true}
104       onCheck={[Function]}
105       thirdState={false}
106     />
107   </td>
108   <td
109     className="nowrap hide-overflow project-row-text-cell"
110   >
111     <ForwardRef(Link)
112       className="link-no-underline"
113       to={
114         {
115           "pathname": "/portfolio",
116           "search": "?id=project",
117         }
118       }
119     >
120       <QualifierIcon
121         className="little-spacer-right"
122         qualifier="VW"
123       />
124       <Tooltip
125         overlay="Project"
126         placement="left"
127       >
128         <span>
129           Project
130         </span>
131       </Tooltip>
132     </ForwardRef(Link)>
133   </td>
134   <td
135     className="thin nowrap"
136   >
137     <PrivacyBadgeContainer
138       qualifier="VW"
139       visibility="private"
140     />
141   </td>
142   <td
143     className="nowrap hide-overflow project-row-text-cell"
144   >
145     <Tooltip
146       overlay="project"
147       placement="left"
148     >
149       <span
150         className="note"
151       >
152         project
153       </span>
154     </Tooltip>
155   </td>
156   <td
157     className="thin nowrap text-right"
158   >
159     <span
160       className="note"
161     >
162       —
163     </span>
164   </td>
165   <td
166     className="thin nowrap"
167   >
168     <ProjectRowActions
169       currentUser={
170         {
171           "login": "foo",
172         }
173       }
174       project={
175         {
176           "key": "project",
177           "name": "Project",
178           "qualifier": "VW",
179           "visibility": "private",
180         }
181       }
182     />
183   </td>
184 </tr>
185 `;
186
187 exports[`renders: with lastAnalysisDate 1`] = `
188 <tr
189   data-project-key="project"
190 >
191   <td
192     className="thin"
193   >
194     <Checkbox
195       checked={true}
196       onCheck={[Function]}
197       thirdState={false}
198     />
199   </td>
200   <td
201     className="nowrap hide-overflow project-row-text-cell"
202   >
203     <ForwardRef(Link)
204       className="link-no-underline"
205       to={
206         {
207           "pathname": "/dashboard",
208           "search": "?id=project",
209         }
210       }
211     >
212       <QualifierIcon
213         className="little-spacer-right"
214         qualifier="TRK"
215       />
216       <Tooltip
217         overlay="Project"
218         placement="left"
219       >
220         <span>
221           Project
222         </span>
223       </Tooltip>
224     </ForwardRef(Link)>
225   </td>
226   <td
227     className="thin nowrap"
228   >
229     <PrivacyBadgeContainer
230       qualifier="TRK"
231       visibility="private"
232     />
233   </td>
234   <td
235     className="nowrap hide-overflow project-row-text-cell"
236   >
237     <Tooltip
238       overlay="project"
239       placement="left"
240     >
241       <span
242         className="note"
243       >
244         project
245       </span>
246     </Tooltip>
247   </td>
248   <td
249     className="thin nowrap text-right"
250   >
251     <DateFormatter
252       date="2017-04-08T00:00:00.000Z"
253     />
254   </td>
255   <td
256     className="thin nowrap"
257   >
258     <ProjectRowActions
259       currentUser={
260         {
261           "login": "foo",
262         }
263       }
264       project={
265         {
266           "key": "project",
267           "lastAnalysisDate": "2017-04-08T00:00:00.000Z",
268           "name": "Project",
269           "qualifier": "TRK",
270           "visibility": "private",
271         }
272       }
273     />
274   </td>
275 </tr>
276 `;