]> source.dussan.org Git - sonarqube.git/blob
5b50e97c353eb5f38afbf3526e29ae4e29a529a1
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly for "linux" 1`] = `
4 <div>
5   <h4
6     className="big-spacer-top spacer-bottom"
7   >
8     onboarding.analysis.sq_scanner.execute
9   </h4>
10   <InstanceMessage
11     message="onboarding.analysis.sq_scanner.execute.text"
12   >
13     <Component />
14   </InstanceMessage>
15   <CodeSnippet
16     isOneLine={false}
17     snippet={
18       Array [
19         "sonar-scanner",
20         "-Dsonar.projectKey=projectKey",
21         "-Dsonar.sources=.",
22         undefined,
23         "-Dsonar.host.url=host",
24         "-Dsonar.login=token",
25       ]
26     }
27   />
28   <p
29     className="big-spacer-top markdown"
30   >
31     <FormattedMessage
32       defaultMessage="onboarding.analysis.sq_scanner.docs"
33       id="onboarding.analysis.sq_scanner.docs"
34       values={
35         Object {
36           "link": <Link
37             target="_blank"
38             to="/documentation/analysis/scan/sonarscanner/"
39           >
40             onboarding.analysis.sq_scanner.docs_link
41           </Link>,
42         }
43       }
44     />
45   </p>
46   <DoneNextSteps
47     component={
48       Object {
49         "breadcrumbs": Array [],
50         "key": "projectKey",
51         "name": "MyProject",
52         "qualifier": "TRK",
53         "qualityGate": Object {
54           "isDefault": true,
55           "key": "30",
56           "name": "Sonar way",
57         },
58         "qualityProfiles": Array [
59           Object {
60             "deleted": false,
61             "key": "my-qp",
62             "language": "ts",
63             "name": "Sonar way",
64           },
65         ],
66         "tags": Array [],
67       }
68     }
69   />
70 </div>
71 `;
72
73 exports[`should render correctly for "mac" 1`] = `
74 <div>
75   <h4
76     className="big-spacer-top spacer-bottom"
77   >
78     onboarding.analysis.sq_scanner.execute
79   </h4>
80   <InstanceMessage
81     message="onboarding.analysis.sq_scanner.execute.text"
82   >
83     <Component />
84   </InstanceMessage>
85   <CodeSnippet
86     isOneLine={false}
87     snippet={
88       Array [
89         "sonar-scanner",
90         "-Dsonar.projectKey=projectKey",
91         "-Dsonar.sources=.",
92         undefined,
93         "-Dsonar.host.url=host",
94         "-Dsonar.login=token",
95       ]
96     }
97   />
98   <p
99     className="big-spacer-top markdown"
100   >
101     <FormattedMessage
102       defaultMessage="onboarding.analysis.sq_scanner.docs"
103       id="onboarding.analysis.sq_scanner.docs"
104       values={
105         Object {
106           "link": <Link
107             target="_blank"
108             to="/documentation/analysis/scan/sonarscanner/"
109           >
110             onboarding.analysis.sq_scanner.docs_link
111           </Link>,
112         }
113       }
114     />
115   </p>
116   <DoneNextSteps
117     component={
118       Object {
119         "breadcrumbs": Array [],
120         "key": "projectKey",
121         "name": "MyProject",
122         "qualifier": "TRK",
123         "qualityGate": Object {
124           "isDefault": true,
125           "key": "30",
126           "name": "Sonar way",
127         },
128         "qualityProfiles": Array [
129           Object {
130             "deleted": false,
131             "key": "my-qp",
132             "language": "ts",
133             "name": "Sonar way",
134           },
135         ],
136         "tags": Array [],
137       }
138     }
139   />
140 </div>
141 `;
142
143 exports[`should render correctly for "win" 1`] = `
144 <div>
145   <h4
146     className="big-spacer-top spacer-bottom"
147   >
148     onboarding.analysis.sq_scanner.execute
149   </h4>
150   <InstanceMessage
151     message="onboarding.analysis.sq_scanner.execute.text"
152   >
153     <Component />
154   </InstanceMessage>
155   <CodeSnippet
156     isOneLine={true}
157     snippet={
158       Array [
159         "sonar-scanner.bat",
160         "-D\\"sonar.projectKey=projectKey\\"",
161         "-D\\"sonar.sources=.\\"",
162         undefined,
163         "-D\\"sonar.host.url=host\\"",
164         "-D\\"sonar.login=token\\"",
165       ]
166     }
167   />
168   <p
169     className="big-spacer-top markdown"
170   >
171     <FormattedMessage
172       defaultMessage="onboarding.analysis.sq_scanner.docs"
173       id="onboarding.analysis.sq_scanner.docs"
174       values={
175         Object {
176           "link": <Link
177             target="_blank"
178             to="/documentation/analysis/scan/sonarscanner/"
179           >
180             onboarding.analysis.sq_scanner.docs_link
181           </Link>,
182         }
183       }
184     />
185   </p>
186   <DoneNextSteps
187     component={
188       Object {
189         "breadcrumbs": Array [],
190         "key": "projectKey",
191         "name": "MyProject",
192         "qualifier": "TRK",
193         "qualityGate": Object {
194           "isDefault": true,
195           "key": "30",
196           "name": "Sonar way",
197         },
198         "qualityProfiles": Array [
199           Object {
200             "deleted": false,
201             "key": "my-qp",
202             "language": "ts",
203             "name": "Sonar way",
204           },
205         ],
206         "tags": Array [],
207       }
208     }
209   />
210 </div>
211 `;
212
213 exports[`should render correctly for cfamily 1`] = `
214 <div>
215   <h4
216     className="big-spacer-top spacer-bottom"
217   >
218     onboarding.analysis.sq_scanner.execute
219   </h4>
220   <InstanceMessage
221     message="onboarding.analysis.sq_scanner.execute.text"
222   >
223     <Component />
224   </InstanceMessage>
225   <CodeSnippet
226     isOneLine={false}
227     snippet={
228       Array [
229         "sonar-scanner",
230         "-Dsonar.projectKey=projectKey",
231         "-Dsonar.sources=.",
232         "-Dsonar.cfamily.build-wrapper-output=bw-output",
233         "-Dsonar.host.url=host",
234         "-Dsonar.login=token",
235       ]
236     }
237   />
238   <p
239     className="big-spacer-top markdown"
240   >
241     <FormattedMessage
242       defaultMessage="onboarding.analysis.sq_scanner.docs"
243       id="onboarding.analysis.sq_scanner.docs"
244       values={
245         Object {
246           "link": <Link
247             target="_blank"
248             to="/documentation/analysis/scan/sonarscanner/"
249           >
250             onboarding.analysis.sq_scanner.docs_link
251           </Link>,
252         }
253       }
254     />
255   </p>
256   <DoneNextSteps
257     component={
258       Object {
259         "breadcrumbs": Array [],
260         "key": "projectKey",
261         "name": "MyProject",
262         "qualifier": "TRK",
263         "qualityGate": Object {
264           "isDefault": true,
265           "key": "30",
266           "name": "Sonar way",
267         },
268         "qualityProfiles": Array [
269           Object {
270             "deleted": false,
271             "key": "my-qp",
272             "language": "ts",
273             "name": "Sonar way",
274           },
275         ],
276         "tags": Array [],
277       }
278     }
279   />
280 </div>
281 `;
282
283 exports[`should render correctly for remote execution 1`] = `
284 <div>
285   <h4
286     className="big-spacer-top spacer-bottom"
287   >
288     onboarding.analysis.sq_scanner.execute
289   </h4>
290   <InstanceMessage
291     message="onboarding.analysis.sq_scanner.execute.text"
292   >
293     <Component />
294   </InstanceMessage>
295   <CodeSnippet
296     isOneLine={false}
297     snippet={
298       Array [
299         "sonar-scanner",
300         "-Dsonar.projectKey=projectKey",
301         "-Dsonar.sources=.",
302         undefined,
303         "-Dsonar.host.url=host",
304         undefined,
305       ]
306     }
307   />
308   <p
309     className="big-spacer-top markdown"
310   >
311     <FormattedMessage
312       defaultMessage="onboarding.analysis.sq_scanner.docs"
313       id="onboarding.analysis.sq_scanner.docs"
314       values={
315         Object {
316           "link": <Link
317             target="_blank"
318             to="/documentation/analysis/scan/sonarscanner/"
319           >
320             onboarding.analysis.sq_scanner.docs_link
321           </Link>,
322         }
323       }
324     />
325   </p>
326   <DoneNextSteps
327     component={
328       Object {
329         "breadcrumbs": Array [],
330         "key": "projectKey",
331         "name": "MyProject",
332         "qualifier": "TRK",
333         "qualityGate": Object {
334           "isDefault": true,
335           "key": "30",
336           "name": "Sonar way",
337         },
338         "qualityProfiles": Array [
339           Object {
340             "deleted": false,
341             "key": "my-qp",
342             "language": "ts",
343             "name": "Sonar way",
344           },
345         ],
346         "tags": Array [],
347       }
348     }
349   />
350 </div>
351 `;