]> source.dussan.org Git - sonarqube.git/blob
9b9a24ab6fe07e7655d262e9b957fbdd54b1152c
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should work with extensions 1`] = `
4 <ul
5   className="nav navbar-nav nav-tabs"
6 >
7   <li>
8     <Link
9       activeClassName="active"
10       onlyActiveOnIndex={false}
11       style={Object {}}
12       to={
13         Object {
14           "pathname": "/dashboard",
15           "query": Object {
16             "id": "foo",
17           },
18         }
19       }
20     >
21       <i
22         className="icon-home"
23       />
24     </Link>
25   </li>
26   <li>
27     <Link
28       activeClassName="active"
29       onlyActiveOnIndex={false}
30       style={Object {}}
31       to={
32         Object {
33           "pathname": "/project/issues",
34           "query": Object {
35             "id": "foo",
36             "resolved": "false",
37           },
38         }
39       }
40     >
41       issues.page
42     </Link>
43   </li>
44   <li>
45     <Link
46       activeClassName="active"
47       onlyActiveOnIndex={false}
48       style={Object {}}
49       to={
50         Object {
51           "pathname": "/component_measures",
52           "query": Object {
53             "id": "foo",
54           },
55         }
56       }
57     >
58       layout.measures
59     </Link>
60   </li>
61   <li>
62     <Link
63       activeClassName="active"
64       onlyActiveOnIndex={false}
65       style={Object {}}
66       to={
67         Object {
68           "pathname": "/code",
69           "query": Object {
70             "id": "foo",
71           },
72         }
73       }
74     >
75       code.page
76     </Link>
77   </li>
78   <li>
79     <Link
80       activeClassName="active"
81       onlyActiveOnIndex={false}
82       style={Object {}}
83       to={
84         Object {
85           "pathname": "/project/activity",
86           "query": Object {
87             "id": "foo",
88           },
89         }
90       }
91     >
92       project_activity.page
93     </Link>
94   </li>
95   <li
96     className="dropdown"
97   >
98     <a
99       className="dropdown-toggle navbar-admin-link"
100       data-toggle="dropdown"
101       href="#"
102       id="component-navigation-admin"
103     >
104       layout.settings
105        
106       <i
107         className="icon-dropdown"
108       />
109     </a>
110     <ul
111       className="dropdown-menu"
112     >
113       <li>
114         <Link
115           activeClassName="active"
116           onlyActiveOnIndex={false}
117           style={Object {}}
118           to={
119             Object {
120               "pathname": "/project/settings",
121               "query": Object {
122                 "id": "foo",
123               },
124             }
125           }
126         >
127           project_settings.page
128         </Link>
129       </li>
130       <li>
131         <Link
132           activeClassName="active"
133           onlyActiveOnIndex={false}
134           style={Object {}}
135           to={
136             Object {
137               "pathname": "/project/admin/extension/foo",
138               "query": Object {
139                 "id": "foo",
140               },
141             }
142           }
143         >
144           Foo
145         </Link>
146       </li>
147       <li>
148         <Link
149           activeClassName="active"
150           onlyActiveOnIndex={false}
151           style={Object {}}
152           to={
153             Object {
154               "pathname": "/project/deletion",
155               "query": Object {
156                 "id": "foo",
157               },
158             }
159           }
160         >
161           deletion.page
162         </Link>
163       </li>
164     </ul>
165   </li>
166   <li
167     className="dropdown"
168   >
169     <a
170       className="dropdown-toggle"
171       data-toggle="dropdown"
172       href="#"
173       id="component-navigation-more"
174     >
175       more
176        
177       <i
178         className="icon-dropdown"
179       />
180     </a>
181     <ul
182       className="dropdown-menu"
183     >
184       <li>
185         <Link
186           activeClassName="active"
187           onlyActiveOnIndex={false}
188           style={Object {}}
189           to={
190             Object {
191               "pathname": "/project/extension/component-foo",
192               "query": Object {
193                 "id": "foo",
194               },
195             }
196           }
197         >
198           ComponentFoo
199         </Link>
200       </li>
201     </ul>
202   </li>
203 </ul>
204 `;
205
206 exports[`should work with multiple extensions 1`] = `
207 <ul
208   className="nav navbar-nav nav-tabs"
209 >
210   <li>
211     <Link
212       activeClassName="active"
213       onlyActiveOnIndex={false}
214       style={Object {}}
215       to={
216         Object {
217           "pathname": "/dashboard",
218           "query": Object {
219             "id": "foo",
220           },
221         }
222       }
223     >
224       <i
225         className="icon-home"
226       />
227     </Link>
228   </li>
229   <li>
230     <Link
231       activeClassName="active"
232       onlyActiveOnIndex={false}
233       style={Object {}}
234       to={
235         Object {
236           "pathname": "/project/issues",
237           "query": Object {
238             "id": "foo",
239             "resolved": "false",
240           },
241         }
242       }
243     >
244       issues.page
245     </Link>
246   </li>
247   <li>
248     <Link
249       activeClassName="active"
250       onlyActiveOnIndex={false}
251       style={Object {}}
252       to={
253         Object {
254           "pathname": "/component_measures",
255           "query": Object {
256             "id": "foo",
257           },
258         }
259       }
260     >
261       layout.measures
262     </Link>
263   </li>
264   <li>
265     <Link
266       activeClassName="active"
267       onlyActiveOnIndex={false}
268       style={Object {}}
269       to={
270         Object {
271           "pathname": "/code",
272           "query": Object {
273             "id": "foo",
274           },
275         }
276       }
277     >
278       code.page
279     </Link>
280   </li>
281   <li>
282     <Link
283       activeClassName="active"
284       onlyActiveOnIndex={false}
285       style={Object {}}
286       to={
287         Object {
288           "pathname": "/project/activity",
289           "query": Object {
290             "id": "foo",
291           },
292         }
293       }
294     >
295       project_activity.page
296     </Link>
297   </li>
298   <li
299     className="dropdown"
300   >
301     <a
302       className="dropdown-toggle navbar-admin-link"
303       data-toggle="dropdown"
304       href="#"
305       id="component-navigation-admin"
306     >
307       layout.settings
308        
309       <i
310         className="icon-dropdown"
311       />
312     </a>
313     <ul
314       className="dropdown-menu"
315     >
316       <li>
317         <Link
318           activeClassName="active"
319           onlyActiveOnIndex={false}
320           style={Object {}}
321           to={
322             Object {
323               "pathname": "/project/settings",
324               "query": Object {
325                 "id": "foo",
326               },
327             }
328           }
329         >
330           project_settings.page
331         </Link>
332       </li>
333       <li>
334         <Link
335           activeClassName="active"
336           onlyActiveOnIndex={false}
337           style={Object {}}
338           to={
339             Object {
340               "pathname": "/project/admin/extension/foo",
341               "query": Object {
342                 "id": "foo",
343               },
344             }
345           }
346         >
347           Foo
348         </Link>
349       </li>
350       <li>
351         <Link
352           activeClassName="active"
353           onlyActiveOnIndex={false}
354           style={Object {}}
355           to={
356             Object {
357               "pathname": "/project/admin/extension/bar",
358               "query": Object {
359                 "id": "foo",
360               },
361             }
362           }
363         >
364           Bar
365         </Link>
366       </li>
367       <li>
368         <Link
369           activeClassName="active"
370           onlyActiveOnIndex={false}
371           style={Object {}}
372           to={
373             Object {
374               "pathname": "/project/deletion",
375               "query": Object {
376                 "id": "foo",
377               },
378             }
379           }
380         >
381           deletion.page
382         </Link>
383       </li>
384     </ul>
385   </li>
386   <li
387     className="dropdown"
388   >
389     <a
390       className="dropdown-toggle"
391       data-toggle="dropdown"
392       href="#"
393       id="component-navigation-more"
394     >
395       more
396        
397       <i
398         className="icon-dropdown"
399       />
400     </a>
401     <ul
402       className="dropdown-menu"
403     >
404       <li>
405         <Link
406           activeClassName="active"
407           onlyActiveOnIndex={false}
408           style={Object {}}
409           to={
410             Object {
411               "pathname": "/project/extension/component-foo",
412               "query": Object {
413                 "id": "foo",
414               },
415             }
416           }
417         >
418           ComponentFoo
419         </Link>
420       </li>
421       <li>
422         <Link
423           activeClassName="active"
424           onlyActiveOnIndex={false}
425           style={Object {}}
426           to={
427             Object {
428               "pathname": "/project/extension/component-bar",
429               "query": Object {
430                 "id": "foo",
431               },
432             }
433           }
434         >
435           ComponentBar
436         </Link>
437       </li>
438     </ul>
439   </li>
440 </ul>
441 `;