]> source.dussan.org Git - sonarqube.git/blob
d045ac053878665e43426c3f6d529c899b118c41
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`#ComponentName should render breadcrumb correctly for APP 1`] = `
4 <span
5   className="max-width-100 display-inline-block text-ellipsis"
6   title="Foo
7
8 foo"
9 >
10   <span>
11     <QualifierIcon
12       qualifier="APP"
13     />
14      
15     Foo
16   </span>
17 </span>
18 `;
19
20 exports[`#ComponentName should render breadcrumb correctly for SVW 1`] = `
21 <span
22   className="max-width-100 display-inline-block text-ellipsis"
23   title="Foo
24
25 foo"
26 >
27   <span>
28     <QualifierIcon
29       qualifier="SVW"
30     />
31      
32     Foo
33   </span>
34 </span>
35 `;
36
37 exports[`#ComponentName should render breadcrumb correctly for TRK 1`] = `
38 <span
39   className="max-width-100 display-inline-block text-ellipsis"
40   title="Foo
41
42 foo"
43 >
44   <span>
45     <QualifierIcon
46       qualifier="TRK"
47     />
48      
49     Foo
50   </span>
51 </span>
52 `;
53
54 exports[`#ComponentName should render breadcrumb correctly for TRK 2`] = `
55 <span
56   className="max-width-100 display-inline-block text-ellipsis"
57   title="Foo
58
59 foo"
60 >
61   <span>
62     <QualifierIcon
63       qualifier="TRK"
64     />
65      
66     Foo
67   </span>
68 </span>
69 `;
70
71 exports[`#ComponentName should render breadcrumb correctly for VW 1`] = `
72 <span
73   className="max-width-100 display-inline-block text-ellipsis"
74   title="Foo
75
76 foo"
77 >
78   <span>
79     <QualifierIcon
80       qualifier="VW"
81     />
82      
83     Foo
84   </span>
85 </span>
86 `;
87
88 exports[`#ComponentName should render correctly for dirs 1`] = `
89 <span
90   className="max-width-100 display-inline-block text-ellipsis"
91   title="src/main/ts/app
92
93 foo"
94 >
95   <span>
96     <QualifierIcon
97       qualifier="DIR"
98     />
99      
100     <span>
101       <span
102         style={
103           Object {
104             "color": "#666",
105           }
106         }
107       >
108         src/main/ts/
109       </span>
110       <span>
111         app
112       </span>
113     </span>
114   </span>
115 </span>
116 `;
117
118 exports[`#ComponentName should render correctly for dirs 2`] = `
119 <span
120   className="max-width-100 display-inline-block text-ellipsis"
121   title="src
122
123 foo"
124 >
125   <span>
126     <QualifierIcon
127       qualifier="DIR"
128     />
129      
130     src
131   </span>
132 </span>
133 `;
134
135 exports[`#ComponentName should render correctly for files 1`] = `
136 <span
137   className="max-width-100 display-inline-block text-ellipsis"
138   title="src/index.tsx
139
140 foo:src/index.tsx"
141 >
142   <span>
143     <QualifierIcon
144       qualifier="FIL"
145     />
146      
147     index.tsx
148   </span>
149 </span>
150 `;
151
152 exports[`#ComponentName should render correctly for files 2`] = `
153 <span
154   className="max-width-100 display-inline-block text-ellipsis"
155   title="src/index.tsx
156
157 foo:src/index.tsx"
158 >
159   <Link
160     className="link-with-icon"
161     onlyActiveOnIndex={false}
162     style={Object {}}
163     to={
164       Object {
165         "pathname": "/code",
166         "query": Object {
167           "id": "foo",
168           "selected": "foo:src/index.tsx",
169         },
170       }
171     }
172   >
173     <QualifierIcon
174       qualifier="FIL"
175     />
176      
177     <span>
178       index.tsx
179     </span>
180   </Link>
181 </span>
182 `;
183
184 exports[`#ComponentName should render correctly for files 3`] = `
185 <span
186   className="max-width-100 display-inline-block text-ellipsis"
187   title="src/index.tsx
188
189 foo:src/index.tsx"
190 >
191   <span>
192     <QualifierIcon
193       qualifier="FIL"
194     />
195      
196     index.tsx
197   </span>
198 </span>
199 `;
200
201 exports[`#ComponentName should render correctly for files 4`] = `
202 <span
203   className="max-width-100 display-inline-block text-ellipsis"
204   title="src/index.tsx
205
206 foo:src/index.tsx"
207 >
208   <span>
209     <QualifierIcon
210       qualifier="FIL"
211     />
212      
213     index.tsx
214   </span>
215 </span>
216 `;
217
218 exports[`#ComponentName should render correctly for files 5`] = `
219 <span
220   className="max-width-100 display-inline-block text-ellipsis"
221   title="src/index.tsx
222
223 foo:src/index.tsx"
224 >
225   <span>
226     <QualifierIcon
227       qualifier="FIL"
228     />
229      
230     index.tsx
231   </span>
232 </span>
233 `;
234
235 exports[`#ComponentName should render correctly for refs 1`] = `
236 <span
237   className="max-width-100 display-inline-block text-ellipsis"
238   title="Foo
239
240 foo
241
242 foo"
243 >
244   <Link
245     className="link-with-icon"
246     onlyActiveOnIndex={false}
247     style={Object {}}
248     to={
249       Object {
250         "pathname": "/dashboard",
251         "query": Object {
252           "branch": undefined,
253           "id": "src/main/ts/app",
254         },
255       }
256     }
257   >
258     <QualifierIcon
259       qualifier="TRK"
260     />
261      
262     <span>
263       Foo
264     </span>
265   </Link>
266 </span>
267 `;
268
269 exports[`#ComponentName should render correctly for refs 2`] = `
270 <span
271   className="max-width-100 display-inline-flex-center"
272 >
273   <span
274     className="text-ellipsis"
275     title="Foo
276
277 foo
278
279 foo"
280   >
281     <Link
282       className="link-with-icon"
283       onlyActiveOnIndex={false}
284       style={Object {}}
285       to={
286         Object {
287           "pathname": "/dashboard",
288           "query": Object {
289             "branch": "foo",
290             "id": "src/main/ts/app",
291           },
292         }
293       }
294     >
295       <QualifierIcon
296         qualifier="TRK"
297       />
298        
299       <span>
300         Foo
301       </span>
302     </Link>
303   </span>
304   <span
305     className="text-ellipsis spacer-left"
306   >
307     <BranchIcon
308       className="little-spacer-right"
309     />
310     <span
311       className="note"
312     >
313       foo
314     </span>
315   </span>
316 </span>
317 `;
318
319 exports[`#ComponentName should render correctly for refs 3`] = `
320 <span
321   className="max-width-100 display-inline-flex-center"
322 >
323   <span
324     className="text-ellipsis"
325     title="Foo
326
327 foo"
328   >
329     <Link
330       className="link-with-icon"
331       onlyActiveOnIndex={false}
332       style={Object {}}
333       to={
334         Object {
335           "pathname": "/dashboard",
336           "query": Object {
337             "branch": undefined,
338             "id": "src/main/ts/app",
339           },
340         }
341       }
342     >
343       <QualifierIcon
344         qualifier="TRK"
345       />
346        
347       <span>
348         Foo
349       </span>
350     </Link>
351   </span>
352   <span
353     className="spacer-left badge flex-1"
354   >
355     branches.main_branch
356   </span>
357 </span>
358 `;
359
360 exports[`#getTooltip should correctly format component information 1`] = `
361 "src/index.tsx
362
363 foo:src/index.tsx"
364 `;
365
366 exports[`#getTooltip should correctly format component information 2`] = `
367 "src/index.tsx
368
369 foo:src/index.tsx"
370 `;
371
372 exports[`#getTooltip should correctly format component information 3`] = `
373 "index.tsx
374
375 foo:src/index.tsx"
376 `;
377
378 exports[`#getTooltip should correctly format component information 4`] = `
379 "Foo
380
381 foo"
382 `;