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