mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-08 22:29:33 +00:00
rename a super type
This commit is contained in:
parent
d7e87d7831
commit
ac59c3e916
@ -68,7 +68,7 @@ import org.sleuthkit.datamodel.TskCoreException;
|
||||
* set 4
|
||||
* - file.dat (empty file)
|
||||
*/
|
||||
public abstract class IntraCaseCommonFilesSearchTest extends NbTestCase {
|
||||
public abstract class AbstractIntraCaseCommonFilesSearchTest extends NbTestCase {
|
||||
|
||||
private static final String CASE_NAME = "IntraCaseCommonFilesSearchTest";
|
||||
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;
|
||||
|
||||
public IntraCaseCommonFilesSearchTest(String name) {
|
||||
public AbstractIntraCaseCommonFilesSearchTest(String name) {
|
||||
super(name);
|
||||
}
|
||||
|
@ -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.
|
||||
*/
|
||||
public class IngestedWithHashAndFileType extends IntraCaseCommonFilesSearchTest {
|
||||
public class IngestedWithHashAndFileType extends AbstractIntraCaseCommonFilesSearchTest {
|
||||
|
||||
public static Test suite() {
|
||||
NbModuleSuite.Configuration conf = NbModuleSuite.createConfiguration(IngestedWithHashAndFileType.class).
|
||||
|
@ -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
|
||||
* module.
|
||||
*/
|
||||
public class IngestedWithNoFileTypes extends IntraCaseCommonFilesSearchTest {
|
||||
public class IngestedWithNoFileTypes extends AbstractIntraCaseCommonFilesSearchTest {
|
||||
|
||||
public static Test suite() {
|
||||
NbModuleSuite.Configuration conf = NbModuleSuite.createConfiguration(IngestedWithNoFileTypes.class).
|
||||
@ -101,7 +101,7 @@ public class IngestedWithNoFileTypes extends IntraCaseCommonFilesSearchTest {
|
||||
|
||||
List<AbstractFile> files = getFiles(objectIdToDataSource.keySet());
|
||||
|
||||
assertTrue(files.size() == 0);
|
||||
assertTrue(files.isEmpty());
|
||||
|
||||
} catch (NoCurrentCaseException | TskCoreException | SQLException ex) {
|
||||
Exceptions.printStackTrace(ex);
|
||||
|
@ -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.
|
||||
*
|
||||
*/
|
||||
public class UningestedCases extends IntraCaseCommonFilesSearchTest {
|
||||
public class UningestedCases extends AbstractIntraCaseCommonFilesSearchTest {
|
||||
|
||||
public static Test suite() {
|
||||
NbModuleSuite.Configuration conf = NbModuleSuite.createConfiguration(UningestedCases.class).
|
||||
|
Loading…
x
Reference in New Issue
Block a user