]> source.dussan.org Git - sonarqube.git/blob
e76b7c16838848d7fcb23d7ce43af6ff1236d098
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render AnalysisCommandCustom correctly 1`] = `""`;
4
5 exports[`should render RenderCommandForClangOrGCC 1`] = `""`;
6
7 exports[`should render RenderCommandForClangOrGCC 2`] = `""`;
8
9 exports[`should render RenderCommandForOther 1`] = `""`;
10
11 exports[`should render RenderCommandForOther 2`] = `""`;
12
13 exports[`should render for Clang or GCC 1`] = `
14 <AnalysisCommandCommon
15   buildType="make"
16   component={
17     Object {
18       "breadcrumbs": Array [],
19       "key": "my-project",
20       "name": "MyProject",
21       "organization": "foo",
22       "qualifier": "TRK",
23       "qualityGate": Object {
24         "isDefault": true,
25         "key": "30",
26         "name": "Sonar way",
27       },
28       "qualityProfiles": Array [
29         Object {
30           "deleted": false,
31           "key": "my-qp",
32           "language": "ts",
33           "name": "Sonar way",
34         },
35       ],
36       "tags": Array [],
37     }
38   }
39   currentUser={
40     Object {
41       "groups": Array [],
42       "isLoggedIn": true,
43       "login": "luke",
44       "name": "Skywalker",
45       "scmAccounts": Array [],
46     }
47   }
48   getBuildOptions={[Function]}
49   mode="CI"
50   onDone={[MockFunction]}
51   organization="org"
52   setToken={[MockFunction]}
53   token="123"
54 />
55 `;
56
57 exports[`should render for Gradle 1`] = `
58 <AnalysisCommandCommon
59   buildType="gradle"
60   component={
61     Object {
62       "breadcrumbs": Array [],
63       "key": "my-project",
64       "name": "MyProject",
65       "organization": "foo",
66       "qualifier": "TRK",
67       "qualityGate": Object {
68         "isDefault": true,
69         "key": "30",
70         "name": "Sonar way",
71       },
72       "qualityProfiles": Array [
73         Object {
74           "deleted": false,
75           "key": "my-qp",
76           "language": "ts",
77           "name": "Sonar way",
78         },
79       ],
80       "tags": Array [],
81     }
82   }
83   currentUser={
84     Object {
85       "groups": Array [],
86       "isLoggedIn": true,
87       "login": "luke",
88       "name": "Skywalker",
89       "scmAccounts": Array [],
90     }
91   }
92   getBuildOptions={[Function]}
93   mode="CI"
94   onDone={[MockFunction]}
95   organization="org"
96   setToken={[MockFunction]}
97   token="123"
98 />
99 `;
100
101 exports[`should render for Maven 1`] = `
102 <AnalysisCommandCommon
103   buildType="maven"
104   component={
105     Object {
106       "breadcrumbs": Array [],
107       "key": "my-project",
108       "name": "MyProject",
109       "organization": "foo",
110       "qualifier": "TRK",
111       "qualityGate": Object {
112         "isDefault": true,
113         "key": "30",
114         "name": "Sonar way",
115       },
116       "qualityProfiles": Array [
117         Object {
118           "deleted": false,
119           "key": "my-qp",
120           "language": "ts",
121           "name": "Sonar way",
122         },
123       ],
124       "tags": Array [],
125     }
126   }
127   currentUser={
128     Object {
129       "groups": Array [],
130       "isLoggedIn": true,
131       "login": "luke",
132       "name": "Skywalker",
133       "scmAccounts": Array [],
134     }
135   }
136   getBuildOptions={[Function]}
137   mode="CI"
138   onDone={[MockFunction]}
139   organization="org"
140   setToken={[MockFunction]}
141   token="123"
142 />
143 `;
144
145 exports[`should render for other 1`] = `
146 <AnalysisCommandCommon
147   buildType="other"
148   component={
149     Object {
150       "breadcrumbs": Array [],
151       "key": "my-project",
152       "name": "MyProject",
153       "organization": "foo",
154       "qualifier": "TRK",
155       "qualityGate": Object {
156         "isDefault": true,
157         "key": "30",
158         "name": "Sonar way",
159       },
160       "qualityProfiles": Array [
161         Object {
162           "deleted": false,
163           "key": "my-qp",
164           "language": "ts",
165           "name": "Sonar way",
166         },
167       ],
168       "tags": Array [],
169     }
170   }
171   currentUser={
172     Object {
173       "groups": Array [],
174       "isLoggedIn": true,
175       "login": "luke",
176       "name": "Skywalker",
177       "scmAccounts": Array [],
178     }
179   }
180   getBuildOptions={[Function]}
181   mode="CI"
182   onDone={[MockFunction]}
183   organization="org"
184   setToken={[MockFunction]}
185   token="123"
186 />
187 `;
188
189 exports[`should render for unsupported build systems 1`] = `
190 <AnalysisCommandCommon
191   buildType="whatever"
192   component={
193     Object {
194       "breadcrumbs": Array [],
195       "key": "my-project",
196       "name": "MyProject",
197       "organization": "foo",
198       "qualifier": "TRK",
199       "qualityGate": Object {
200         "isDefault": true,
201         "key": "30",
202         "name": "Sonar way",
203       },
204       "qualityProfiles": Array [
205         Object {
206           "deleted": false,
207           "key": "my-qp",
208           "language": "ts",
209           "name": "Sonar way",
210         },
211       ],
212       "tags": Array [],
213     }
214   }
215   currentUser={
216     Object {
217       "groups": Array [],
218       "isLoggedIn": true,
219       "login": "luke",
220       "name": "Skywalker",
221       "scmAccounts": Array [],
222     }
223   }
224   getBuildOptions={[Function]}
225   mode="CI"
226   onDone={[MockFunction]}
227   organization="org"
228   setToken={[MockFunction]}
229   token="123"
230 />
231 `;