From d7b72692802eab14cffd0dc56b41d55827509507 Mon Sep 17 00:00:00 2001 From: "elena.parovyshnaya" Date: Thu, 28 Nov 2019 17:39:10 +0300 Subject: [PATCH] =?UTF-8?q?553582=20MailImplTest=20leaves=20`test.file`=20?= =?UTF-8?q?proje=D1=81t=20working=20directory?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit the file is scheduled for removal at the end of a test Signed-off-by: elena.parovyshnaya --- .../src/org/eclipse/passage/lic/mail/tests/MailImplTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/org.eclipse.passage.lic.mail.tests/src/org/eclipse/passage/lic/mail/tests/MailImplTest.java b/tests/org.eclipse.passage.lic.mail.tests/src/org/eclipse/passage/lic/mail/tests/MailImplTest.java index 06d3d9188..45f0a43cc 100644 --- a/tests/org.eclipse.passage.lic.mail.tests/src/org/eclipse/passage/lic/mail/tests/MailImplTest.java +++ b/tests/org.eclipse.passage.lic.mail.tests/src/org/eclipse/passage/lic/mail/tests/MailImplTest.java @@ -109,6 +109,7 @@ public void removeAttachment() throws IOException { if (fileAttachmentPath != null) { Files.delete(fileAttachmentPath); } + Files.deleteIfExists(Paths.get(MAIL_FILE_OUT)); } }