]> source.dussan.org Git - sonarqube.git/blob
267f1b54a7a5ddebdad3dceac0d761a5883215fc
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly for cfamily 1`] = `
4 <DefaultProjectKey
5   component={
6     {
7       "breadcrumbs": [],
8       "key": "my-project",
9       "name": "MyProject",
10       "qualifier": "TRK",
11       "qualityGate": {
12         "isDefault": true,
13         "key": "30",
14         "name": "Sonar way",
15       },
16       "qualityProfiles": [
17         {
18           "deleted": false,
19           "key": "my-qp",
20           "language": "ts",
21           "name": "Sonar way",
22         },
23       ],
24       "tags": [],
25     }
26   }
27 />
28 `;
29
30 exports[`should render correctly for dotnet 1`] = `""`;
31
32 exports[`should render correctly for gradle 1`] = `
33 <li
34   className="abs-width-600"
35 >
36   <FormattedMessage
37     defaultMessage="onboarding.tutorial.with.yaml.gradle"
38     id="onboarding.tutorial.with.yaml.gradle"
39     values={
40       {
41         "gradle": <React.Fragment>
42           <code
43             className="rule"
44           >
45             build.gradle
46           </code>
47           <ClipboardIconButton
48             copyValue="build.gradle"
49           />
50         </React.Fragment>,
51         "sq": <code
52           className="rule"
53         >
54           org.sonarqube
55         </code>,
56       }
57     }
58   />
59   <CodeSnippet
60     snippet="plugins {
61   id "org.sonarqube" version "3.5.0.2730"
62 }
63
64 sonar {
65   properties {
66     property "sonar.projectKey", "my-project"
67   }
68 }"
69   />
70 </li>
71 `;
72
73 exports[`should render correctly for other 1`] = `
74 <DefaultProjectKey
75   component={
76     {
77       "breadcrumbs": [],
78       "key": "my-project",
79       "name": "MyProject",
80       "qualifier": "TRK",
81       "qualityGate": {
82         "isDefault": true,
83         "key": "30",
84         "name": "Sonar way",
85       },
86       "qualityProfiles": [
87         {
88           "deleted": false,
89           "key": "my-qp",
90           "language": "ts",
91           "name": "Sonar way",
92         },
93       ],
94       "tags": [],
95     }
96   }
97 />
98 `;