]> source.dussan.org Git - sonarqube.git/blob
7f2f1394a90d1b1093f9dc3c33a66c0a55b06a1d
[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         name="buildtool"
15         onCheck={[Function]}
16         optionLabelKey="onboarding.build"
17         options={
18           Array [
19             "maven",
20             "gradle",
21             "cfamily",
22             "dotnet",
23             "other",
24           ]
25         }
26       />
27     </li>
28     <DotNet
29       component={
30         Object {
31           "breadcrumbs": Array [],
32           "key": "my-project",
33           "name": "MyProject",
34           "qualifier": "TRK",
35           "qualityGate": Object {
36             "isDefault": true,
37             "key": "30",
38             "name": "Sonar way",
39           },
40           "qualityProfiles": Array [
41             Object {
42               "deleted": false,
43               "key": "my-qp",
44               "language": "ts",
45               "name": "Sonar way",
46             },
47           ],
48           "tags": Array [],
49         }
50       }
51     />
52   </ol>
53   <React.Fragment>
54     <hr
55       className="huge-spacer-top huge-spacer-bottom"
56     />
57     <div
58       className="abs-width-600"
59     >
60       <p
61         className="big-spacer-bottom"
62       >
63         <SentenceWithHighlights
64           highlightKeys={
65             Array [
66               "all_set",
67             ]
68           }
69           translationKey="onboarding.tutorial.with.jenkins.all_set"
70         />
71       </p>
72       <div
73         className="display-flex-row big-spacer-bottom"
74       >
75         <div>
76           <img
77             alt=""
78             className="big-spacer-right"
79             src="/images/tutorials/commit.svg"
80             width={30}
81           />
82         </div>
83         <div>
84           <p
85             className="little-spacer-bottom"
86           >
87             <strong>
88               onboarding.tutorial.with.jenkins.commit
89             </strong>
90           </p>
91           <p>
92             onboarding.tutorial.with.jenkins.commit.why
93           </p>
94         </div>
95       </div>
96       <div
97         className="display-flex-row huge-spacer-bottom"
98       >
99         <div>
100           <img
101             alt=""
102             className="big-spacer-right"
103             src="/images/tutorials/refresh.svg"
104             width={30}
105           />
106         </div>
107         <div>
108           <p
109             className="little-spacer-bottom"
110           >
111             <strong>
112               onboarding.tutorial.with.jenkins.refresh
113             </strong>
114           </p>
115           <p>
116             onboarding.tutorial.with.jenkins.refresh.why
117           </p>
118         </div>
119       </div>
120     </div>
121   </React.Fragment>
122 </div>
123 `;
124
125 exports[`should render correctly for Gradle 1`] = `
126 <div
127   className="boxed-group-inner"
128 >
129   <ol
130     className="list-styled"
131   >
132     <li>
133       onboarding.build
134       <RenderOptions
135         checked="gradle"
136         name="buildtool"
137         onCheck={[Function]}
138         optionLabelKey="onboarding.build"
139         options={
140           Array [
141             "maven",
142             "gradle",
143             "cfamily",
144             "dotnet",
145             "other",
146           ]
147         }
148       />
149     </li>
150     <Gradle
151       component={
152         Object {
153           "breadcrumbs": Array [],
154           "key": "my-project",
155           "name": "MyProject",
156           "qualifier": "TRK",
157           "qualityGate": Object {
158             "isDefault": true,
159             "key": "30",
160             "name": "Sonar way",
161           },
162           "qualityProfiles": Array [
163             Object {
164               "deleted": false,
165               "key": "my-qp",
166               "language": "ts",
167               "name": "Sonar way",
168             },
169           ],
170           "tags": Array [],
171         }
172       }
173     />
174   </ol>
175   <React.Fragment>
176     <hr
177       className="huge-spacer-top huge-spacer-bottom"
178     />
179     <div
180       className="abs-width-600"
181     >
182       <p
183         className="big-spacer-bottom"
184       >
185         <SentenceWithHighlights
186           highlightKeys={
187             Array [
188               "all_set",
189             ]
190           }
191           translationKey="onboarding.tutorial.with.jenkins.all_set"
192         />
193       </p>
194       <div
195         className="display-flex-row big-spacer-bottom"
196       >
197         <div>
198           <img
199             alt=""
200             className="big-spacer-right"
201             src="/images/tutorials/commit.svg"
202             width={30}
203           />
204         </div>
205         <div>
206           <p
207             className="little-spacer-bottom"
208           >
209             <strong>
210               onboarding.tutorial.with.jenkins.commit
211             </strong>
212           </p>
213           <p>
214             onboarding.tutorial.with.jenkins.commit.why
215           </p>
216         </div>
217       </div>
218       <div
219         className="display-flex-row huge-spacer-bottom"
220       >
221         <div>
222           <img
223             alt=""
224             className="big-spacer-right"
225             src="/images/tutorials/refresh.svg"
226             width={30}
227           />
228         </div>
229         <div>
230           <p
231             className="little-spacer-bottom"
232           >
233             <strong>
234               onboarding.tutorial.with.jenkins.refresh
235             </strong>
236           </p>
237           <p>
238             onboarding.tutorial.with.jenkins.refresh.why
239           </p>
240         </div>
241       </div>
242     </div>
243   </React.Fragment>
244 </div>
245 `;
246
247 exports[`should render correctly for Maven 1`] = `
248 <div
249   className="boxed-group-inner"
250 >
251   <ol
252     className="list-styled"
253   >
254     <li>
255       onboarding.build
256       <RenderOptions
257         checked="maven"
258         name="buildtool"
259         onCheck={[Function]}
260         optionLabelKey="onboarding.build"
261         options={
262           Array [
263             "maven",
264             "gradle",
265             "cfamily",
266             "dotnet",
267             "other",
268           ]
269         }
270       />
271     </li>
272     <Maven
273       component={
274         Object {
275           "breadcrumbs": Array [],
276           "key": "my-project",
277           "name": "MyProject",
278           "qualifier": "TRK",
279           "qualityGate": Object {
280             "isDefault": true,
281             "key": "30",
282             "name": "Sonar way",
283           },
284           "qualityProfiles": Array [
285             Object {
286               "deleted": false,
287               "key": "my-qp",
288               "language": "ts",
289               "name": "Sonar way",
290             },
291           ],
292           "tags": Array [],
293         }
294       }
295     />
296   </ol>
297   <React.Fragment>
298     <hr
299       className="huge-spacer-top huge-spacer-bottom"
300     />
301     <div
302       className="abs-width-600"
303     >
304       <p
305         className="big-spacer-bottom"
306       >
307         <SentenceWithHighlights
308           highlightKeys={
309             Array [
310               "all_set",
311             ]
312           }
313           translationKey="onboarding.tutorial.with.jenkins.all_set"
314         />
315       </p>
316       <div
317         className="display-flex-row big-spacer-bottom"
318       >
319         <div>
320           <img
321             alt=""
322             className="big-spacer-right"
323             src="/images/tutorials/commit.svg"
324             width={30}
325           />
326         </div>
327         <div>
328           <p
329             className="little-spacer-bottom"
330           >
331             <strong>
332               onboarding.tutorial.with.jenkins.commit
333             </strong>
334           </p>
335           <p>
336             onboarding.tutorial.with.jenkins.commit.why
337           </p>
338         </div>
339       </div>
340       <div
341         className="display-flex-row huge-spacer-bottom"
342       >
343         <div>
344           <img
345             alt=""
346             className="big-spacer-right"
347             src="/images/tutorials/refresh.svg"
348             width={30}
349           />
350         </div>
351         <div>
352           <p
353             className="little-spacer-bottom"
354           >
355             <strong>
356               onboarding.tutorial.with.jenkins.refresh
357             </strong>
358           </p>
359           <p>
360             onboarding.tutorial.with.jenkins.refresh.why
361           </p>
362         </div>
363       </div>
364     </div>
365   </React.Fragment>
366 </div>
367 `;
368
369 exports[`should render correctly for Other 1`] = `
370 <div
371   className="boxed-group-inner"
372 >
373   <ol
374     className="list-styled"
375   >
376     <li>
377       onboarding.build
378       <RenderOptions
379         checked="other"
380         name="buildtool"
381         onCheck={[Function]}
382         optionLabelKey="onboarding.build"
383         options={
384           Array [
385             "maven",
386             "gradle",
387             "cfamily",
388             "dotnet",
389             "other",
390           ]
391         }
392       />
393     </li>
394     <Other
395       component={
396         Object {
397           "breadcrumbs": Array [],
398           "key": "my-project",
399           "name": "MyProject",
400           "qualifier": "TRK",
401           "qualityGate": Object {
402             "isDefault": true,
403             "key": "30",
404             "name": "Sonar way",
405           },
406           "qualityProfiles": Array [
407             Object {
408               "deleted": false,
409               "key": "my-qp",
410               "language": "ts",
411               "name": "Sonar way",
412             },
413           ],
414           "tags": Array [],
415         }
416       }
417     />
418   </ol>
419   <React.Fragment>
420     <hr
421       className="huge-spacer-top huge-spacer-bottom"
422     />
423     <div
424       className="abs-width-600"
425     >
426       <p
427         className="big-spacer-bottom"
428       >
429         <SentenceWithHighlights
430           highlightKeys={
431             Array [
432               "all_set",
433             ]
434           }
435           translationKey="onboarding.tutorial.with.jenkins.all_set"
436         />
437       </p>
438       <div
439         className="display-flex-row big-spacer-bottom"
440       >
441         <div>
442           <img
443             alt=""
444             className="big-spacer-right"
445             src="/images/tutorials/commit.svg"
446             width={30}
447           />
448         </div>
449         <div>
450           <p
451             className="little-spacer-bottom"
452           >
453             <strong>
454               onboarding.tutorial.with.jenkins.commit
455             </strong>
456           </p>
457           <p>
458             onboarding.tutorial.with.jenkins.commit.why
459           </p>
460         </div>
461       </div>
462       <div
463         className="display-flex-row huge-spacer-bottom"
464       >
465         <div>
466           <img
467             alt=""
468             className="big-spacer-right"
469             src="/images/tutorials/refresh.svg"
470             width={30}
471           />
472         </div>
473         <div>
474           <p
475             className="little-spacer-bottom"
476           >
477             <strong>
478               onboarding.tutorial.with.jenkins.refresh
479             </strong>
480           </p>
481           <p>
482             onboarding.tutorial.with.jenkins.refresh.why
483           </p>
484         </div>
485       </div>
486     </div>
487   </React.Fragment>
488 </div>
489 `;
490
491 exports[`should render correctly with no branches 1`] = `
492 <div
493   className="boxed-group-inner"
494 >
495   <ol
496     className="list-styled"
497   >
498     <li>
499       onboarding.build
500       <RenderOptions
501         checked="gradle"
502         name="buildtool"
503         onCheck={[Function]}
504         optionLabelKey="onboarding.build"
505         options={
506           Array [
507             "maven",
508             "gradle",
509             "cfamily",
510             "dotnet",
511             "other",
512           ]
513         }
514       />
515     </li>
516     <Gradle
517       component={
518         Object {
519           "breadcrumbs": Array [],
520           "key": "my-project",
521           "name": "MyProject",
522           "qualifier": "TRK",
523           "qualityGate": Object {
524             "isDefault": true,
525             "key": "30",
526             "name": "Sonar way",
527           },
528           "qualityProfiles": Array [
529             Object {
530               "deleted": false,
531               "key": "my-qp",
532               "language": "ts",
533               "name": "Sonar way",
534             },
535           ],
536           "tags": Array [],
537         }
538       }
539     />
540   </ol>
541   <React.Fragment>
542     <hr
543       className="huge-spacer-top huge-spacer-bottom"
544     />
545     <div
546       className="abs-width-600"
547     >
548       <p
549         className="big-spacer-bottom"
550       >
551         <SentenceWithHighlights
552           highlightKeys={
553             Array [
554               "all_set",
555             ]
556           }
557           translationKey="onboarding.tutorial.with.jenkins.all_set"
558         />
559       </p>
560       <div
561         className="display-flex-row big-spacer-bottom"
562       >
563         <div>
564           <img
565             alt=""
566             className="big-spacer-right"
567             src="/images/tutorials/commit.svg"
568             width={30}
569           />
570         </div>
571         <div>
572           <p
573             className="little-spacer-bottom"
574           >
575             <strong>
576               onboarding.tutorial.with.jenkins.commit
577             </strong>
578           </p>
579           <p>
580             onboarding.tutorial.with.jenkins.commit.why.no_branches
581           </p>
582         </div>
583       </div>
584       <div
585         className="display-flex-row huge-spacer-bottom"
586       >
587         <div>
588           <img
589             alt=""
590             className="big-spacer-right"
591             src="/images/tutorials/refresh.svg"
592             width={30}
593           />
594         </div>
595         <div>
596           <p
597             className="little-spacer-bottom"
598           >
599             <strong>
600               onboarding.tutorial.with.jenkins.refresh
601             </strong>
602           </p>
603           <p>
604             onboarding.tutorial.with.jenkins.refresh.why
605           </p>
606         </div>
607       </div>
608     </div>
609   </React.Fragment>
610 </div>
611 `;
612
613 exports[`should render correctly: Step wrapper 1`] = `
614 <Step
615   finished={false}
616   open={true}
617   renderForm={[Function]}
618   stepNumber={3}
619   stepTitle="onboarding.tutorial.with.jenkins.jenkinsfile.title"
620 />
621 `;
622
623 exports[`should render correctly: initial content 1`] = `
624 <div
625   className="boxed-group-inner"
626 >
627   <ol
628     className="list-styled"
629   >
630     <li>
631       onboarding.build
632       <RenderOptions
633         name="buildtool"
634         onCheck={[Function]}
635         optionLabelKey="onboarding.build"
636         options={
637           Array [
638             "maven",
639             "gradle",
640             "cfamily",
641             "dotnet",
642             "other",
643           ]
644         }
645       />
646     </li>
647   </ol>
648 </div>
649 `;