]> source.dussan.org Git - sonarqube.git/blob
ca8fa01afab64622717d2ae0e98850557e814609
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`renders correctly: .NET 1`] = `
4 <DotNet
5   baseUrl="http://example.com"
6   component={
7     {
8       "breadcrumbs": [],
9       "key": "my-project",
10       "name": "MyProject",
11       "qualifier": "TRK",
12       "qualityGate": {
13         "isDefault": true,
14         "key": "30",
15         "name": "Sonar way",
16       },
17       "qualityProfiles": [
18         {
19           "deleted": false,
20           "key": "my-qp",
21           "language": "ts",
22           "name": "Sonar way",
23         },
24       ],
25       "tags": [],
26     }
27   }
28   token="myToken"
29 />
30 `;
31
32 exports[`renders correctly: CFamily 1`] = `
33 <ClangGCCCustom
34   baseUrl="http://example.com"
35   component={
36     {
37       "breadcrumbs": [],
38       "key": "my-project",
39       "name": "MyProject",
40       "qualifier": "TRK",
41       "qualityGate": {
42         "isDefault": true,
43         "key": "30",
44         "name": "Sonar way",
45       },
46       "qualityProfiles": [
47         {
48           "deleted": false,
49           "key": "my-qp",
50           "language": "ts",
51           "name": "Sonar way",
52         },
53       ],
54       "tags": [],
55     }
56   }
57   isLocal={true}
58   os="linux"
59   token="myToken"
60 />
61 `;
62
63 exports[`renders correctly: Empty CFamily 1`] = `""`;
64
65 exports[`renders correctly: gradle 1`] = `
66 <JavaGradle
67   baseUrl="http://example.com"
68   component={
69     {
70       "breadcrumbs": [],
71       "key": "my-project",
72       "name": "MyProject",
73       "qualifier": "TRK",
74       "qualityGate": {
75         "isDefault": true,
76         "key": "30",
77         "name": "Sonar way",
78       },
79       "qualityProfiles": [
80         {
81           "deleted": false,
82           "key": "my-qp",
83           "language": "ts",
84           "name": "Sonar way",
85         },
86       ],
87       "tags": [],
88     }
89   }
90   token="myToken"
91 />
92 `;
93
94 exports[`renders correctly: maven 1`] = `
95 <JavaMaven
96   baseUrl="http://example.com"
97   component={
98     {
99       "breadcrumbs": [],
100       "key": "my-project",
101       "name": "MyProject",
102       "qualifier": "TRK",
103       "qualityGate": {
104         "isDefault": true,
105         "key": "30",
106         "name": "Sonar way",
107       },
108       "qualityProfiles": [
109         {
110           "deleted": false,
111           "key": "my-qp",
112           "language": "ts",
113           "name": "Sonar way",
114         },
115       ],
116       "tags": [],
117     }
118   }
119   token="myToken"
120 />
121 `;
122
123 exports[`renders correctly: other 1`] = `
124 <Other
125   baseUrl="http://example.com"
126   component={
127     {
128       "breadcrumbs": [],
129       "key": "my-project",
130       "name": "MyProject",
131       "qualifier": "TRK",
132       "qualityGate": {
133         "isDefault": true,
134         "key": "30",
135         "name": "Sonar way",
136       },
137       "qualityProfiles": [
138         {
139           "deleted": false,
140           "key": "my-qp",
141           "language": "ts",
142           "name": "Sonar way",
143         },
144       ],
145       "tags": [],
146     }
147   }
148   isLocal={true}
149   os="win"
150   token="myToken"
151 />
152 `;