]> source.dussan.org Git - sonarqube.git/blob
b4be1a689e6ee77d543ad857e6df4daf27d62856
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`renders correctly 1`] = `
4 <div>
5   <h4
6     className="spacer-bottom"
7   >
8     onboarding.analysis.java.gradle.header
9   </h4>
10   <InstanceMessage
11     message="onboarding.analysis.java.gradle.text.1"
12   >
13     <Component />
14   </InstanceMessage>
15   <CodeSnippet
16     snippet="plugins {
17   id \\"org.sonarqube\\" version \\"2.6\\"
18 }"
19   />
20   <p
21     className="spacer-top spacer-bottom markdown"
22   >
23     onboarding.analysis.java.gradle.text.2
24   </p>
25   <CodeSnippet
26     snippet={
27       Array [
28         "./gradlew sonarqube",
29         undefined,
30         undefined,
31         "-Dsonar.host.url=host",
32         "-Dsonar.login=token",
33       ]
34     }
35   />
36   <p
37     className="big-spacer-top markdown"
38     dangerouslySetInnerHTML={
39       Object {
40         "__html": "onboarding.analysis.java.gradle.docs",
41       }
42     }
43   />
44   <p
45     className="big-spacer-top markdown"
46     dangerouslySetInnerHTML={
47       Object {
48         "__html": "onboarding.analysis.browse_url_after_analysis",
49       }
50     }
51   />
52 </div>
53 `;
54
55 exports[`renders correctly 2`] = `
56 <div>
57   <h4
58     className="spacer-bottom"
59   >
60     onboarding.analysis.java.gradle.header
61   </h4>
62   <InstanceMessage
63     message="onboarding.analysis.java.gradle.text.1"
64   >
65     <Component />
66   </InstanceMessage>
67   <CodeSnippet
68     snippet="plugins {
69   id \\"org.sonarqube\\" version \\"2.6\\"
70 }"
71   />
72   <p
73     className="spacer-top spacer-bottom markdown"
74   >
75     onboarding.analysis.java.gradle.text.2
76   </p>
77   <CodeSnippet
78     snippet={
79       Array [
80         "./gradlew sonarqube",
81         undefined,
82         "-Dsonar.organization=organization",
83         "-Dsonar.host.url=host",
84         "-Dsonar.login=token",
85       ]
86     }
87   />
88   <p
89     className="big-spacer-top markdown"
90     dangerouslySetInnerHTML={
91       Object {
92         "__html": "onboarding.analysis.java.gradle.docs",
93       }
94     }
95   />
96   <p
97     className="big-spacer-top markdown"
98     dangerouslySetInnerHTML={
99       Object {
100         "__html": "onboarding.analysis.browse_url_after_analysis",
101       }
102     }
103   />
104 </div>
105 `;
106
107 exports[`renders with projectKey 1`] = `
108 <div>
109   <h4
110     className="spacer-bottom"
111   >
112     onboarding.analysis.java.gradle.header
113   </h4>
114   <InstanceMessage
115     message="onboarding.analysis.java.gradle.text.1"
116   >
117     <Component />
118   </InstanceMessage>
119   <CodeSnippet
120     snippet="plugins {
121   id \\"org.sonarqube\\" version \\"2.6\\"
122 }"
123   />
124   <p
125     className="spacer-top spacer-bottom markdown"
126   >
127     onboarding.analysis.java.gradle.text.2
128   </p>
129   <CodeSnippet
130     snippet={
131       Array [
132         "./gradlew sonarqube",
133         "-Dsonar.projectKey=foo",
134         "-Dsonar.organization=organization",
135         "-Dsonar.host.url=host",
136         "-Dsonar.login=token",
137       ]
138     }
139   />
140   <p
141     className="big-spacer-top markdown"
142     dangerouslySetInnerHTML={
143       Object {
144         "__html": "onboarding.analysis.java.gradle.docs",
145       }
146     }
147   />
148   <p
149     className="big-spacer-top markdown"
150     dangerouslySetInnerHTML={
151       Object {
152         "__html": "onboarding.analysis.auto_refresh_after_analysis",
153       }
154     }
155   />
156 </div>
157 `;