X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fws%2Fgui%2FJws2ParamView.java;h=d672ab6863f7dd45469cc7e5169b35e6b99453e8;hb=refs%2Fheads%2Freleases%2FRelease_2_10_0_Branch;hp=294d4262dc9c02f1188c9f9bfb056551c8a37fbe;hpb=179ce638901c31c14b0101295685e96959695ddf;p=jalview.git diff --git a/test/jalview/ws/gui/Jws2ParamView.java b/test/jalview/ws/gui/Jws2ParamView.java index 294d426..d672ab6 100644 --- a/test/jalview/ws/gui/Jws2ParamView.java +++ b/test/jalview/ws/gui/Jws2ParamView.java @@ -65,6 +65,7 @@ public class Jws2ParamView @BeforeClass(alwaysRun = true) public static void setUpBeforeClass() throws Exception { + Cache.loadProperties("test/jalview/io/testProps.jvprops"); Cache.initLogger(); disc = JalviewJabawsTestUtils.getJabawsDiscoverer(); } @@ -74,8 +75,7 @@ public class Jws2ParamView * rather than hang */ - @Test(groups = - { "Interactive" }, enabled = true) + @Test(groups = { "Interactive" }, enabled = true) public void testJws2Gui() { Iterator presetEnum = presetTests.iterator(); @@ -121,8 +121,8 @@ public class Jws2ParamView WsJobParameters pgui = new WsJobParameters(service, new JabaPreset(service, pr)); JFrame jf = new JFrame(MessageManager.formatMessage( - "label.ws_parameters_for", new String[] - { service.getActionText() })); + "label.ws_parameters_for", + new String[] { service.getActionText() })); jf.setSize(700, 800); JPanel cont = new JPanel(new BorderLayout()); pgui.validate(); @@ -140,6 +140,7 @@ public class Jws2ParamView */ jf.addWindowListener(new WindowAdapter() { + @Override public void windowClosing(WindowEvent e) { thr.interrupt();