]> source.dussan.org Git - sonarqube.git/blob
ac6904b4bc760845ad0224b2b483321d18c163ea
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render \`leak\` view correctly 1`] = `
4 <div>
5   <Connect(FavoriteFilter)
6     query={
7       Object {
8         "view": "leak",
9       }
10     }
11   />
12   <div
13     className="projects-facets-header clearfix"
14   >
15     <h3>
16       filters
17     </h3>
18   </div>
19   <QualityGateFilter
20     onQueryChange={[MockFunction]}
21   />
22   <NewReliabilityFilter
23     onQueryChange={[MockFunction]}
24   />
25   <NewSecurityFilter
26     onQueryChange={[MockFunction]}
27   />
28   <SecurityReviewFilter
29     className="leak-facet-box"
30     onQueryChange={[MockFunction]}
31     property="new_security_review_rating"
32   />
33   <NewMaintainabilityFilter
34     onQueryChange={[MockFunction]}
35   />
36   <NewCoverageFilter
37     onQueryChange={[MockFunction]}
38   />
39   <NewDuplicationsFilter
40     onQueryChange={[MockFunction]}
41   />
42   <NewLinesFilter
43     onQueryChange={[MockFunction]}
44   />
45   <Connect(LanguagesFilter)
46     onQueryChange={[MockFunction]}
47     query={
48       Object {
49         "view": "leak",
50       }
51     }
52   />
53   <QualifierFilter
54     onQueryChange={[MockFunction]}
55   />
56   <TagsFilter
57     onQueryChange={[MockFunction]}
58     query={
59       Object {
60         "view": "leak",
61       }
62     }
63   />
64 </div>
65 `;
66
67 exports[`should render \`leak\` view correctly with no applications 1`] = `
68 <div>
69   <Connect(FavoriteFilter)
70     query={
71       Object {
72         "view": "leak",
73       }
74     }
75   />
76   <div
77     className="projects-facets-header clearfix"
78   >
79     <h3>
80       filters
81     </h3>
82   </div>
83   <QualityGateFilter
84     onQueryChange={[MockFunction]}
85   />
86   <NewReliabilityFilter
87     onQueryChange={[MockFunction]}
88   />
89   <NewSecurityFilter
90     onQueryChange={[MockFunction]}
91   />
92   <SecurityReviewFilter
93     className="leak-facet-box"
94     onQueryChange={[MockFunction]}
95     property="new_security_review_rating"
96   />
97   <NewMaintainabilityFilter
98     onQueryChange={[MockFunction]}
99   />
100   <NewCoverageFilter
101     onQueryChange={[MockFunction]}
102   />
103   <NewDuplicationsFilter
104     onQueryChange={[MockFunction]}
105   />
106   <NewLinesFilter
107     onQueryChange={[MockFunction]}
108   />
109   <Connect(LanguagesFilter)
110     onQueryChange={[MockFunction]}
111     query={
112       Object {
113         "view": "leak",
114       }
115     }
116   />
117   <TagsFilter
118     onQueryChange={[MockFunction]}
119     query={
120       Object {
121         "view": "leak",
122       }
123     }
124   />
125 </div>
126 `;
127
128 exports[`should render correctly 1`] = `
129 <div>
130   <Connect(FavoriteFilter) />
131   <div
132     className="projects-facets-header clearfix"
133   >
134     <ClearAll
135       onClearAll={[MockFunction]}
136     />
137     <h3>
138       filters
139     </h3>
140   </div>
141   <QualityGateFilter
142     onQueryChange={[MockFunction]}
143   />
144   <ReliabilityFilter
145     onQueryChange={[MockFunction]}
146   />
147   <SecurityFilter
148     onQueryChange={[MockFunction]}
149   />
150   <SecurityReviewFilter
151     onQueryChange={[MockFunction]}
152   />
153   <MaintainabilityFilter
154     onQueryChange={[MockFunction]}
155   />
156   <CoverageFilter
157     onQueryChange={[MockFunction]}
158   />
159   <DuplicationsFilter
160     onQueryChange={[MockFunction]}
161   />
162   <SizeFilter
163     onQueryChange={[MockFunction]}
164     value="3"
165   />
166   <Connect(LanguagesFilter)
167     onQueryChange={[MockFunction]}
168     query={
169       Object {
170         "size": "3",
171       }
172     }
173   />
174   <QualifierFilter
175     onQueryChange={[MockFunction]}
176   />
177   <TagsFilter
178     onQueryChange={[MockFunction]}
179     query={
180       Object {
181         "size": "3",
182       }
183     }
184   />
185 </div>
186 `;
187
188 exports[`should render correctly with no applications 1`] = `
189 <div>
190   <Connect(FavoriteFilter) />
191   <div
192     className="projects-facets-header clearfix"
193   >
194     <ClearAll
195       onClearAll={[MockFunction]}
196     />
197     <h3>
198       filters
199     </h3>
200   </div>
201   <QualityGateFilter
202     onQueryChange={[MockFunction]}
203   />
204   <ReliabilityFilter
205     onQueryChange={[MockFunction]}
206   />
207   <SecurityFilter
208     onQueryChange={[MockFunction]}
209   />
210   <SecurityReviewFilter
211     onQueryChange={[MockFunction]}
212   />
213   <MaintainabilityFilter
214     onQueryChange={[MockFunction]}
215   />
216   <CoverageFilter
217     onQueryChange={[MockFunction]}
218   />
219   <DuplicationsFilter
220     onQueryChange={[MockFunction]}
221   />
222   <SizeFilter
223     onQueryChange={[MockFunction]}
224     value="3"
225   />
226   <Connect(LanguagesFilter)
227     onQueryChange={[MockFunction]}
228     query={
229       Object {
230         "size": "3",
231       }
232     }
233   />
234   <TagsFilter
235     onQueryChange={[MockFunction]}
236     query={
237       Object {
238         "size": "3",
239       }
240     }
241   />
242 </div>
243 `;