]> source.dussan.org Git - sonarqube.git/blob
3978fbe2c62b4e4a9cbf429528813c1dd7151559
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`#ComponentName should render correctly for dirs 1`] = `
4 <span
5   className="max-width-100 display-inline-block text-ellipsis"
6   title="src/main/ts/app
7
8 foo"
9 >
10   <span>
11     <QualifierIcon
12       qualifier="DIR"
13     />
14      
15     <span>
16       <span
17         style={
18           Object {
19             "color": "#777",
20           }
21         }
22       >
23         src/main/ts/
24       </span>
25       <span>
26         app
27       </span>
28     </span>
29   </span>
30 </span>
31 `;
32
33 exports[`#ComponentName should render correctly for dirs 2`] = `
34 <span
35   className="max-width-100 display-inline-block text-ellipsis"
36   title="src
37
38 foo"
39 >
40   <span>
41     <QualifierIcon
42       qualifier="DIR"
43     />
44      
45     src
46   </span>
47 </span>
48 `;
49
50 exports[`#ComponentName should render correctly for files 1`] = `
51 <span
52   className="max-width-100 display-inline-block text-ellipsis"
53   title="src/index.tsx
54
55 foo:src/index.tsx"
56 >
57   <span>
58     <QualifierIcon
59       qualifier="FIL"
60     />
61      
62     index.tsx
63   </span>
64 </span>
65 `;
66
67 exports[`#ComponentName should render correctly for files 2`] = `
68 <span
69   className="max-width-100 display-inline-block text-ellipsis"
70   title="src/index.tsx
71
72 foo:src/index.tsx"
73 >
74   <Link
75     className="link-with-icon"
76     onlyActiveOnIndex={false}
77     style={Object {}}
78     to={
79       Object {
80         "pathname": "/code",
81         "query": Object {
82           "id": "foo",
83           "selected": "foo:src/index.tsx",
84         },
85       }
86     }
87   >
88     <QualifierIcon
89       qualifier="FIL"
90     />
91      
92     <span>
93       index.tsx
94     </span>
95   </Link>
96 </span>
97 `;
98
99 exports[`#ComponentName should render correctly for files 3`] = `
100 <span
101   className="max-width-100 display-inline-block text-ellipsis"
102   title="src/index.tsx
103
104 foo:src/index.tsx"
105 >
106   <span>
107     <QualifierIcon
108       qualifier="FIL"
109     />
110      
111     index.tsx
112   </span>
113 </span>
114 `;
115
116 exports[`#ComponentName should render correctly for files 4`] = `
117 <span
118   className="max-width-100 display-inline-flex-center"
119 >
120   <span
121     className="text-ellipsis"
122     title="src/index.tsx
123
124 foo:src/index.tsx"
125   >
126     <span>
127       <QualifierIcon
128         qualifier="FIL"
129       />
130        
131       index.tsx
132     </span>
133   </span>
134   <span
135     className="spacer-left badge flex-1"
136   >
137     branches.main_branch
138   </span>
139 </span>
140 `;
141
142 exports[`#ComponentName should render correctly for files 5`] = `
143 <span
144   className="max-width-100 display-inline-flex-center"
145 >
146   <span
147     className="text-ellipsis"
148     title="src/index.tsx
149
150 foo:src/index.tsx"
151   >
152     <span>
153       <QualifierIcon
154         qualifier="FIL"
155       />
156        
157       index.tsx
158     </span>
159   </span>
160   <span
161     className="text-ellipsis spacer-left"
162   >
163     <BranchIcon
164       className="little-spacer-right"
165     />
166     <span
167       className="note"
168     >
169       foo
170     </span>
171   </span>
172 </span>
173 `;
174
175 exports[`#ComponentName should render correctly for refs 1`] = `
176 <span
177   className="max-width-100 display-inline-block text-ellipsis"
178   title="Foo
179
180 foo"
181 >
182   <Link
183     className="link-with-icon"
184     onlyActiveOnIndex={false}
185     style={Object {}}
186     to={
187       Object {
188         "pathname": "/dashboard",
189         "query": Object {
190           "branch": undefined,
191           "id": "src/main/ts/app",
192         },
193       }
194     }
195   >
196     <QualifierIcon
197       qualifier="TRK"
198     />
199      
200     <span>
201       Foo
202     </span>
203   </Link>
204 </span>
205 `;
206
207 exports[`#ComponentName should render correctly for refs 2`] = `
208 <span
209   className="max-width-100 display-inline-flex-center"
210 >
211   <span
212     className="text-ellipsis"
213     title="Foo
214
215 foo"
216   >
217     <Link
218       className="link-with-icon"
219       onlyActiveOnIndex={false}
220       style={Object {}}
221       to={
222         Object {
223           "pathname": "/dashboard",
224           "query": Object {
225             "branch": "foo",
226             "id": "src/main/ts/app",
227           },
228         }
229       }
230     >
231       <QualifierIcon
232         qualifier="TRK"
233       />
234        
235       <span>
236         Foo
237       </span>
238     </Link>
239   </span>
240   <span
241     className="text-ellipsis spacer-left"
242   >
243     <BranchIcon
244       className="little-spacer-right"
245     />
246     <span
247       className="note"
248     >
249       foo
250     </span>
251   </span>
252 </span>
253 `;
254
255 exports[`#getTooltip should correctly format component information 1`] = `
256 "src/index.tsx
257
258 foo:src/index.tsx"
259 `;
260
261 exports[`#getTooltip should correctly format component information 2`] = `
262 "src/index.tsx
263
264 foo:src/index.tsx"
265 `;
266
267 exports[`#getTooltip should correctly format component information 3`] = `
268 "index.tsx
269
270 foo:src/index.tsx"
271 `;
272
273 exports[`#getTooltip should correctly format component information 4`] = `
274 "Foo
275
276 foo"
277 `;