]> source.dussan.org Git - sonarqube.git/blob
4cc11714524b2781c1c96f80b3527daafb52371b
[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           "id": "src/main/ts/app",
191         },
192       }
193     }
194   >
195     <QualifierIcon
196       qualifier="TRK"
197     />
198      
199     <span>
200       Foo
201     </span>
202   </Link>
203 </span>
204 `;
205
206 exports[`#ComponentName should render correctly for refs 2`] = `
207 <span
208   className="max-width-100 display-inline-flex-center"
209 >
210   <span
211     className="text-ellipsis"
212     title="Foo
213
214 foo"
215   >
216     <Link
217       className="link-with-icon"
218       onlyActiveOnIndex={false}
219       style={Object {}}
220       to={
221         Object {
222           "pathname": "/dashboard",
223           "query": Object {
224             "branch": "foo",
225             "id": "src/main/ts/app",
226           },
227         }
228       }
229     >
230       <QualifierIcon
231         qualifier="TRK"
232       />
233        
234       <span>
235         Foo
236       </span>
237     </Link>
238   </span>
239   <span
240     className="text-ellipsis spacer-left"
241   >
242     <BranchIcon
243       className="little-spacer-right"
244     />
245     <span
246       className="note"
247     >
248       foo
249     </span>
250   </span>
251 </span>
252 `;
253
254 exports[`#getTooltip should correctly format component information 1`] = `
255 "src/index.tsx
256
257 foo:src/index.tsx"
258 `;
259
260 exports[`#getTooltip should correctly format component information 2`] = `
261 "src/index.tsx
262
263 foo:src/index.tsx"
264 `;
265
266 exports[`#getTooltip should correctly format component information 3`] = `
267 "index.tsx
268
269 foo:src/index.tsx"
270 `;
271
272 exports[`#getTooltip should correctly format component information 4`] = `
273 "Foo
274
275 foo"
276 `;