Commit 162e415
authored
Use BeforeRequestSent event for all event listeners (#30)
- use BeforeRequestSent for all event listeners
- removed waits + delays in various tests
- fixed bug for deletion on non-existant/empty context
<!-- Please describe your pull request here. -->
## References
- TODO
<!-- References to relevant GitHub issues and pull requests, esp.
upstream and downstream changes -->
## Submitter checklist
- [ ] The PR request is well described and justified, including the body
and the references
- [ ] The PR title represents the desired changelog entry
- [ ] The repository's code style is followed (see the contributing
guide)
- [ ] Test coverage that demonstrates that the change works as expected
- [ ] For new features, there's necessary documentation in this pull
request or in a subsequent PR to
[wiremock.org](https://github.com/wiremock/wiremock.org)
<!--
Put an `x` into the [ ] to show you have filled the information.
The template comes from
https://github.com/wiremock/.github/blob/main/.github/pull_request_template.md
You can override it by creating .github/pull_request_template.md in your
own repository
-->1 parent cd64b79 commit 162e415
File tree
3 files changed
+14
-27
lines changed- src
- main/java/org/wiremock/extensions/state/extensions
- test/java/org/wiremock/extensions/state/functionality
3 files changed
+14
-27
lines changedLines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| |||
61 | 60 | | |
62 | 61 | | |
63 | 62 | | |
64 | | - | |
| 63 | + | |
65 | 64 | | |
66 | 65 | | |
67 | 66 | | |
| |||
76 | 75 | | |
77 | 76 | | |
78 | 77 | | |
79 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
80 | 81 | | |
81 | | - | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
82 | 85 | | |
83 | 86 | | |
84 | 87 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
Lines changed: 6 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
221 | 220 | | |
222 | 221 | | |
223 | 222 | | |
| |||
231 | 230 | | |
232 | 231 | | |
233 | 232 | | |
234 | | - | |
235 | 233 | | |
236 | 234 | | |
237 | 235 | | |
238 | | - | |
239 | 236 | | |
240 | 237 | | |
241 | 238 | | |
| |||
290 | 287 | | |
291 | 288 | | |
292 | 289 | | |
293 | | - | |
294 | 290 | | |
295 | | - | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
296 | 297 | | |
297 | 298 | | |
298 | 299 | | |
299 | 300 | | |
300 | 301 | | |
301 | 302 | | |
302 | 303 | | |
303 | | - | |
304 | 304 | | |
305 | | - | |
306 | 305 | | |
307 | 306 | | |
308 | 307 | | |
| |||
320 | 319 | | |
321 | 320 | | |
322 | 321 | | |
323 | | - | |
324 | 322 | | |
325 | | - | |
326 | 323 | | |
327 | 324 | | |
328 | 325 | | |
| |||
340 | 337 | | |
341 | 338 | | |
342 | 339 | | |
343 | | - | |
344 | 340 | | |
345 | | - | |
346 | 341 | | |
347 | | - | |
348 | 342 | | |
349 | 343 | | |
350 | 344 | | |
| |||
363 | 357 | | |
364 | 358 | | |
365 | 359 | | |
366 | | - | |
367 | 360 | | |
368 | | - | |
369 | 361 | | |
370 | | - | |
371 | 362 | | |
372 | 363 | | |
373 | 364 | | |
| |||
386 | 377 | | |
387 | 378 | | |
388 | 379 | | |
389 | | - | |
390 | 380 | | |
391 | | - | |
392 | 381 | | |
393 | | - | |
394 | 382 | | |
395 | 383 | | |
396 | 384 | | |
| |||
409 | 397 | | |
410 | 398 | | |
411 | 399 | | |
412 | | - | |
413 | 400 | | |
414 | | - | |
415 | 401 | | |
416 | | - | |
417 | 402 | | |
418 | 403 | | |
419 | 404 | | |
| |||
429 | 414 | | |
430 | 415 | | |
431 | 416 | | |
432 | | - | |
433 | 417 | | |
434 | 418 | | |
435 | 419 | | |
| |||
0 commit comments