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