Autopsy
4.19.3
Graphical digital forensics platform for The Sleuth Kit and other tools.
|
Static Public Member Functions | |
static void | closeCurrentCase () throws TestUtilsException |
static Case | createAsCurrentCase (String caseName) throws TestUtilsException |
Private Member Functions | |
CaseUtils () | |
Class with utility methods for opening and closing cases for functional testing purposes.
Definition at line 33 of file CaseUtils.java.
|
private |
Private constructor to prevent utility class object instantiation.
Definition at line 82 of file CaseUtils.java.
|
static |
Closes the current case, and optionally deletes it. Asserts if there is no current case or if there is an error closing the current case.
Definition at line 61 of file CaseUtils.java.
References org.sleuthkit.autopsy.casemodule.Case.closeCurrentCase(), org.sleuthkit.autopsy.casemodule.Case.getCaseDirectory(), org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), and org.sleuthkit.autopsy.casemodule.Case.getName().
|
static |
Appends a time stamp to the given case name for uniqueness and creates a case as the current case in the temp directory. Asserts if there is an error creating the case.
caseName | The case name. |
Definition at line 44 of file CaseUtils.java.
References org.sleuthkit.autopsy.casemodule.Case.createAsCurrentCase(), org.sleuthkit.autopsy.coreutils.TimeStampUtils.createTimeStamp(), org.sleuthkit.autopsy.casemodule.Case.getCurrentCaseThrows(), and org.sleuthkit.autopsy.casemodule.Case.CaseType.SINGLE_USER_CASE.
Copyright © 2012-2022 Basis Technology. Generated on: Tue Jun 27 2023
This work is licensed under a
Creative Commons Attribution-Share Alike 3.0 United States License.