rename a super type

This commit is contained in:
Brian Sweeney 2018-05-14 09:12:14 -06:00
parent d7e87d7831
commit ac59c3e916
4 changed files with 6 additions and 6 deletions

View File

@ -68,7 +68,7 @@ import org.sleuthkit.datamodel.TskCoreException;
* set 4 * set 4
* - file.dat (empty file) * - file.dat (empty file)
*/ */
public abstract class IntraCaseCommonFilesSearchTest extends NbTestCase { public abstract class AbstractIntraCaseCommonFilesSearchTest extends NbTestCase {
private static final String CASE_NAME = "IntraCaseCommonFilesSearchTest"; private static final String CASE_NAME = "IntraCaseCommonFilesSearchTest";
static final Path CASE_DIRECTORY_PATH = Paths.get(System.getProperty("java.io.tmpdir"), CASE_NAME); static final Path CASE_DIRECTORY_PATH = Paths.get(System.getProperty("java.io.tmpdir"), CASE_NAME);
@ -90,7 +90,7 @@ public abstract class IntraCaseCommonFilesSearchTest extends NbTestCase {
protected DataSourceLoader dataSourceLoader; protected DataSourceLoader dataSourceLoader;
public IntraCaseCommonFilesSearchTest(String name) { public AbstractIntraCaseCommonFilesSearchTest(String name) {
super(name); super(name);
} }

View File

@ -45,7 +45,7 @@ import org.sleuthkit.datamodel.TskCoreException;
/** /**
* Add set 1, set 2, set 3, and set 4 to case and ingest with hash algorithm. * Add set 1, set 2, set 3, and set 4 to case and ingest with hash algorithm.
*/ */
public class IngestedWithHashAndFileType extends IntraCaseCommonFilesSearchTest { public class IngestedWithHashAndFileType extends AbstractIntraCaseCommonFilesSearchTest {
public static Test suite() { public static Test suite() {
NbModuleSuite.Configuration conf = NbModuleSuite.createConfiguration(IngestedWithHashAndFileType.class). NbModuleSuite.Configuration conf = NbModuleSuite.createConfiguration(IngestedWithHashAndFileType.class).

View File

@ -49,7 +49,7 @@ import org.sleuthkit.datamodel.TskCoreException;
* Add images set 1, set 2, set 3, and set 4 to case. Do not run mime type * Add images set 1, set 2, set 3, and set 4 to case. Do not run mime type
* module. * module.
*/ */
public class IngestedWithNoFileTypes extends IntraCaseCommonFilesSearchTest { public class IngestedWithNoFileTypes extends AbstractIntraCaseCommonFilesSearchTest {
public static Test suite() { public static Test suite() {
NbModuleSuite.Configuration conf = NbModuleSuite.createConfiguration(IngestedWithNoFileTypes.class). NbModuleSuite.Configuration conf = NbModuleSuite.createConfiguration(IngestedWithNoFileTypes.class).
@ -101,7 +101,7 @@ public class IngestedWithNoFileTypes extends IntraCaseCommonFilesSearchTest {
List<AbstractFile> files = getFiles(objectIdToDataSource.keySet()); List<AbstractFile> files = getFiles(objectIdToDataSource.keySet());
assertTrue(files.size() == 0); assertTrue(files.isEmpty());
} catch (NoCurrentCaseException | TskCoreException | SQLException ex) { } catch (NoCurrentCaseException | TskCoreException | SQLException ex) {
Exceptions.printStackTrace(ex); Exceptions.printStackTrace(ex);

View File

@ -42,7 +42,7 @@ import org.sleuthkit.datamodel.TskCoreException;
* Add images set 1, set 2, set 3, and set 4 to case. Do not ingest. * Add images set 1, set 2, set 3, and set 4 to case. Do not ingest.
* *
*/ */
public class UningestedCases extends IntraCaseCommonFilesSearchTest { public class UningestedCases extends AbstractIntraCaseCommonFilesSearchTest {
public static Test suite() { public static Test suite() {
NbModuleSuite.Configuration conf = NbModuleSuite.createConfiguration(UningestedCases.class). NbModuleSuite.Configuration conf = NbModuleSuite.createConfiguration(UningestedCases.class).