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