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