Merge pull request #7621 from gdicristofaro/8350-publicTestUtils

8350 public test utils
This commit is contained in:
eugene7646 2022-05-11 14:00:10 -04:00 committed by GitHub
commit a4b2ec6f40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -338,9 +338,11 @@
<package>org.sleuthkit.autopsy.modules.encryptiondetection</package>
<package>org.sleuthkit.autopsy.modules.filetypeid</package>
<package>org.sleuthkit.autopsy.modules.hashdatabase</package>
<package>org.sleuthkit.autopsy.modules.interestingitems</package>
<package>org.sleuthkit.autopsy.modules.vmextractor</package>
<package>org.sleuthkit.autopsy.progress</package>
<package>org.sleuthkit.autopsy.report</package>
<package>org.sleuthkit.autopsy.testutils</package>
<package>org.sleuthkit.autopsy.textextractors</package>
<package>org.sleuthkit.autopsy.textextractors.configs</package>
<package>org.sleuthkit.autopsy.textsummarizer</package>

View File

@ -1050,7 +1050,7 @@ public class HashDbManager implements PropertyChangeListener {
*
* @throws TskCoreException
*/
abstract boolean isValid() throws TskCoreException;
public abstract boolean isValid() throws TskCoreException;
public abstract String getIndexPath() throws TskCoreException;
@ -1301,7 +1301,7 @@ public class HashDbManager implements PropertyChangeListener {
* @throws TskCoreException
*/
@Override
boolean isValid() throws TskCoreException {
public boolean isValid() throws TskCoreException {
return hasIndex();
}
@ -1646,7 +1646,7 @@ public class HashDbManager implements PropertyChangeListener {
* @return true if is valid, false otherwise
*/
@Override
boolean isValid() {
public boolean isValid() {
if (!CentralRepository.isEnabled()) {
return false;
}