]> source.dussan.org Git - sonarqube.git/blob
6ba3dd639b29ff83922594e389544337d590965e
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should correctly display status message after checking license 1`] = `
4 <p
5   className="alert spacer-top alert-success"
6 >
7   marketplace.license_preview_status.NO_INSTALL.Foo
8 </p>
9 `;
10
11 exports[`should correctly display status message after checking license 2`] = `
12 <p
13   className="alert spacer-top alert-warning"
14 >
15   marketplace.license_preview_status.AUTOMATIC_INSTALL.Foo
16 </p>
17 `;
18
19 exports[`should correctly display status message after checking license 3`] = `
20 <p
21   className="alert spacer-top alert-danger"
22 >
23   marketplace.license_preview_status.MANUAL_INSTALL.Foo
24   <p
25     className="spacer-top"
26   >
27     <a
28       className="button"
29       download="sonarqube-Foo.zip"
30       href="download_url"
31       target="_blank"
32     >
33       marketplace.download_package
34     </a>
35     <a
36       className="spacer-left"
37       href="https://redirect.sonarsource.com/doc/how-to-install-an-edition.html"
38       target="_blank"
39     >
40       marketplace.how_to_install
41     </a>
42   </p>
43 </p>
44 `;
45
46 exports[`should display correctly 1`] = `
47 <div>
48   <label
49     className="spacer-bottom"
50     htmlFor="set-license"
51   >
52     marketplace.enter_license_for_x.Foo
53     <em
54       className="mandatory"
55     >
56       *
57     </em>
58   </label>
59   <textarea
60     autoFocus={true}
61     className="display-block"
62     cols={62}
63     id="set-license"
64     onChange={[Function]}
65     required={true}
66     rows={6}
67     value=""
68   />
69   <a
70     className="display-inline-block spacer-top"
71     href="license_url"
72     target="_blank"
73   >
74     marketplace.i_need_a_license
75   </a>
76 </div>
77 `;