]> source.dussan.org Git - sonarqube.git/blob
7a765aa9112745036b6a2b87adca07e312edbdc5
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`renders correctly 1`] = `
4 <div>
5   <SQScanner
6     os="win"
7   />
8   <BuildWrapper
9     className="huge-spacer-top"
10     os="win"
11   />
12   <h4
13     className="huge-spacer-top spacer-bottom"
14   >
15     onboarding.analysis.sq_scanner.execute
16   </h4>
17   <InstanceMessage
18     message="onboarding.analysis.sq_scanner.execute.text"
19   >
20     <Component />
21   </InstanceMessage>
22   <CodeSnippet
23     snippet="build-wrapper-win-x86-64.exe --out-dir bw-output make clean all"
24   />
25   <CodeSnippet
26     isOneLine={true}
27     snippet={
28       Array [
29         "sonar-scanner.bat",
30         "-D\\"sonar.projectKey=projectKey\\"",
31         undefined,
32         "-D\\"sonar.sources=.\\"",
33         "-D\\"sonar.cfamily.build-wrapper-output=bw-output\\"",
34         "-D\\"sonar.host.url=host\\"",
35         "-D\\"sonar.login=token\\"",
36       ]
37     }
38   />
39   <p
40     className="big-spacer-top markdown"
41     dangerouslySetInnerHTML={
42       Object {
43         "__html": "onboarding.analysis.sq_scanner.docs",
44       }
45     }
46   />
47 </div>
48 `;
49
50 exports[`renders correctly 2`] = `
51 <div>
52   <SQScanner
53     os="linux"
54   />
55   <BuildWrapper
56     className="huge-spacer-top"
57     os="linux"
58   />
59   <h4
60     className="huge-spacer-top spacer-bottom"
61   >
62     onboarding.analysis.sq_scanner.execute
63   </h4>
64   <InstanceMessage
65     message="onboarding.analysis.sq_scanner.execute.text"
66   >
67     <Component />
68   </InstanceMessage>
69   <CodeSnippet
70     snippet="build-wrapper-linux-x86-64 --out-dir bw-output make clean all"
71   />
72   <CodeSnippet
73     isOneLine={false}
74     snippet={
75       Array [
76         "sonar-scanner",
77         "-Dsonar.projectKey=projectKey",
78         undefined,
79         "-Dsonar.sources=.",
80         "-Dsonar.cfamily.build-wrapper-output=bw-output",
81         "-Dsonar.host.url=host",
82         "-Dsonar.login=token",
83       ]
84     }
85   />
86   <p
87     className="big-spacer-top markdown"
88     dangerouslySetInnerHTML={
89       Object {
90         "__html": "onboarding.analysis.sq_scanner.docs",
91       }
92     }
93   />
94 </div>
95 `;
96
97 exports[`renders correctly 3`] = `
98 <div>
99   <SQScanner
100     os="linux"
101   />
102   <BuildWrapper
103     className="huge-spacer-top"
104     os="linux"
105   />
106   <h4
107     className="huge-spacer-top spacer-bottom"
108   >
109     onboarding.analysis.sq_scanner.execute
110   </h4>
111   <InstanceMessage
112     message="onboarding.analysis.sq_scanner.execute.text"
113   >
114     <Component />
115   </InstanceMessage>
116   <CodeSnippet
117     isOneLine={true}
118     snippet="build-wrapper-linux-x86-64 --out-dir bw-output make clean all"
119   />
120   <CodeSnippet
121     isOneLine={false}
122     snippet={
123       Array [
124         "sonar-scanner",
125         "-Dsonar.projectKey=projectKey",
126         "-Dsonar.organization=organization",
127         "-Dsonar.sources=.",
128         "-Dsonar.cfamily.build-wrapper-output=bw-output",
129         "-Dsonar.host.url=host",
130         "-Dsonar.login=token",
131       ]
132     }
133   />
134   <p
135     className="big-spacer-top markdown"
136     dangerouslySetInnerHTML={
137       Object {
138         "__html": "onboarding.analysis.sq_scanner.docs",
139       }
140     }
141   />
142 </div>
143 `;