git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-4386 Fixed failed test cases
[jalview.git]
/
test
/
jalview
/
bin
/
HiDPISettingTest1.java
diff --git
a/test/jalview/bin/HiDPISettingTest1.java
b/test/jalview/bin/HiDPISettingTest1.java
index
4561ff4
..
f737c92
100644
(file)
--- a/
test/jalview/bin/HiDPISettingTest1.java
+++ b/
test/jalview/bin/HiDPISettingTest1.java
@@
-62,8
+62,8
@@
public class HiDPISettingTest1
Cache.loadProperties("test/jalview/bin/hidpiTestProps.jvprops");
Jalview.main(
new String[]
Cache.loadProperties("test/jalview/bin/hidpiTestProps.jvprops");
Jalview.main(
new String[]
- { "-nosplash", "-nonews", "-noquestionnaire",
- "-nowebservicediscovery" });
+ { "--nosplash", "--nonews", "--noquestionnaire",
+ "--nowebservicediscovery" });
af = new FileLoader().LoadFileWaitTillLoaded("examples/uniref50.fa",
DataSourceType.FILE);
af = new FileLoader().LoadFileWaitTillLoaded("examples/uniref50.fa",
DataSourceType.FILE);
@@
-85,7
+85,8
@@
public class HiDPISettingTest1
@AfterClass(alwaysRun = true)
public void tearDown()
{
@AfterClass(alwaysRun = true)
public void tearDown()
{
- Desktop.instance.closeAll_actionPerformed(null);
+ if (Desktop.instance != null)
+ Desktop.instance.closeAll_actionPerformed(null);
}
@Test(groups = { "Functional" })
}
@Test(groups = { "Functional" })