From 59f7d30499bce8c97525560dba1d160411cdeefe Mon Sep 17 00:00:00 2001 From: Brian Sweeney Date: Mon, 14 May 2018 15:41:21 -0600 Subject: [PATCH] reflects new test API --- .../AbstractIntraCaseCommonFilesSearchTest.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Core/test/qa-functional/src/org/sleuthkit/autopsy/commonfilessearch/AbstractIntraCaseCommonFilesSearchTest.java b/Core/test/qa-functional/src/org/sleuthkit/autopsy/commonfilessearch/AbstractIntraCaseCommonFilesSearchTest.java index 7131be5508..0af583d25d 100644 --- a/Core/test/qa-functional/src/org/sleuthkit/autopsy/commonfilessearch/AbstractIntraCaseCommonFilesSearchTest.java +++ b/Core/test/qa-functional/src/org/sleuthkit/autopsy/commonfilessearch/AbstractIntraCaseCommonFilesSearchTest.java @@ -19,6 +19,7 @@ */ package org.sleuthkit.autopsy.commonfilessearch; +import java.io.IOException; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; @@ -112,7 +113,12 @@ public abstract class AbstractIntraCaseCommonFilesSearchTest extends NbTestCase @Override public void tearDown() { CaseUtils.closeCase(); - CaseUtils.deleteCaseDir(); + try { + CaseUtils.deleteCaseDir(CASE_DIRECTORY_PATH.toFile()); + } catch (IOException ex) { + Exceptions.printStackTrace(ex); + //does not represent a failure in the common files search feature + } } /**