mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
Fixed timeout exception.
This commit is contained in:
parent
947e4372b7
commit
dfd6a966da
@ -48,6 +48,7 @@ import org.netbeans.jellytools.MainWindowOperator;
|
||||
import org.netbeans.jellytools.NbDialogOperator;
|
||||
import org.netbeans.jellytools.WizardOperator;
|
||||
import org.netbeans.jemmy.Timeout;
|
||||
import org.netbeans.jemmy.Timeouts;
|
||||
import org.netbeans.jemmy.operators.JButtonOperator;
|
||||
import org.netbeans.jemmy.operators.JListOperator;
|
||||
import org.netbeans.jemmy.operators.JCheckBoxOperator;
|
||||
@ -117,6 +118,7 @@ public class RegressionTest extends TestCase {
|
||||
public void setUp() {
|
||||
|
||||
logger.info("######## " + System.getProperty("img_path") + " #######");
|
||||
Timeouts.setDefault("ComponentOperator.WaitComponentTimeout", 1000000);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -21,7 +21,7 @@ def make_path(*dirs):
|
||||
|
||||
# Fix a standard os.path by making it Windows format
|
||||
def path_fix(path):
|
||||
return path.replace("/", "\\")
|
||||
return os.path.normcase(os.path.normpath(path))
|
||||
|
||||
# Gets the true current working directory instead of Cygwin's
|
||||
def wgetcwd():
|
||||
|
Loading…
x
Reference in New Issue
Block a user