]> source.dussan.org Git - sonarqube.git/blob
5b11bd567dbc1e2fc2011f2c4b77571d7fc6dd41
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`renders correctly: linux 1`] = `
4 <div>
5   <div>
6     <h4
7       className="spacer-bottom"
8     >
9       onboarding.analysis.sq_scanner.header.linux
10     </h4>
11     <p
12       className="spacer-bottom markdown"
13     >
14       <FormattedMessage
15         defaultMessage="onboarding.analysis.sq_scanner.text"
16         id="onboarding.analysis.sq_scanner.text"
17         values={
18           Object {
19             "dir": <code>
20               bin
21             </code>,
22             "env_var": <code>
23               PATH
24             </code>,
25           }
26         }
27       />
28     </p>
29     <p>
30       <Link
31         className="button"
32         onlyActiveOnIndex={false}
33         style={Object {}}
34         target="_blank"
35         to="/documentation/analysis/scan/sonarscanner/"
36       >
37         download_verb
38       </Link>
39     </p>
40   </div>
41   <h4
42     className="huge-spacer-top spacer-bottom"
43   >
44     onboarding.analysis.sq_scanner.execute
45   </h4>
46   <InstanceMessage
47     message="onboarding.analysis.sq_scanner.execute.text"
48   >
49     <Component />
50   </InstanceMessage>
51   <CodeSnippet
52     isOneLine={false}
53     snippet={
54       Array [
55         "sonar-scanner",
56         "-Dsonar.projectKey=projectKey",
57         "-Dsonar.sources=.",
58         "-Dsonar.host.url=host",
59         "-Dsonar.login=token",
60       ]
61     }
62   />
63   <p
64     className="big-spacer-top markdown"
65   >
66     <FormattedMessage
67       defaultMessage="onboarding.analysis.sq_scanner.docs"
68       id="onboarding.analysis.sq_scanner.docs"
69       values={
70         Object {
71           "link": <Link
72             onlyActiveOnIndex={false}
73             style={Object {}}
74             target="_blank"
75             to="/documentation/analysis/scan/sonarscanner/"
76           >
77             onboarding.analysis.sq_scanner.docs_link
78           </Link>,
79         }
80       }
81     />
82   </p>
83 </div>
84 `;
85
86 exports[`renders correctly: macos 1`] = `
87 <div>
88   <div>
89     <h4
90       className="spacer-bottom"
91     >
92       onboarding.analysis.sq_scanner.header.mac
93     </h4>
94     <p
95       className="spacer-bottom markdown"
96     >
97       <FormattedMessage
98         defaultMessage="onboarding.analysis.sq_scanner.text"
99         id="onboarding.analysis.sq_scanner.text"
100         values={
101           Object {
102             "dir": <code>
103               bin
104             </code>,
105             "env_var": <code>
106               PATH
107             </code>,
108           }
109         }
110       />
111     </p>
112     <p>
113       <Link
114         className="button"
115         onlyActiveOnIndex={false}
116         style={Object {}}
117         target="_blank"
118         to="/documentation/analysis/scan/sonarscanner/"
119       >
120         download_verb
121       </Link>
122     </p>
123   </div>
124   <h4
125     className="huge-spacer-top spacer-bottom"
126   >
127     onboarding.analysis.sq_scanner.execute
128   </h4>
129   <InstanceMessage
130     message="onboarding.analysis.sq_scanner.execute.text"
131   >
132     <Component />
133   </InstanceMessage>
134   <CodeSnippet
135     isOneLine={false}
136     snippet={
137       Array [
138         "sonar-scanner",
139         "-Dsonar.projectKey=projectKey",
140         "-Dsonar.sources=.",
141         "-Dsonar.host.url=host",
142         "-Dsonar.login=token",
143       ]
144     }
145   />
146   <p
147     className="big-spacer-top markdown"
148   >
149     <FormattedMessage
150       defaultMessage="onboarding.analysis.sq_scanner.docs"
151       id="onboarding.analysis.sq_scanner.docs"
152       values={
153         Object {
154           "link": <Link
155             onlyActiveOnIndex={false}
156             style={Object {}}
157             target="_blank"
158             to="/documentation/analysis/scan/sonarscanner/"
159           >
160             onboarding.analysis.sq_scanner.docs_link
161           </Link>,
162         }
163       }
164     />
165   </p>
166 </div>
167 `;
168
169 exports[`renders correctly: windows 1`] = `
170 <div>
171   <div>
172     <h4
173       className="spacer-bottom"
174     >
175       onboarding.analysis.sq_scanner.header.win
176     </h4>
177     <p
178       className="spacer-bottom markdown"
179     >
180       <FormattedMessage
181         defaultMessage="onboarding.analysis.sq_scanner.text"
182         id="onboarding.analysis.sq_scanner.text"
183         values={
184           Object {
185             "dir": <code>
186               bin
187             </code>,
188             "env_var": <code>
189               %PATH%
190             </code>,
191           }
192         }
193       />
194     </p>
195     <p>
196       <Link
197         className="button"
198         onlyActiveOnIndex={false}
199         style={Object {}}
200         target="_blank"
201         to="/documentation/analysis/scan/sonarscanner/"
202       >
203         download_verb
204       </Link>
205     </p>
206   </div>
207   <h4
208     className="huge-spacer-top spacer-bottom"
209   >
210     onboarding.analysis.sq_scanner.execute
211   </h4>
212   <InstanceMessage
213     message="onboarding.analysis.sq_scanner.execute.text"
214   >
215     <Component />
216   </InstanceMessage>
217   <CodeSnippet
218     isOneLine={true}
219     snippet={
220       Array [
221         "sonar-scanner.bat",
222         "-D\\"sonar.projectKey=projectKey\\"",
223         "-D\\"sonar.sources=.\\"",
224         "-D\\"sonar.host.url=host\\"",
225         "-D\\"sonar.login=token\\"",
226       ]
227     }
228   />
229   <p
230     className="big-spacer-top markdown"
231   >
232     <FormattedMessage
233       defaultMessage="onboarding.analysis.sq_scanner.docs"
234       id="onboarding.analysis.sq_scanner.docs"
235       values={
236         Object {
237           "link": <Link
238             onlyActiveOnIndex={false}
239             style={Object {}}
240             target="_blank"
241             to="/documentation/analysis/scan/sonarscanner/"
242           >
243             onboarding.analysis.sq_scanner.docs_link
244           </Link>,
245         }
246       }
247     />
248   </p>
249 </div>
250 `;