mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 09:17:42 +00:00
mark temp code
This commit is contained in:
parent
d825b36ef2
commit
1c5ecb3487
@ -28,8 +28,6 @@ import org.sleuthkit.autopsy.coreutils.ModuleSettings;
|
|||||||
import org.sleuthkit.datamodel.TskData;
|
import org.sleuthkit.datamodel.TskData;
|
||||||
import static junit.framework.Assert.assertFalse;
|
import static junit.framework.Assert.assertFalse;
|
||||||
import static junit.framework.Assert.assertTrue;
|
import static junit.framework.Assert.assertTrue;
|
||||||
import static junit.framework.Assert.assertFalse;
|
|
||||||
import static junit.framework.Assert.assertTrue;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
@ -39,7 +37,7 @@ public class CentralRepoDatamodelTest extends TestCase {
|
|||||||
private static final String PROPERTIES_FILE = "CentralRepository";
|
private static final String PROPERTIES_FILE = "CentralRepository";
|
||||||
private static final String CR_DB_NAME = "testcentralrepo.db";
|
private static final String CR_DB_NAME = "testcentralrepo.db";
|
||||||
//private static final Path testDirectory = Paths.get(System.getProperty("java.io.tmpdir"), "CentralRepoDatamodelTest");
|
//private static final Path testDirectory = Paths.get(System.getProperty("java.io.tmpdir"), "CentralRepoDatamodelTest");
|
||||||
private static final Path testDirectory = Paths.get("C:", "Work", "CRDatamodelTest");
|
private static final Path testDirectory = Paths.get("C:", "Work", "CRDatamodelTest"); // TEMP EASIER FOR TESTING
|
||||||
SqliteEamDbSettings dbSettingsSqlite;
|
SqliteEamDbSettings dbSettingsSqlite;
|
||||||
|
|
||||||
private CorrelationCase case1;
|
private CorrelationCase case1;
|
||||||
@ -156,13 +154,20 @@ public class CentralRepoDatamodelTest extends TestCase {
|
|||||||
FileUtils.deleteDirectory(testDirectory.toFile());
|
FileUtils.deleteDirectory(testDirectory.toFile());
|
||||||
|
|
||||||
} catch (EamDbException | IOException ex) {
|
} catch (EamDbException | IOException ex) {
|
||||||
// } catch (EamDbException ex) {
|
// } catch (EamDbException ex) { // TEMP FOR LOOKING AT DB
|
||||||
Exceptions.printStackTrace(ex);
|
Exceptions.printStackTrace(ex);
|
||||||
Assert.fail(ex);
|
Assert.fail(ex);
|
||||||
}
|
}
|
||||||
assertFalse("Error deleting test directory " + testDirectory.toString(), testDirectory.toFile().exists());
|
assertFalse("Error deleting test directory " + testDirectory.toString(), testDirectory.toFile().exists());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Test the module settings
|
||||||
|
*/
|
||||||
|
public void testSettings(){
|
||||||
|
// Maybe
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test methods related to correlation types
|
* Test methods related to correlation types
|
||||||
* newCorrelationType(CorrelationAttribute.Type newType) tests:
|
* newCorrelationType(CorrelationAttribute.Type newType) tests:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user