]> source.dussan.org Git - sonarqube.git/blob
51d35d94dc601a1897b2cda3babb3e064a3d60fa
[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       system.latest_version
12     </strong>
13     <a
14       className="spacer-left medium"
15       href="https://www.sonarqube.org/whats-new/?referrer=sonarqube"
16       rel="noopener noreferrer"
17       target="_blank"
18     >
19       system.see_whats_new
20     </a>
21   </h3>
22   <p>
23     <FormattedMessage
24       defaultMessage="system.version_is_availble"
25       id="system.version_is_availble"
26       values={
27         Object {
28           "version": <b>
29             SonarQube 
30             5.6.7
31           </b>,
32         }
33       }
34     />
35   </p>
36   <p
37     className="spacer-top"
38   >
39     Version 5.6.7 description
40   </p>
41   <div
42     className="big-spacer-top"
43   >
44     <DateFormatter
45       date="2017-03-01"
46       long={true}
47     >
48       <Component />
49     </DateFormatter>
50     <a
51       className="spacer-left"
52       href="http://changelog.url/"
53       rel="noopener noreferrer"
54       target="_blank"
55     >
56       system.release_notes
57     </a>
58   </div>
59   <SystemUpgradeIntermediate
60     className="spacer-top"
61     upgrades={
62       Array [
63         Object {
64           "changeLogUrl": "http://changelog.url/",
65           "description": "Version 5.6.6 description",
66           "downloadDeveloperUrl": "http://download.url/developer",
67           "downloadUrl": "http://download.url/community",
68           "releaseDate": "2017-04-02",
69           "version": "5.6.6",
70         },
71         Object {
72           "changeLogUrl": "http://changelog.url/",
73           "description": "Version 5.6.5 description",
74           "downloadDeveloperUrl": "http://download.url/developer",
75           "downloadUrl": "http://download.url/community",
76           "releaseDate": "2017-03-01",
77           "version": "5.6.5",
78         },
79       ]
80     }
81   />
82   <div
83     className="big-spacer-top"
84   >
85     <a
86       className="button"
87       download="http://download.url/community"
88       href="http://download.url/community"
89       rel="noopener noreferrer"
90       target="_blank"
91     >
92       system.download_x.5.6.7
93     </a>
94     <a
95       className="spacer-left"
96       href="https://redirect.sonarsource.com/doc/upgrading.html"
97       rel="noopener noreferrer"
98       target="_blank"
99     >
100       system.how_to_upgrade
101     </a>
102   </div>
103 </div>
104 `;
105
106 exports[`should display correctly 2`] = `
107 <div
108   className="system-upgrade-version"
109 >
110   <h3
111     className="h1 spacer-bottom"
112   >
113     <strong>
114       system.lts_version
115     </strong>
116   </h3>
117   <p>
118     <FormattedMessage
119       defaultMessage="system.version_is_availble"
120       id="system.version_is_availble"
121       values={
122         Object {
123           "version": <b>
124             SonarQube 
125             5.6.7
126           </b>,
127         }
128       }
129     />
130   </p>
131   <p
132     className="spacer-top"
133   >
134     Version 5.6.7 description
135   </p>
136   <div
137     className="big-spacer-top"
138   >
139     <DateFormatter
140       date="2017-03-01"
141       long={true}
142     >
143       <Component />
144     </DateFormatter>
145     <a
146       className="spacer-left"
147       href="http://changelog.url/"
148       rel="noopener noreferrer"
149       target="_blank"
150     >
151       system.release_notes
152     </a>
153   </div>
154   <SystemUpgradeIntermediate
155     className="spacer-top"
156     upgrades={
157       Array [
158         Object {
159           "changeLogUrl": "http://changelog.url/",
160           "description": "Version 5.6.6 description",
161           "downloadDeveloperUrl": "http://download.url/developer",
162           "downloadUrl": "http://download.url/community",
163           "releaseDate": "2017-04-02",
164           "version": "5.6.6",
165         },
166         Object {
167           "changeLogUrl": "http://changelog.url/",
168           "description": "Version 5.6.5 description",
169           "downloadDeveloperUrl": "http://download.url/developer",
170           "downloadUrl": "http://download.url/community",
171           "releaseDate": "2017-03-01",
172           "version": "5.6.5",
173         },
174       ]
175     }
176   />
177   <div
178     className="big-spacer-top"
179   >
180     <a
181       className="button"
182       download="http://download.url/community"
183       href="http://download.url/community"
184       rel="noopener noreferrer"
185       target="_blank"
186     >
187       system.download_x.5.6.7
188     </a>
189     <a
190       className="spacer-left"
191       href="https://redirect.sonarsource.com/doc/upgrading.html"
192       rel="noopener noreferrer"
193       target="_blank"
194     >
195       system.how_to_upgrade
196     </a>
197   </div>
198 </div>
199 `;
200
201 exports[`should display correctly 3`] = `
202 <div
203   className="system-upgrade-version"
204 >
205   <h3
206     className="h1 spacer-bottom"
207   >
208     <strong>
209       system.latest_version
210     </strong>
211     <a
212       className="spacer-left medium"
213       href="https://www.sonarqube.org/whats-new/?referrer=sonarqube"
214       rel="noopener noreferrer"
215       target="_blank"
216     >
217       system.see_whats_new
218     </a>
219   </h3>
220   <p>
221     <FormattedMessage
222       defaultMessage="system.version_is_availble"
223       id="system.version_is_availble"
224       values={
225         Object {
226           "version": <b>
227             SonarQube 
228             5.6.7
229           </b>,
230         }
231       }
232     />
233   </p>
234   <p
235     className="spacer-top"
236   >
237     Version 5.6.7 description
238   </p>
239   <div
240     className="big-spacer-top"
241   >
242     <DateFormatter
243       date="2017-03-01"
244       long={true}
245     >
246       <Component />
247     </DateFormatter>
248     <a
249       className="spacer-left"
250       href="http://changelog.url/"
251       rel="noopener noreferrer"
252       target="_blank"
253     >
254       system.release_notes
255     </a>
256   </div>
257   <SystemUpgradeIntermediate
258     className="spacer-top"
259     upgrades={
260       Array [
261         Object {
262           "changeLogUrl": "http://changelog.url/",
263           "description": "Version 5.6.6 description",
264           "downloadDeveloperUrl": "http://download.url/developer",
265           "downloadUrl": "http://download.url/community",
266           "releaseDate": "2017-04-02",
267           "version": "5.6.6",
268         },
269         Object {
270           "changeLogUrl": "http://changelog.url/",
271           "description": "Version 5.6.5 description",
272           "downloadDeveloperUrl": "http://download.url/developer",
273           "downloadUrl": "http://download.url/community",
274           "releaseDate": "2017-03-01",
275           "version": "5.6.5",
276         },
277       ]
278     }
279   />
280   <div
281     className="big-spacer-top"
282   >
283     <a
284       className="button"
285       download="http://download.url/developer"
286       href="http://download.url/developer"
287       rel="noopener noreferrer"
288       target="_blank"
289     >
290       system.download_x.5.6.7
291     </a>
292     <a
293       className="spacer-left"
294       href="https://redirect.sonarsource.com/doc/upgrading.html"
295       rel="noopener noreferrer"
296       target="_blank"
297     >
298       system.how_to_upgrade
299     </a>
300   </div>
301 </div>
302 `;
303
304 exports[`should display correctly 4`] = `
305 <div
306   className="system-upgrade-version"
307 >
308   <h3
309     className="h1 spacer-bottom"
310   >
311     <strong>
312       system.latest_version
313     </strong>
314     <a
315       className="spacer-left medium"
316       href="https://www.sonarqube.org/whats-new/?referrer=sonarqube"
317       rel="noopener noreferrer"
318       target="_blank"
319     >
320       system.see_whats_new
321     </a>
322   </h3>
323   <p>
324     <FormattedMessage
325       defaultMessage="system.version_is_availble"
326       id="system.version_is_availble"
327       values={
328         Object {
329           "version": <b>
330             SonarQube 
331             5.6.7
332           </b>,
333         }
334       }
335     />
336   </p>
337   <p
338     className="spacer-top"
339   >
340     Version 5.6.7 description
341   </p>
342   <div
343     className="big-spacer-top"
344   >
345     <DateFormatter
346       date="2017-03-01"
347       long={true}
348     >
349       <Component />
350     </DateFormatter>
351     <a
352       className="spacer-left"
353       href="http://changelog.url/"
354       rel="noopener noreferrer"
355       target="_blank"
356     >
357       system.release_notes
358     </a>
359   </div>
360   <SystemUpgradeIntermediate
361     className="spacer-top"
362     upgrades={
363       Array [
364         Object {
365           "changeLogUrl": "http://changelog.url/",
366           "description": "Version 5.6.6 description",
367           "downloadDeveloperUrl": "http://download.url/developer",
368           "downloadUrl": "http://download.url/community",
369           "releaseDate": "2017-04-02",
370           "version": "5.6.6",
371         },
372         Object {
373           "changeLogUrl": "http://changelog.url/",
374           "description": "Version 5.6.5 description",
375           "downloadDeveloperUrl": "http://download.url/developer",
376           "downloadUrl": "http://download.url/community",
377           "releaseDate": "2017-03-01",
378           "version": "5.6.5",
379         },
380       ]
381     }
382   />
383   <div
384     className="big-spacer-top"
385   >
386     <a
387       className="button"
388       download="http://download.url/enterprise"
389       href="http://download.url/enterprise"
390       rel="noopener noreferrer"
391       target="_blank"
392     >
393       system.download_x.5.6.7
394     </a>
395     <a
396       className="spacer-left"
397       href="https://redirect.sonarsource.com/doc/upgrading.html"
398       rel="noopener noreferrer"
399       target="_blank"
400     >
401       system.how_to_upgrade
402     </a>
403   </div>
404 </div>
405 `;
406
407 exports[`should display correctly 5`] = `
408 <div
409   className="system-upgrade-version"
410 >
411   <h3
412     className="h1 spacer-bottom"
413   >
414     <strong>
415       system.latest_version
416     </strong>
417     <a
418       className="spacer-left medium"
419       href="https://www.sonarqube.org/whats-new/?referrer=sonarqube"
420       rel="noopener noreferrer"
421       target="_blank"
422     >
423       system.see_whats_new
424     </a>
425   </h3>
426   <p>
427     <FormattedMessage
428       defaultMessage="system.version_is_availble"
429       id="system.version_is_availble"
430       values={
431         Object {
432           "version": <b>
433             SonarQube 
434             5.6.7
435           </b>,
436         }
437       }
438     />
439   </p>
440   <p
441     className="spacer-top"
442   >
443     Version 5.6.7 description
444   </p>
445   <div
446     className="big-spacer-top"
447   >
448     <DateFormatter
449       date="2017-03-01"
450       long={true}
451     >
452       <Component />
453     </DateFormatter>
454     <a
455       className="spacer-left"
456       href="http://changelog.url/"
457       rel="noopener noreferrer"
458       target="_blank"
459     >
460       system.release_notes
461     </a>
462   </div>
463   <SystemUpgradeIntermediate
464     className="spacer-top"
465     upgrades={
466       Array [
467         Object {
468           "changeLogUrl": "http://changelog.url/",
469           "description": "Version 5.6.6 description",
470           "downloadDeveloperUrl": "http://download.url/developer",
471           "downloadUrl": "http://download.url/community",
472           "releaseDate": "2017-04-02",
473           "version": "5.6.6",
474         },
475         Object {
476           "changeLogUrl": "http://changelog.url/",
477           "description": "Version 5.6.5 description",
478           "downloadDeveloperUrl": "http://download.url/developer",
479           "downloadUrl": "http://download.url/community",
480           "releaseDate": "2017-03-01",
481           "version": "5.6.5",
482         },
483       ]
484     }
485   />
486   <div
487     className="big-spacer-top"
488   >
489     <a
490       className="button"
491       download="http://download.url/datacenter"
492       href="http://download.url/datacenter"
493       rel="noopener noreferrer"
494       target="_blank"
495     >
496       system.download_x.5.6.7
497     </a>
498     <a
499       className="spacer-left"
500       href="https://redirect.sonarsource.com/doc/upgrading.html"
501       rel="noopener noreferrer"
502       target="_blank"
503     >
504       system.how_to_upgrade
505     </a>
506   </div>
507 </div>
508 `;
509
510 exports[`should display correctly 6`] = `
511 <div
512   className="system-upgrade-version"
513 >
514   <h3
515     className="h1 spacer-bottom"
516   >
517     <strong>
518       system.latest_version
519     </strong>
520     <a
521       className="spacer-left medium"
522       href="https://www.sonarqube.org/whats-new/?referrer=sonarqube"
523       rel="noopener noreferrer"
524       target="_blank"
525     >
526       system.see_whats_new
527     </a>
528   </h3>
529   <p>
530     <FormattedMessage
531       defaultMessage="system.version_is_availble"
532       id="system.version_is_availble"
533       values={
534         Object {
535           "version": <b>
536             SonarQube 
537             5.6.7
538           </b>,
539         }
540       }
541     />
542   </p>
543   <p
544     className="spacer-top"
545   >
546     Version 5.6.7 description
547   </p>
548   <div
549     className="big-spacer-top"
550   >
551     <DateFormatter
552       date="2017-03-01"
553       long={true}
554     >
555       <Component />
556     </DateFormatter>
557     <a
558       className="spacer-left"
559       href="http://changelog.url/"
560       rel="noopener noreferrer"
561       target="_blank"
562     >
563       system.release_notes
564     </a>
565   </div>
566   <SystemUpgradeIntermediate
567     className="spacer-top"
568     upgrades={Array []}
569   />
570   <div
571     className="big-spacer-top"
572   >
573     <a
574       className="button"
575       download="http://download.url/community"
576       href="http://download.url/community"
577       rel="noopener noreferrer"
578       target="_blank"
579     >
580       system.download_x.5.6.7
581     </a>
582     <a
583       className="spacer-left"
584       href="https://redirect.sonarsource.com/doc/upgrading.html"
585       rel="noopener noreferrer"
586       target="_blank"
587     >
588       system.how_to_upgrade
589     </a>
590   </div>
591 </div>
592 `;