]> source.dussan.org Git - sonarqube.git/blob
1dba24aa64b980ddc9db6ec60230496dfb3ae71b
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly for .NET 1`] = `
4 <div
5   className="boxed-group-inner"
6 >
7   <ol
8     className="list-styled"
9   >
10     <li>
11       onboarding.build
12       <RenderOptions
13         checked="dotnet"
14         label="onboarding.build"
15         onCheck={[Function]}
16         optionLabelKey="onboarding.build"
17         options={
18           [
19             "maven",
20             "gradle",
21             "dotnet",
22             "other",
23           ]
24         }
25       />
26     </li>
27     <DotNet
28       baseUrl="nice_url"
29       component={
30         {
31           "breadcrumbs": [],
32           "key": "my-project",
33           "name": "MyProject",
34           "qualifier": "TRK",
35           "qualityGate": {
36             "isDefault": true,
37             "key": "30",
38             "name": "Sonar way",
39           },
40           "qualityProfiles": [
41             {
42               "deleted": false,
43               "key": "my-qp",
44               "language": "ts",
45               "name": "Sonar way",
46             },
47           ],
48           "tags": [],
49         }
50       }
51       onDone={[MockFunction]}
52     />
53   </ol>
54 </div>
55 `;
56
57 exports[`should render correctly for Gradle 1`] = `
58 <div
59   className="boxed-group-inner"
60 >
61   <ol
62     className="list-styled"
63   >
64     <li>
65       onboarding.build
66       <RenderOptions
67         checked="gradle"
68         label="onboarding.build"
69         onCheck={[Function]}
70         optionLabelKey="onboarding.build"
71         options={
72           [
73             "maven",
74             "gradle",
75             "dotnet",
76             "other",
77           ]
78         }
79       />
80     </li>
81     <Gradle
82       baseUrl="nice_url"
83       component={
84         {
85           "breadcrumbs": [],
86           "key": "my-project",
87           "name": "MyProject",
88           "qualifier": "TRK",
89           "qualityGate": {
90             "isDefault": true,
91             "key": "30",
92             "name": "Sonar way",
93           },
94           "qualityProfiles": [
95             {
96               "deleted": false,
97               "key": "my-qp",
98               "language": "ts",
99               "name": "Sonar way",
100             },
101           ],
102           "tags": [],
103         }
104       }
105       onDone={[MockFunction]}
106     />
107   </ol>
108 </div>
109 `;
110
111 exports[`should render correctly for Maven 1`] = `
112 <div
113   className="boxed-group-inner"
114 >
115   <ol
116     className="list-styled"
117   >
118     <li>
119       onboarding.build
120       <RenderOptions
121         checked="maven"
122         label="onboarding.build"
123         onCheck={[Function]}
124         optionLabelKey="onboarding.build"
125         options={
126           [
127             "maven",
128             "gradle",
129             "dotnet",
130             "other",
131           ]
132         }
133       />
134     </li>
135     <Maven
136       baseUrl="nice_url"
137       component={
138         {
139           "breadcrumbs": [],
140           "key": "my-project",
141           "name": "MyProject",
142           "qualifier": "TRK",
143           "qualityGate": {
144             "isDefault": true,
145             "key": "30",
146             "name": "Sonar way",
147           },
148           "qualityProfiles": [
149             {
150               "deleted": false,
151               "key": "my-qp",
152               "language": "ts",
153               "name": "Sonar way",
154             },
155           ],
156           "tags": [],
157         }
158       }
159       onDone={[MockFunction]}
160     />
161   </ol>
162 </div>
163 `;
164
165 exports[`should render correctly for Other 1`] = `
166 <div
167   className="boxed-group-inner"
168 >
169   <ol
170     className="list-styled"
171   >
172     <li>
173       onboarding.build
174       <RenderOptions
175         checked="other"
176         label="onboarding.build"
177         onCheck={[Function]}
178         optionLabelKey="onboarding.build"
179         options={
180           [
181             "maven",
182             "gradle",
183             "dotnet",
184             "other",
185           ]
186         }
187       />
188     </li>
189     <Other
190       baseUrl="nice_url"
191       component={
192         {
193           "breadcrumbs": [],
194           "key": "my-project",
195           "name": "MyProject",
196           "qualifier": "TRK",
197           "qualityGate": {
198             "isDefault": true,
199             "key": "30",
200             "name": "Sonar way",
201           },
202           "qualityProfiles": [
203             {
204               "deleted": false,
205               "key": "my-qp",
206               "language": "ts",
207               "name": "Sonar way",
208             },
209           ],
210           "tags": [],
211         }
212       }
213       onDone={[MockFunction]}
214     />
215   </ol>
216 </div>
217 `;
218
219 exports[`should render correctly: Step wrapper 1`] = `
220 <Step
221   finished={false}
222   onOpen={[MockFunction]}
223   open={true}
224   renderForm={[Function]}
225   stepNumber={3}
226   stepTitle="onboarding.tutorial.with.jenkins.jenkinsfile.title"
227 />
228 `;
229
230 exports[`should render correctly: Step wrapper with C 1`] = `
231 <Step
232   finished={false}
233   onOpen={[MockFunction]}
234   open={true}
235   renderForm={[Function]}
236   stepNumber={3}
237   stepTitle="onboarding.tutorial.with.jenkins.jenkinsfile.title"
238 />
239 `;
240
241 exports[`should render correctly: initial content 1`] = `
242 <div
243   className="boxed-group-inner"
244 >
245   <ol
246     className="list-styled"
247   >
248     <li>
249       onboarding.build
250       <RenderOptions
251         label="onboarding.build"
252         onCheck={[Function]}
253         optionLabelKey="onboarding.build"
254         options={
255           [
256             "maven",
257             "gradle",
258             "dotnet",
259             "cfamily",
260             "other",
261           ]
262         }
263       />
264     </li>
265   </ol>
266 </div>
267 `;