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