]> source.dussan.org Git - sonarqube.git/blob
4ffa1cd28580f754276b3fb9c03969cf8b17c62d
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should display correctly 1`] = `
4 <div
5   className="system-upgrade-version"
6 >
7   <h3
8     className="h1 spacer-bottom"
9   >
10     <strong>
11       Latest Version
12     </strong>
13   </h3>
14   <p>
15     <FormattedMessage
16       defaultMessage="system.version_is_availble"
17       id="system.version_is_availble"
18       values={
19         Object {
20           "version": <b>
21             SonarQube 
22             5.6.7
23           </b>,
24         }
25       }
26     />
27   </p>
28   <p
29     className="spacer-top"
30   >
31     Version 5.6.7 description
32   </p>
33   <div
34     className="big-spacer-top"
35   >
36     <DateFormatter
37       date="2017-03-01"
38       long={true}
39     >
40       <Component />
41     </DateFormatter>
42     <a
43       className="spacer-left"
44       href="http://changelog.url/"
45       rel="noopener noreferrer"
46       target="_blank"
47     >
48       system.release_notes
49     </a>
50   </div>
51   <SystemUpgradeIntermediate
52     className="spacer-top"
53     upgrades={
54       Array [
55         Object {
56           "changeLogUrl": "http://changelog.url/",
57           "description": "Version 5.6.6 description",
58           "downloadDeveloperUrl": "http://download.url/developer",
59           "downloadUrl": "http://download.url/community",
60           "releaseDate": "2017-04-02",
61           "version": "5.6.6",
62         },
63         Object {
64           "changeLogUrl": "http://changelog.url/",
65           "description": "Version 5.6.5 description",
66           "downloadDeveloperUrl": "http://download.url/developer",
67           "downloadUrl": "http://download.url/community",
68           "releaseDate": "2017-03-01",
69           "version": "5.6.5",
70         },
71       ]
72     }
73   />
74   <div
75     className="big-spacer-top"
76   >
77     <a
78       className="button"
79       download="http://download.url/community"
80       href="http://download.url/community"
81       rel="noopener noreferrer"
82       target="_blank"
83     >
84       system.download_x.5.6.7
85     </a>
86     <a
87       className="spacer-left"
88       href="https://redirect.sonarsource.com/doc/upgrading.html"
89       rel="noopener noreferrer"
90       target="_blank"
91     >
92       system.how_to_upgrade
93     </a>
94   </div>
95 </div>
96 `;
97
98 exports[`should display correctly 2`] = `
99 <div
100   className="system-upgrade-version"
101 >
102   <h3
103     className="h1 spacer-bottom"
104   >
105     <strong>
106       Latest Version
107     </strong>
108   </h3>
109   <p>
110     <FormattedMessage
111       defaultMessage="system.version_is_availble"
112       id="system.version_is_availble"
113       values={
114         Object {
115           "version": <b>
116             SonarQube 
117             5.6.7
118           </b>,
119         }
120       }
121     />
122   </p>
123   <p
124     className="spacer-top"
125   >
126     Version 5.6.7 description
127   </p>
128   <div
129     className="big-spacer-top"
130   >
131     <DateFormatter
132       date="2017-03-01"
133       long={true}
134     >
135       <Component />
136     </DateFormatter>
137     <a
138       className="spacer-left"
139       href="http://changelog.url/"
140       rel="noopener noreferrer"
141       target="_blank"
142     >
143       system.release_notes
144     </a>
145   </div>
146   <SystemUpgradeIntermediate
147     className="spacer-top"
148     upgrades={
149       Array [
150         Object {
151           "changeLogUrl": "http://changelog.url/",
152           "description": "Version 5.6.6 description",
153           "downloadDeveloperUrl": "http://download.url/developer",
154           "downloadUrl": "http://download.url/community",
155           "releaseDate": "2017-04-02",
156           "version": "5.6.6",
157         },
158         Object {
159           "changeLogUrl": "http://changelog.url/",
160           "description": "Version 5.6.5 description",
161           "downloadDeveloperUrl": "http://download.url/developer",
162           "downloadUrl": "http://download.url/community",
163           "releaseDate": "2017-03-01",
164           "version": "5.6.5",
165         },
166       ]
167     }
168   />
169   <div
170     className="big-spacer-top"
171   >
172     <a
173       className="button"
174       download="http://download.url/developer"
175       href="http://download.url/developer"
176       rel="noopener noreferrer"
177       target="_blank"
178     >
179       system.download_x.5.6.7
180     </a>
181     <a
182       className="spacer-left"
183       href="https://redirect.sonarsource.com/doc/upgrading.html"
184       rel="noopener noreferrer"
185       target="_blank"
186     >
187       system.how_to_upgrade
188     </a>
189   </div>
190 </div>
191 `;
192
193 exports[`should display correctly 3`] = `
194 <div
195   className="system-upgrade-version"
196 >
197   <h3
198     className="h1 spacer-bottom"
199   >
200     <strong>
201       Latest Version
202     </strong>
203   </h3>
204   <p>
205     <FormattedMessage
206       defaultMessage="system.version_is_availble"
207       id="system.version_is_availble"
208       values={
209         Object {
210           "version": <b>
211             SonarQube 
212             5.6.7
213           </b>,
214         }
215       }
216     />
217   </p>
218   <p
219     className="spacer-top"
220   >
221     Version 5.6.7 description
222   </p>
223   <div
224     className="big-spacer-top"
225   >
226     <DateFormatter
227       date="2017-03-01"
228       long={true}
229     >
230       <Component />
231     </DateFormatter>
232     <a
233       className="spacer-left"
234       href="http://changelog.url/"
235       rel="noopener noreferrer"
236       target="_blank"
237     >
238       system.release_notes
239     </a>
240   </div>
241   <SystemUpgradeIntermediate
242     className="spacer-top"
243     upgrades={
244       Array [
245         Object {
246           "changeLogUrl": "http://changelog.url/",
247           "description": "Version 5.6.6 description",
248           "downloadDeveloperUrl": "http://download.url/developer",
249           "downloadUrl": "http://download.url/community",
250           "releaseDate": "2017-04-02",
251           "version": "5.6.6",
252         },
253         Object {
254           "changeLogUrl": "http://changelog.url/",
255           "description": "Version 5.6.5 description",
256           "downloadDeveloperUrl": "http://download.url/developer",
257           "downloadUrl": "http://download.url/community",
258           "releaseDate": "2017-03-01",
259           "version": "5.6.5",
260         },
261       ]
262     }
263   />
264   <div
265     className="big-spacer-top"
266   >
267     <a
268       className="button"
269       download="http://download.url/enterprise"
270       href="http://download.url/enterprise"
271       rel="noopener noreferrer"
272       target="_blank"
273     >
274       system.download_x.5.6.7
275     </a>
276     <a
277       className="spacer-left"
278       href="https://redirect.sonarsource.com/doc/upgrading.html"
279       rel="noopener noreferrer"
280       target="_blank"
281     >
282       system.how_to_upgrade
283     </a>
284   </div>
285 </div>
286 `;
287
288 exports[`should display correctly 4`] = `
289 <div
290   className="system-upgrade-version"
291 >
292   <h3
293     className="h1 spacer-bottom"
294   >
295     <strong>
296       Latest Version
297     </strong>
298   </h3>
299   <p>
300     <FormattedMessage
301       defaultMessage="system.version_is_availble"
302       id="system.version_is_availble"
303       values={
304         Object {
305           "version": <b>
306             SonarQube 
307             5.6.7
308           </b>,
309         }
310       }
311     />
312   </p>
313   <p
314     className="spacer-top"
315   >
316     Version 5.6.7 description
317   </p>
318   <div
319     className="big-spacer-top"
320   >
321     <DateFormatter
322       date="2017-03-01"
323       long={true}
324     >
325       <Component />
326     </DateFormatter>
327     <a
328       className="spacer-left"
329       href="http://changelog.url/"
330       rel="noopener noreferrer"
331       target="_blank"
332     >
333       system.release_notes
334     </a>
335   </div>
336   <SystemUpgradeIntermediate
337     className="spacer-top"
338     upgrades={
339       Array [
340         Object {
341           "changeLogUrl": "http://changelog.url/",
342           "description": "Version 5.6.6 description",
343           "downloadDeveloperUrl": "http://download.url/developer",
344           "downloadUrl": "http://download.url/community",
345           "releaseDate": "2017-04-02",
346           "version": "5.6.6",
347         },
348         Object {
349           "changeLogUrl": "http://changelog.url/",
350           "description": "Version 5.6.5 description",
351           "downloadDeveloperUrl": "http://download.url/developer",
352           "downloadUrl": "http://download.url/community",
353           "releaseDate": "2017-03-01",
354           "version": "5.6.5",
355         },
356       ]
357     }
358   />
359   <div
360     className="big-spacer-top"
361   >
362     <a
363       className="button"
364       download="http://download.url/datacenter"
365       href="http://download.url/datacenter"
366       rel="noopener noreferrer"
367       target="_blank"
368     >
369       system.download_x.5.6.7
370     </a>
371     <a
372       className="spacer-left"
373       href="https://redirect.sonarsource.com/doc/upgrading.html"
374       rel="noopener noreferrer"
375       target="_blank"
376     >
377       system.how_to_upgrade
378     </a>
379   </div>
380 </div>
381 `;
382
383 exports[`should display correctly 5`] = `
384 <div
385   className="system-upgrade-version"
386 >
387   <h3
388     className="h1 spacer-bottom"
389   >
390     <strong>
391       Latest Version
392     </strong>
393   </h3>
394   <p>
395     <FormattedMessage
396       defaultMessage="system.version_is_availble"
397       id="system.version_is_availble"
398       values={
399         Object {
400           "version": <b>
401             SonarQube 
402             5.6.7
403           </b>,
404         }
405       }
406     />
407   </p>
408   <p
409     className="spacer-top"
410   >
411     Version 5.6.7 description
412   </p>
413   <div
414     className="big-spacer-top"
415   >
416     <DateFormatter
417       date="2017-03-01"
418       long={true}
419     >
420       <Component />
421     </DateFormatter>
422     <a
423       className="spacer-left"
424       href="http://changelog.url/"
425       rel="noopener noreferrer"
426       target="_blank"
427     >
428       system.release_notes
429     </a>
430   </div>
431   <SystemUpgradeIntermediate
432     className="spacer-top"
433     upgrades={Array []}
434   />
435   <div
436     className="big-spacer-top"
437   >
438     <a
439       className="button"
440       download="http://download.url/community"
441       href="http://download.url/community"
442       rel="noopener noreferrer"
443       target="_blank"
444     >
445       system.download_x.5.6.7
446     </a>
447     <a
448       className="spacer-left"
449       href="https://redirect.sonarsource.com/doc/upgrading.html"
450       rel="noopener noreferrer"
451       target="_blank"
452     >
453       system.how_to_upgrade
454     </a>
455   </div>
456 </div>
457 `;