]> source.dussan.org Git - sonarqube.git/blob
8085026aff03908d5a532f547946c891509e0b34
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly 1`] = `
4 <ul
5   className="list-styled"
6 >
7   <li>
8     <SentenceWithHighlights
9       highlightKeys={
10         Array [
11           "endpoint",
12         ]
13       }
14       translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.endpoint"
15     />
16   </li>
17   <li>
18     <FormattedMessage
19       defaultMessage="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis"
20       id="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis"
21       values={
22         Object {
23           "run_analysis_value": <strong>
24             onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis.values.gradle
25           </strong>,
26           "section": <strong>
27             onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis.section
28           </strong>,
29         }
30       }
31     />
32   </li>
33   <li>
34     <SentenceWithHighlights
35       highlightKeys={
36         Array [
37           "section",
38           "properties",
39         ]
40       }
41       translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.advanced_properties"
42     />
43     :
44     <CodeSnippet
45       snippet="# Additional properties that will be passed to the scanner,
46 # Put one key=value per line, example:
47 # sonar.exclusions=**/*.bin
48 sonar.projectKey=projectKey"
49     />
50   </li>
51 </ul>
52 `;
53
54 exports[`should render correctly 2`] = `
55 <ul
56   className="list-styled"
57 >
58   <li>
59     <SentenceWithHighlights
60       highlightKeys={
61         Array [
62           "endpoint",
63         ]
64       }
65       translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.endpoint"
66     />
67   </li>
68   <li>
69     <FormattedMessage
70       defaultMessage="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis"
71       id="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis"
72       values={
73         Object {
74           "run_analysis_value": <strong>
75             onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis.values.maven
76           </strong>,
77           "section": <strong>
78             onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis.section
79           </strong>,
80         }
81       }
82     />
83   </li>
84   <li>
85     <SentenceWithHighlights
86       highlightKeys={
87         Array [
88           "section",
89           "properties",
90         ]
91       }
92       translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.advanced_properties"
93     />
94     :
95     <CodeSnippet
96       snippet="# Additional properties that will be passed to the scanner,
97 # Put one key=value per line, example:
98 # sonar.exclusions=**/*.bin
99 sonar.projectKey=projectKey"
100     />
101   </li>
102 </ul>
103 `;
104
105 exports[`should render correctly 3`] = `
106 <ul
107   className="list-styled"
108 >
109   <li>
110     <SentenceWithHighlights
111       highlightKeys={
112         Array [
113           "endpoint",
114         ]
115       }
116       translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.endpoint"
117     />
118   </li>
119   <li>
120     <FormattedMessage
121       defaultMessage="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis"
122       id="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis"
123       values={
124         Object {
125           "run_analysis_value": <strong>
126             onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis.values.other
127           </strong>,
128           "section": <strong>
129             onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis.section
130           </strong>,
131         }
132       }
133     />
134   </li>
135   <li>
136     <SentenceWithHighlights
137       highlightKeys={
138         Array [
139           "mode",
140         ]
141       }
142       translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.manual"
143     />
144   </li>
145   <li>
146     <FormattedMessage
147       defaultMessage="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.key.sentence"
148       id="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.key.sentence"
149       values={
150         Object {
151           "button": <ClipboardIconButton
152             copyValue="projectKey"
153           />,
154           "key": <code
155             className="rule"
156           >
157             projectKey
158           </code>,
159           "project_key": <b>
160             onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.key.sentence.project_key
161           </b>,
162         }
163       }
164     />
165   </li>
166 </ul>
167 `;
168
169 exports[`should render correctly 4`] = `
170 <ul
171   className="list-styled"
172 >
173   <li>
174     <SentenceWithHighlights
175       highlightKeys={
176         Array [
177           "endpoint",
178         ]
179       }
180       translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.endpoint"
181     />
182   </li>
183   <li>
184     <FormattedMessage
185       defaultMessage="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis"
186       id="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis"
187       values={
188         Object {
189           "run_analysis_value": <strong>
190             onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis.values.cfamily
191           </strong>,
192           "section": <strong>
193             onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis.section
194           </strong>,
195         }
196       }
197     />
198   </li>
199   <li>
200     <SentenceWithHighlights
201       highlightKeys={
202         Array [
203           "mode",
204         ]
205       }
206       translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.manual"
207     />
208   </li>
209   <li>
210     <FormattedMessage
211       defaultMessage="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.key.sentence"
212       id="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.key.sentence"
213       values={
214         Object {
215           "button": <ClipboardIconButton
216             copyValue="projectKey"
217           />,
218           "key": <code
219             className="rule"
220           >
221             projectKey
222           </code>,
223           "project_key": <b>
224             onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.key.sentence.project_key
225           </b>,
226         }
227       }
228     />
229   </li>
230   <li>
231     <FormattedMessage
232       defaultMessage="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare_additional.ccpp"
233       id="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare_additional.ccpp"
234       values={
235         Object {
236           "additional": <b>
237             onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare_additional.ccpp.additional
238           </b>,
239           "advanced": <b>
240             onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare_additional.ccpp.advanced
241           </b>,
242           "button": <ClipboardIconButton
243             copyValue="sonar.cfamily.build-wrapper-output=<output directory>"
244           />,
245           "property": <code
246             className="rule"
247           >
248             sonar.cfamily.build-wrapper-output=&lt;output directory&gt;
249           </code>,
250         }
251       }
252     />
253   </li>
254 </ul>
255 `;
256
257 exports[`should render correctly 5`] = `
258 <ul
259   className="list-styled"
260 >
261   <li>
262     <SentenceWithHighlights
263       highlightKeys={
264         Array [
265           "endpoint",
266         ]
267       }
268       translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.endpoint"
269     />
270   </li>
271   <li>
272     <FormattedMessage
273       defaultMessage="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis"
274       id="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis"
275       values={
276         Object {
277           "run_analysis_value": <strong>
278             onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis.values.dotnet
279           </strong>,
280           "section": <strong>
281             onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.run_analysis.section
282           </strong>,
283         }
284       }
285     />
286   </li>
287   <li>
288     <FormattedMessage
289       defaultMessage="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.key.sentence"
290       id="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.key.sentence"
291       values={
292         Object {
293           "button": <ClipboardIconButton
294             copyValue="projectKey"
295           />,
296           "key": <code
297             className="rule"
298           >
299             projectKey
300           </code>,
301           "project_key": <b>
302             onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.key.sentence.project_key
303           </b>,
304         }
305       }
306     />
307   </li>
308 </ul>
309 `;