]> source.dussan.org Git - sonarqube.git/blob
f4662e442ec84ccb4333dbdfdc8edca4790dedac
[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     property "sonar.projectName", "MyProject"
68   }
69 }"
70   />
71 </li>
72 `;
73
74 exports[`should render correctly for other 1`] = `
75 <DefaultProjectKey
76   component={
77     {
78       "breadcrumbs": [],
79       "key": "my-project",
80       "name": "MyProject",
81       "qualifier": "TRK",
82       "qualityGate": {
83         "isDefault": true,
84         "key": "30",
85         "name": "Sonar way",
86       },
87       "qualityProfiles": [
88         {
89           "deleted": false,
90           "key": "my-qp",
91           "language": "ts",
92           "name": "Sonar way",
93         },
94       ],
95       "tags": [],
96     }
97   }
98 />
99 `;