]> source.dussan.org Git - sonarqube.git/blob
865884b4d5b7b5a27e27ea3bba9596ec7be670d1
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render correctly for cfamily 1`] = `
4 <DefaultProjectKey
5   component={
6     Object {
7       "breadcrumbs": Array [],
8       "key": "my-project",
9       "name": "MyProject",
10       "qualifier": "TRK",
11       "qualityGate": Object {
12         "isDefault": true,
13         "key": "30",
14         "name": "Sonar way",
15       },
16       "qualityProfiles": Array [
17         Object {
18           "deleted": false,
19           "key": "my-qp",
20           "language": "ts",
21           "name": "Sonar way",
22         },
23       ],
24       "tags": Array [],
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       Object {
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.4.0.2513\\"
62 }
63
64 sonarqube {
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     Object {
77       "breadcrumbs": Array [],
78       "key": "my-project",
79       "name": "MyProject",
80       "qualifier": "TRK",
81       "qualityGate": Object {
82         "isDefault": true,
83         "key": "30",
84         "name": "Sonar way",
85       },
86       "qualityProfiles": Array [
87         Object {
88           "deleted": false,
89           "key": "my-qp",
90           "language": "ts",
91           "name": "Sonar way",
92         },
93       ],
94       "tags": Array [],
95     }
96   }
97 />
98 `;