]> source.dussan.org Git - sonarqube.git/blob
4bf13d5848f787fa1875fcf62824849916bfa137
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`changes select 1`] = `
4 <Modal
5   ariaHideApp={true}
6   bodyOpenClassName="ReactModal__Body--open"
7   className="modal"
8   closeTimeoutMS={0}
9   contentLabel="background_tasks.change_number_of_workers"
10   isOpen={true}
11   onRequestClose={[Function]}
12   overlayClassName="modal-overlay"
13   parentSelector={[Function]}
14   portalClassName="ReactModalPortal"
15   shouldCloseOnOverlayClick={true}
16 >
17   <header
18     className="modal-head"
19   >
20     <h2>
21       background_tasks.change_number_of_workers
22     </h2>
23   </header>
24   <form
25     onSubmit={[Function]}
26   >
27     <div
28       className="modal-body"
29     >
30       <Select
31         addLabelText="Add \\"{label}\\"?"
32         arrowRenderer={[Function]}
33         autosize={true}
34         backspaceRemoves={true}
35         backspaceToRemoveMessage="Press backspace to remove {label}"
36         className="input-tiny spacer-top"
37         clearAllText="Clear all"
38         clearRenderer={[Function]}
39         clearValueText="Clear value"
40         clearable={false}
41         deleteRemoves={true}
42         delimiter=","
43         disabled={false}
44         escapeClearsValue={true}
45         filterOptions={[Function]}
46         ignoreAccents={true}
47         ignoreCase={true}
48         inputProps={Object {}}
49         isLoading={false}
50         joinValues={false}
51         labelKey="label"
52         matchPos="any"
53         matchProp="any"
54         menuBuffer={0}
55         menuRenderer={[Function]}
56         multi={false}
57         noResultsText="No results found"
58         onBlurResetsInput={true}
59         onChange={[Function]}
60         onCloseResetsInput={true}
61         optionComponent={[Function]}
62         options={
63           Array [
64             Object {
65               "label": 1,
66               "value": 1,
67             },
68             Object {
69               "label": 2,
70               "value": 2,
71             },
72             Object {
73               "label": 3,
74               "value": 3,
75             },
76             Object {
77               "label": 4,
78               "value": 4,
79             },
80             Object {
81               "label": 5,
82               "value": 5,
83             },
84             Object {
85               "label": 6,
86               "value": 6,
87             },
88             Object {
89               "label": 7,
90               "value": 7,
91             },
92             Object {
93               "label": 8,
94               "value": 8,
95             },
96             Object {
97               "label": 9,
98               "value": 9,
99             },
100             Object {
101               "label": 10,
102               "value": 10,
103             },
104           ]
105         }
106         pageSize={5}
107         placeholder="Select..."
108         required={false}
109         scrollMenuIntoView={true}
110         searchable={false}
111         simpleValue={false}
112         tabSelectsValue={true}
113         value={1}
114         valueComponent={[Function]}
115         valueKey="value"
116       />
117       <div
118         className="big-spacer-top alert alert-success markdown"
119       >
120         background_tasks.change_number_of_workers.hint
121       </div>
122     </div>
123     <footer
124       className="modal-foot"
125     >
126       <div>
127         <button
128           disabled={false}
129           type="submit"
130         >
131           save
132         </button>
133         <button
134           className="button-link"
135           onClick={[Function]}
136           type="reset"
137         >
138           cancel
139         </button>
140       </div>
141     </footer>
142   </form>
143 </Modal>
144 `;
145
146 exports[`changes select 2`] = `
147 <Modal
148   ariaHideApp={true}
149   bodyOpenClassName="ReactModal__Body--open"
150   className="modal"
151   closeTimeoutMS={0}
152   contentLabel="background_tasks.change_number_of_workers"
153   isOpen={true}
154   onRequestClose={[Function]}
155   overlayClassName="modal-overlay"
156   parentSelector={[Function]}
157   portalClassName="ReactModalPortal"
158   shouldCloseOnOverlayClick={true}
159 >
160   <header
161     className="modal-head"
162   >
163     <h2>
164       background_tasks.change_number_of_workers
165     </h2>
166   </header>
167   <form
168     onSubmit={[Function]}
169   >
170     <div
171       className="modal-body"
172     >
173       <Select
174         addLabelText="Add \\"{label}\\"?"
175         arrowRenderer={[Function]}
176         autosize={true}
177         backspaceRemoves={true}
178         backspaceToRemoveMessage="Press backspace to remove {label}"
179         className="input-tiny spacer-top"
180         clearAllText="Clear all"
181         clearRenderer={[Function]}
182         clearValueText="Clear value"
183         clearable={false}
184         deleteRemoves={true}
185         delimiter=","
186         disabled={false}
187         escapeClearsValue={true}
188         filterOptions={[Function]}
189         ignoreAccents={true}
190         ignoreCase={true}
191         inputProps={Object {}}
192         isLoading={false}
193         joinValues={false}
194         labelKey="label"
195         matchPos="any"
196         matchProp="any"
197         menuBuffer={0}
198         menuRenderer={[Function]}
199         multi={false}
200         noResultsText="No results found"
201         onBlurResetsInput={true}
202         onChange={[Function]}
203         onCloseResetsInput={true}
204         optionComponent={[Function]}
205         options={
206           Array [
207             Object {
208               "label": 1,
209               "value": 1,
210             },
211             Object {
212               "label": 2,
213               "value": 2,
214             },
215             Object {
216               "label": 3,
217               "value": 3,
218             },
219             Object {
220               "label": 4,
221               "value": 4,
222             },
223             Object {
224               "label": 5,
225               "value": 5,
226             },
227             Object {
228               "label": 6,
229               "value": 6,
230             },
231             Object {
232               "label": 7,
233               "value": 7,
234             },
235             Object {
236               "label": 8,
237               "value": 8,
238             },
239             Object {
240               "label": 9,
241               "value": 9,
242             },
243             Object {
244               "label": 10,
245               "value": 10,
246             },
247           ]
248         }
249         pageSize={5}
250         placeholder="Select..."
251         required={false}
252         scrollMenuIntoView={true}
253         searchable={false}
254         simpleValue={false}
255         tabSelectsValue={true}
256         value={7}
257         valueComponent={[Function]}
258         valueKey="value"
259       />
260       <div
261         className="big-spacer-top alert alert-success markdown"
262       >
263         background_tasks.change_number_of_workers.hint
264       </div>
265     </div>
266     <footer
267       className="modal-foot"
268     >
269       <div>
270         <button
271           disabled={false}
272           type="submit"
273         >
274           save
275         </button>
276         <button
277           className="button-link"
278           onClick={[Function]}
279           type="reset"
280         >
281           cancel
282         </button>
283       </div>
284     </footer>
285   </form>
286 </Modal>
287 `;