Skip to content

Commit

Permalink
Fix test out dir
Browse files Browse the repository at this point in the history
  • Loading branch information
nroduit committed May 1, 2024
1 parent e7cbb1e commit 28caf19
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ class TranscoderTest {

@BeforeAll
static void setUp() {
FileUtil.delete(OUT_DIR);
try {
Files.createDirectories(OUT_DIR);
} catch (IOException e) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import java.io.InputStream;
import java.net.URISyntaxException;
import java.nio.file.FileSystems;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.List;
import org.dcm4che3.data.Attributes;
Expand Down Expand Up @@ -48,6 +49,11 @@ class ImageAdapterTest {
@BeforeAll
static void setUp() throws URISyntaxException {
reader = new DicomImageReader(new DicomImageReaderSpi());
try {
Files.createDirectories(OUT_DIR);
} catch (IOException e) {
System.err.println(e.getMessage());
}
}

@AfterAll
Expand Down

0 comments on commit 28caf19

Please sign in to comment.