Commit 4b27910
committed
Allow publishing files to an existing directory
Prior to this commit, both `TestReporter` and `ExtensionContext` threw
an exception when `publishDirectory` was called with an existing
directory. Now, they only attempt to create the directory if it doesn't
already exist.
(cherry picked from commit acc6385)1 parent b819306 commit 4b27910
File tree
4 files changed
+19
-2
lines changed- documentation/src/docs/asciidoc/release-notes
- junit-jupiter-api/src/main/java/org/junit/jupiter/api/extension
- junit-jupiter-engine/src/main/java/org/junit/jupiter/engine/descriptor
- jupiter-tests/src/test/java/org/junit/jupiter/engine/descriptor
4 files changed
+19
-2
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
| 191 | + | |
| 192 | + | |
191 | 193 | | |
192 | 194 | | |
193 | 195 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
423 | | - | |
| 423 | + | |
424 | 424 | | |
425 | 425 | | |
426 | 426 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
163 | 165 | | |
164 | 166 | | |
165 | 167 | | |
| |||
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
377 | 390 | | |
378 | 391 | | |
379 | 392 | | |
| |||
0 commit comments