1 // Jest Snapshot v1, https://goo.gl/fbAQLP
3 exports[`should render correctly 1`] = `
5 className="huge-spacer-bottom"
8 className="hotspot-list-header bordered-bottom"
11 className="spacer-right"
13 hotspots.list_title.TO_REVIEW.0
16 className="big-spacer-bottom"
20 loadMore={[MockFunction]}
26 exports[`should render correctly 2`] = `
28 className="huge-spacer-bottom"
31 className="hotspot-list-header bordered-bottom"
34 className="spacer-right"
36 hotspots.list_title.TO_REVIEW.0
39 className="big-spacer-bottom"
48 exports[`should render correctly when the list of hotspot is static 1`] = `
50 className="huge-spacer-bottom"
53 className="hotspot-list-header bordered-bottom"
56 className="spacer-right"
61 className="big-spacer-bottom"
65 loadMore={[MockFunction]}
71 exports[`should render correctly with hotspots: no pagination 1`] = `
73 className="huge-spacer-bottom"
76 className="hotspot-list-header bordered-bottom"
79 className="spacer-right"
81 hotspots.list_title.TO_REVIEW.5
84 className="big-spacer-bottom"
87 className="big-spacer-bottom"
91 className="hotspot-risk-header little-spacer-left"
94 hotspots.risk_exposure
98 className="hotspot-risk-badge spacer-left HIGH"
105 className="spacer-bottom"
113 "author": "Developer 1",
114 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
115 "creationDate": "2013-05-13T17:55:39+0200",
118 "message": "'3' is a magic number.",
119 "project": "com.github.kevinsawicki:http-request",
120 "resolution": undefined,
121 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
122 "securityCategory": "cat2",
123 "status": "TO_REVIEW",
124 "updateDate": "2013-05-13T17:55:39+0200",
125 "vulnerabilityProbability": "HIGH",
129 onHotspotClick={[MockFunction]}
130 onToggleExpand={[Function]}
133 "author": "Developer 1",
134 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
135 "creationDate": "2013-05-13T17:55:39+0200",
138 "message": "'3' is a magic number.",
139 "project": "com.github.kevinsawicki:http-request",
140 "resolution": undefined,
141 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
142 "securityCategory": "command-injection",
143 "status": "TO_REVIEW",
144 "updateDate": "2013-05-13T17:55:39+0200",
145 "vulnerabilityProbability": "HIGH",
152 className="spacer-bottom"
160 "author": "Developer 1",
161 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
162 "creationDate": "2013-05-13T17:55:39+0200",
165 "message": "'3' is a magic number.",
166 "project": "com.github.kevinsawicki:http-request",
167 "resolution": undefined,
168 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
169 "securityCategory": "cat1",
170 "status": "TO_REVIEW",
171 "updateDate": "2013-05-13T17:55:39+0200",
172 "vulnerabilityProbability": "HIGH",
176 onHotspotClick={[MockFunction]}
177 onToggleExpand={[Function]}
180 "author": "Developer 1",
181 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
182 "creationDate": "2013-05-13T17:55:39+0200",
185 "message": "'3' is a magic number.",
186 "project": "com.github.kevinsawicki:http-request",
187 "resolution": undefined,
188 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
189 "securityCategory": "command-injection",
190 "status": "TO_REVIEW",
191 "updateDate": "2013-05-13T17:55:39+0200",
192 "vulnerabilityProbability": "HIGH",
201 className="big-spacer-bottom"
205 className="hotspot-risk-header little-spacer-left"
208 hotspots.risk_exposure
212 className="hotspot-risk-badge spacer-left MEDIUM"
219 className="spacer-bottom"
227 "author": "Developer 1",
228 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
229 "creationDate": "2013-05-13T17:55:39+0200",
232 "message": "'3' is a magic number.",
233 "project": "com.github.kevinsawicki:http-request",
234 "resolution": undefined,
235 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
236 "securityCategory": "cat1",
237 "status": "TO_REVIEW",
238 "updateDate": "2013-05-13T17:55:39+0200",
239 "vulnerabilityProbability": "MEDIUM",
242 "author": "Developer 1",
243 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
244 "creationDate": "2013-05-13T17:55:39+0200",
247 "message": "'3' is a magic number.",
248 "project": "com.github.kevinsawicki:http-request",
249 "resolution": undefined,
250 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
251 "securityCategory": "cat1",
252 "status": "TO_REVIEW",
253 "updateDate": "2013-05-13T17:55:39+0200",
254 "vulnerabilityProbability": "MEDIUM",
258 onHotspotClick={[MockFunction]}
259 onToggleExpand={[Function]}
262 "author": "Developer 1",
263 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
264 "creationDate": "2013-05-13T17:55:39+0200",
267 "message": "'3' is a magic number.",
268 "project": "com.github.kevinsawicki:http-request",
269 "resolution": undefined,
270 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
271 "securityCategory": "command-injection",
272 "status": "TO_REVIEW",
273 "updateDate": "2013-05-13T17:55:39+0200",
274 "vulnerabilityProbability": "HIGH",
281 className="spacer-bottom"
289 "author": "Developer 1",
290 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
291 "creationDate": "2013-05-13T17:55:39+0200",
294 "message": "'3' is a magic number.",
295 "project": "com.github.kevinsawicki:http-request",
296 "resolution": undefined,
297 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
298 "securityCategory": "cat2",
299 "status": "TO_REVIEW",
300 "updateDate": "2013-05-13T17:55:39+0200",
301 "vulnerabilityProbability": "MEDIUM",
305 onHotspotClick={[MockFunction]}
306 onToggleExpand={[Function]}
309 "author": "Developer 1",
310 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
311 "creationDate": "2013-05-13T17:55:39+0200",
314 "message": "'3' is a magic number.",
315 "project": "com.github.kevinsawicki:http-request",
316 "resolution": undefined,
317 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
318 "securityCategory": "command-injection",
319 "status": "TO_REVIEW",
320 "updateDate": "2013-05-13T17:55:39+0200",
321 "vulnerabilityProbability": "HIGH",
332 loadMore={[MockFunction]}
338 exports[`should render correctly with hotspots: pagination 1`] = `
340 className="huge-spacer-bottom"
343 className="hotspot-list-header bordered-bottom"
346 className="spacer-right"
348 hotspots.list_title.TO_REVIEW.5
351 className="big-spacer-bottom"
354 className="big-spacer-bottom"
358 className="hotspot-risk-header little-spacer-left"
361 hotspots.risk_exposure
365 className="hotspot-risk-badge spacer-left HIGH"
372 className="spacer-bottom"
380 "author": "Developer 1",
381 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
382 "creationDate": "2013-05-13T17:55:39+0200",
385 "message": "'3' is a magic number.",
386 "project": "com.github.kevinsawicki:http-request",
387 "resolution": undefined,
388 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
389 "securityCategory": "cat2",
390 "status": "TO_REVIEW",
391 "updateDate": "2013-05-13T17:55:39+0200",
392 "vulnerabilityProbability": "HIGH",
396 onHotspotClick={[MockFunction]}
397 onToggleExpand={[Function]}
400 "author": "Developer 1",
401 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
402 "creationDate": "2013-05-13T17:55:39+0200",
405 "message": "'3' is a magic number.",
406 "project": "com.github.kevinsawicki:http-request",
407 "resolution": undefined,
408 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
409 "securityCategory": "command-injection",
410 "status": "TO_REVIEW",
411 "updateDate": "2013-05-13T17:55:39+0200",
412 "vulnerabilityProbability": "HIGH",
419 className="spacer-bottom"
427 "author": "Developer 1",
428 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
429 "creationDate": "2013-05-13T17:55:39+0200",
432 "message": "'3' is a magic number.",
433 "project": "com.github.kevinsawicki:http-request",
434 "resolution": undefined,
435 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
436 "securityCategory": "cat1",
437 "status": "TO_REVIEW",
438 "updateDate": "2013-05-13T17:55:39+0200",
439 "vulnerabilityProbability": "HIGH",
443 onHotspotClick={[MockFunction]}
444 onToggleExpand={[Function]}
447 "author": "Developer 1",
448 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
449 "creationDate": "2013-05-13T17:55:39+0200",
452 "message": "'3' is a magic number.",
453 "project": "com.github.kevinsawicki:http-request",
454 "resolution": undefined,
455 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
456 "securityCategory": "command-injection",
457 "status": "TO_REVIEW",
458 "updateDate": "2013-05-13T17:55:39+0200",
459 "vulnerabilityProbability": "HIGH",
468 className="big-spacer-bottom"
472 className="hotspot-risk-header little-spacer-left"
475 hotspots.risk_exposure
479 className="hotspot-risk-badge spacer-left MEDIUM"
486 className="spacer-bottom"
494 "author": "Developer 1",
495 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
496 "creationDate": "2013-05-13T17:55:39+0200",
499 "message": "'3' is a magic number.",
500 "project": "com.github.kevinsawicki:http-request",
501 "resolution": undefined,
502 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
503 "securityCategory": "cat1",
504 "status": "TO_REVIEW",
505 "updateDate": "2013-05-13T17:55:39+0200",
506 "vulnerabilityProbability": "MEDIUM",
509 "author": "Developer 1",
510 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
511 "creationDate": "2013-05-13T17:55:39+0200",
514 "message": "'3' is a magic number.",
515 "project": "com.github.kevinsawicki:http-request",
516 "resolution": undefined,
517 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
518 "securityCategory": "cat1",
519 "status": "TO_REVIEW",
520 "updateDate": "2013-05-13T17:55:39+0200",
521 "vulnerabilityProbability": "MEDIUM",
525 onHotspotClick={[MockFunction]}
526 onToggleExpand={[Function]}
529 "author": "Developer 1",
530 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
531 "creationDate": "2013-05-13T17:55:39+0200",
534 "message": "'3' is a magic number.",
535 "project": "com.github.kevinsawicki:http-request",
536 "resolution": undefined,
537 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
538 "securityCategory": "command-injection",
539 "status": "TO_REVIEW",
540 "updateDate": "2013-05-13T17:55:39+0200",
541 "vulnerabilityProbability": "HIGH",
548 className="spacer-bottom"
556 "author": "Developer 1",
557 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
558 "creationDate": "2013-05-13T17:55:39+0200",
561 "message": "'3' is a magic number.",
562 "project": "com.github.kevinsawicki:http-request",
563 "resolution": undefined,
564 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
565 "securityCategory": "cat2",
566 "status": "TO_REVIEW",
567 "updateDate": "2013-05-13T17:55:39+0200",
568 "vulnerabilityProbability": "MEDIUM",
572 onHotspotClick={[MockFunction]}
573 onToggleExpand={[Function]}
576 "author": "Developer 1",
577 "component": "com.github.kevinsawicki:http-request:com.github.kevinsawicki.http.HttpRequest",
578 "creationDate": "2013-05-13T17:55:39+0200",
581 "message": "'3' is a magic number.",
582 "project": "com.github.kevinsawicki:http-request",
583 "resolution": undefined,
584 "rule": "checkstyle:com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck",
585 "securityCategory": "command-injection",
586 "status": "TO_REVIEW",
587 "updateDate": "2013-05-13T17:55:39+0200",
588 "vulnerabilityProbability": "HIGH",
599 loadMore={[MockFunction]}