@AfterMethod(alwaysRun = true)
public void tearDown()
{
- if (Desktop.instance != null)
- Desktop.instance.closeAll_actionPerformed(null);
+ Desktop.closeDesktop();
}
@Test(
{
String[] args = cmdLine.split("\\s+");
- Jalview.main(args);
+ CommandsTest.callJalviewMain(args);
try
{
// sleep for slow build server to open annotations and viewer windows