]> source.dussan.org Git - sonarqube.git/blob
d5a6548367e6fa0adb82947eed298973a3944b23
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render available plugin correctly 1`] = `
4 <div
5   className="js-actions"
6 >
7   <p
8     className="little-spacer-bottom"
9   >
10     <Checkbox
11       checked={false}
12       className="js-terms"
13       id="plugin-terms-foo"
14       onCheck={[Function]}
15       thirdState={false}
16     >
17       <label
18         className="little-spacer-left"
19         htmlFor="plugin-terms-foo"
20       >
21         marketplace.i_accept_the
22       </label>
23     </Checkbox>
24     <a
25       className="js-plugin-terms nowrap little-spacer-left"
26       href="https://url"
27       rel="noopener noreferrer"
28       target="_blank"
29     >
30       marketplace.terms_and_conditions
31     </a>
32   </p>
33   <Tooltip
34     overlay="marketplace.requires_restart"
35   >
36     <Button
37       className="js-install"
38       disabled={true}
39       onClick={[Function]}
40     >
41       marketplace.install
42     </Button>
43   </Tooltip>
44 </div>
45 `;
46
47 exports[`should render available plugin correctly 2`] = `
48 <div
49   className="js-actions"
50 >
51   <div>
52     <p
53       className="little-spacer-bottom"
54     >
55       marketplace.available_under_commercial_license
56     </p>
57     <a
58       rel="noopener noreferrer"
59       target="_blank"
60     >
61       marketplace.learn_more
62     </a>
63   </div>
64 </div>
65 `;
66
67 exports[`should render installed plugin correctly 1`] = `
68 <div
69   className="js-actions"
70 >
71   <PluginUpdateButton
72     disabled={false}
73     key="0"
74     onClick={[Function]}
75     update={
76       Object {
77         "requires": Array [],
78         "status": "COMPATIBLE",
79       }
80     }
81   />
82   <Tooltip
83     overlay="marketplace.requires_restart"
84   >
85     <Button
86       className="js-uninstall button-red little-spacer-left"
87       disabled={false}
88       onClick={[Function]}
89     >
90       marketplace.uninstall
91     </Button>
92   </Tooltip>
93 </div>
94 `;
95
96 exports[`should render installed plugin correctly 2`] = `
97 <div
98   className="js-actions"
99 >
100   <p>
101     <CheckIcon
102       className="little-spacer-right"
103     />
104     marketplace.installed
105   </p>
106   <div
107     className="spacer-top"
108   >
109     <PluginUpdateButton
110       disabled={false}
111       key="0"
112       onClick={[Function]}
113       update={
114         Object {
115           "requires": Array [],
116           "status": "COMPATIBLE",
117         }
118       }
119     />
120   </div>
121 </div>
122 `;