mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-17 10:17:41 +00:00
Merge pull request #530 from alexjacks92/develop
Testing and Properties
This commit is contained in:
commit
ee5da43677
@ -149,6 +149,9 @@ KeywordSearchIngestModule.init.badInitMsg=Keyword search server was not properly
|
||||
KeywordSearchIngestModule.init.tryStopSolrMsg={0}<br />Please try stopping old java Solr process (if it exists) and restart the application.
|
||||
KeywordSearchIngestModule.init.noKwInLstMsg=No keywords in keyword list.
|
||||
KeywordSearchIngestModule.init.onlyIdxKwSkipMsg=Only indexing will be done and and keyword search will be skipped (you can still add keyword lists using the Keyword Lists - Add to Ingest).
|
||||
KeywordSearchIngestModule.doInBackGround.displayName=Keyword Search
|
||||
KeywordSearchIngestModule.doInBackGround.finalizeMsg = Finalizing...
|
||||
KeywordSearchIngestModule.doInBackGround.pendingMsg=Working on Keyword Search...
|
||||
KeywordSearchIngestModule.postIndexSummary.knowFileHeaderLbl=Files with known types
|
||||
KeywordSearchIngestModule.postIndexSummary.fileGenStringsHead=Files with general strings extracted
|
||||
KeywordSearchIngestModule.postIndexSummary.mdOnlyLbl=Metadata only was indexed
|
||||
|
@ -56,6 +56,7 @@ import org.netbeans.jemmy.operators.JLabelOperator;
|
||||
import org.netbeans.jemmy.operators.JTabbedPaneOperator;
|
||||
import org.netbeans.jemmy.operators.JTableOperator;
|
||||
import org.netbeans.jemmy.operators.JTextFieldOperator;
|
||||
import org.netbeans.jemmy.operators.JListOperator;
|
||||
import org.netbeans.junit.NbModuleSuite;
|
||||
import org.openide.util.Exceptions;
|
||||
import org.sleuthkit.autopsy.ingest.IngestManager;
|
||||
@ -265,14 +266,14 @@ public class RegressionTest extends TestCase {
|
||||
}
|
||||
logger.info("Enqueue took " + (System.currentTimeMillis() - start) + "ms");
|
||||
while (man.isIngestRunning()) {
|
||||
|
||||
new Timeout("pausing", 1000).sleep(); // give it a second (or five) to process
|
||||
}
|
||||
new Timeout("pausing", 15000).sleep(); // give it a second (or fifteen) to process
|
||||
boolean sleep = true;
|
||||
//boolean sleep = true;
|
||||
while (man.areModulesRunning()) {
|
||||
new Timeout("pausing", 5000).sleep(); // give it a second (or five) to process
|
||||
new Timeout("pausing", 5000).sleep(); // give it a second (or five) to process
|
||||
}
|
||||
|
||||
logger.info("Ingest (including enqueue) took " + (System.currentTimeMillis() - start) + "ms");
|
||||
// allow keyword search to finish saving artifacts, just in case
|
||||
// but randomize the timing so that we don't always get the same error
|
||||
@ -299,10 +300,13 @@ public class RegressionTest extends TestCase {
|
||||
logger.info("Generate Report Button");
|
||||
JDialog reportDialog = JDialogOperator.waitJDialog("Generate Report", false, false);
|
||||
JDialogOperator reportDialogOperator = new JDialogOperator(reportDialog);
|
||||
JListOperator listOperator = new JListOperator(reportDialogOperator);
|
||||
JButtonOperator jbo0 = new JButtonOperator(reportDialogOperator, "Next");
|
||||
DateFormat dateFormat = new SimpleDateFormat("MM-dd-yyyy-HH-mm-ss");
|
||||
Date date = new Date();
|
||||
String datenotime = dateFormat.format(date);
|
||||
listOperator.clickOnItem(1, 1);
|
||||
new Timeout("pausing", 1000).sleep();
|
||||
jbo0.pushNoBlock();
|
||||
new Timeout("pausing", 1000).sleep();
|
||||
JButtonOperator jbo1 = new JButtonOperator(reportDialogOperator, "Finish");
|
||||
|
Loading…
x
Reference in New Issue
Block a user