]> source.dussan.org Git - sonarqube.git/blob
7c5167fafd649fb029980b036531a8a9dec16697
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly for "linux" 1`] = `
4 <Fragment>
5   <span
6     className="big-spacer-top display-block"
7   >
8     onboarding.tutorial.with.azure_pipelines.os
9   </span>
10   <RenderOptions
11     checked="linux"
12     label="onboarding.tutorial.with.azure_pipelines.os"
13     onCheck={[Function]}
14     optionLabelKey="onboarding.build.other.os"
15     options={
16       Array [
17         "linux",
18         "win",
19         "mac",
20       ]
21     }
22   />
23   <GithubCFamilyExampleRepositories
24     ci="azure-pipelines"
25     className="big-spacer-top abs-width-600"
26     os="linux"
27   />
28   <AlertClassicEditor />
29   <ol
30     className="list-styled big-spacer-top"
31   >
32     <li>
33       <SentenceWithHighlights
34         highlightKeys={
35           Array [
36             "pipeline",
37           ]
38         }
39         highlightPrefixKeys="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare"
40         translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build_wrapper.ccpp"
41       />
42     </li>
43     <ul
44       className="list-styled"
45     >
46       <li>
47         <SentenceWithHighlights
48           highlightKeys={
49             Array [
50               "task",
51               "inline",
52             ]
53           }
54           highlightPrefixKeys="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build_wrapper.ccpp.nix"
55           translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build_wrapper.ccpp.script"
56         />
57         <CodeSnippet
58           snippet="curl 'http://localhost/static/cpp/build-wrapper-linux-x86.zip' --output build-wrapper.zip
59 unzip build-wrapper.zip"
60         />
61       </li>
62     </ul>
63     <li>
64       <SentenceWithHighlights
65         highlightKeys={
66           Array [
67             "task",
68             "before",
69           ]
70         }
71         highlightPrefixKeys="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare"
72         translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.ccpp"
73       />
74     </li>
75     <PrepareAnalysisCommand
76       buildTool="cfamily"
77       kind={1}
78       projectKey="projectKey"
79     />
80     <li>
81       <SentenceWithHighlights
82         highlightKeys={
83           Array [
84             "task",
85           ]
86         }
87         translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build.ccpp"
88       />
89     </li>
90     <ul
91       className="list-styled"
92     >
93       <li>
94         <SentenceWithHighlights
95           highlightKeys={
96             Array [
97               "build_wrapper",
98             ]
99           }
100           translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build_script.ccpp"
101         />
102         <CodeSnippet
103           snippet="./build-wrapper-linux-x86/build-wrapper-linux-x86-64 --out-dir bw-output <your build command here>"
104         />
105         <CompilationInfo />
106       </li>
107     </ul>
108     <li>
109       <SentenceWithHighlights
110         highlightKeys={
111           Array [
112             "task",
113             "after",
114           ]
115         }
116         highlightPrefixKeys="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run"
117         translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.ccpp"
118       />
119     </li>
120     <withAppStateContext(PublishSteps) />
121   </ol>
122 </Fragment>
123 `;
124
125 exports[`should render correctly for "mac" 1`] = `
126 <Fragment>
127   <span
128     className="big-spacer-top display-block"
129   >
130     onboarding.tutorial.with.azure_pipelines.os
131   </span>
132   <RenderOptions
133     checked="mac"
134     label="onboarding.tutorial.with.azure_pipelines.os"
135     onCheck={[Function]}
136     optionLabelKey="onboarding.build.other.os"
137     options={
138       Array [
139         "linux",
140         "win",
141         "mac",
142       ]
143     }
144   />
145   <GithubCFamilyExampleRepositories
146     ci="azure-pipelines"
147     className="big-spacer-top abs-width-600"
148     os="mac"
149   />
150   <AlertClassicEditor />
151   <ol
152     className="list-styled big-spacer-top"
153   >
154     <li>
155       <SentenceWithHighlights
156         highlightKeys={
157           Array [
158             "pipeline",
159           ]
160         }
161         highlightPrefixKeys="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare"
162         translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build_wrapper.ccpp"
163       />
164     </li>
165     <ul
166       className="list-styled"
167     >
168       <li>
169         <SentenceWithHighlights
170           highlightKeys={
171             Array [
172               "task",
173               "inline",
174             ]
175           }
176           highlightPrefixKeys="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build_wrapper.ccpp.nix"
177           translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build_wrapper.ccpp.script"
178         />
179         <CodeSnippet
180           snippet="curl 'http://localhost/static/cpp/build-wrapper-macosx-x86.zip' --output build-wrapper.zip
181 unzip build-wrapper.zip"
182         />
183       </li>
184     </ul>
185     <li>
186       <SentenceWithHighlights
187         highlightKeys={
188           Array [
189             "task",
190             "before",
191           ]
192         }
193         highlightPrefixKeys="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare"
194         translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.ccpp"
195       />
196     </li>
197     <PrepareAnalysisCommand
198       buildTool="cfamily"
199       kind={1}
200       projectKey="projectKey"
201     />
202     <li>
203       <SentenceWithHighlights
204         highlightKeys={
205           Array [
206             "task",
207           ]
208         }
209         translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build.ccpp"
210       />
211     </li>
212     <ul
213       className="list-styled"
214     >
215       <li>
216         <SentenceWithHighlights
217           highlightKeys={
218             Array [
219               "build_wrapper",
220             ]
221           }
222           translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build_script.ccpp"
223         />
224         <CodeSnippet
225           snippet="./build-wrapper-macos-x86/build-wrapper-macos-x86 --out-dir bw-output <your build command here>"
226         />
227         <CompilationInfo />
228       </li>
229     </ul>
230     <li>
231       <SentenceWithHighlights
232         highlightKeys={
233           Array [
234             "task",
235             "after",
236           ]
237         }
238         highlightPrefixKeys="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run"
239         translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.ccpp"
240       />
241     </li>
242     <withAppStateContext(PublishSteps) />
243   </ol>
244 </Fragment>
245 `;
246
247 exports[`should render correctly for "win" 1`] = `
248 <Fragment>
249   <span
250     className="big-spacer-top display-block"
251   >
252     onboarding.tutorial.with.azure_pipelines.os
253   </span>
254   <RenderOptions
255     checked="win"
256     label="onboarding.tutorial.with.azure_pipelines.os"
257     onCheck={[Function]}
258     optionLabelKey="onboarding.build.other.os"
259     options={
260       Array [
261         "linux",
262         "win",
263         "mac",
264       ]
265     }
266   />
267   <GithubCFamilyExampleRepositories
268     ci="azure-pipelines"
269     className="big-spacer-top abs-width-600"
270     os="win"
271   />
272   <AlertClassicEditor />
273   <ol
274     className="list-styled big-spacer-top"
275   >
276     <li>
277       <SentenceWithHighlights
278         highlightKeys={
279           Array [
280             "pipeline",
281           ]
282         }
283         highlightPrefixKeys="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare"
284         translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build_wrapper.ccpp"
285       />
286     </li>
287     <ul
288       className="list-styled"
289     >
290       <li>
291         <SentenceWithHighlights
292           highlightKeys={
293             Array [
294               "task",
295               "inline",
296             ]
297           }
298           highlightPrefixKeys="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build_wrapper.ccpp.win"
299           translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build_wrapper.ccpp.script"
300         />
301         <CodeSnippet
302           snippet="Invoke-WebRequest -Uri 'http://localhost/static/cpp/build-wrapper-win-x86.zip' -OutFile 'build-wrapper.zip'
303 Expand-Archive -Path 'build-wrapper.zip' -DestinationPath '.'"
304         />
305       </li>
306     </ul>
307     <li>
308       <SentenceWithHighlights
309         highlightKeys={
310           Array [
311             "task",
312             "before",
313           ]
314         }
315         highlightPrefixKeys="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare"
316         translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.prepare.ccpp"
317       />
318     </li>
319     <PrepareAnalysisCommand
320       buildTool="cfamily"
321       kind={1}
322       projectKey="projectKey"
323     />
324     <li>
325       <SentenceWithHighlights
326         highlightKeys={
327           Array [
328             "task",
329           ]
330         }
331         translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build.ccpp"
332       />
333     </li>
334     <ul
335       className="list-styled"
336     >
337       <li>
338         <SentenceWithHighlights
339           highlightKeys={
340             Array [
341               "build_wrapper",
342             ]
343           }
344           translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.build_script.ccpp"
345         />
346         <CodeSnippet
347           snippet="build-wrapper-win-x86/build-wrapper-win-x86-64.exe --out-dir bw-output <your build command here>"
348         />
349         <CompilationInfo />
350       </li>
351     </ul>
352     <li>
353       <SentenceWithHighlights
354         highlightKeys={
355           Array [
356             "task",
357             "after",
358           ]
359         }
360         highlightPrefixKeys="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run"
361         translationKey="onboarding.tutorial.with.azure_pipelines.BranchAnalysis.run.ccpp"
362       />
363     </li>
364     <withAppStateContext(PublishSteps) />
365   </ol>
366 </Fragment>
367 `;