@NeedsDisplay
 @Test
 public void ApplicationJNLPRemoteTest() throws Exception {
   ProcessResult pr = server.executeJavawsHeadless(null, GENERAL_NAME + SIGNATURE + ".jnlp");
   Assert.assertTrue(aokr.toPassingString(), aokr.evaluate(pr.stdout));
   checkMessage(pr, 4);
 }
 @NeedsDisplay
 @TestInBrowsers(testIn = {Browsers.one})
 @Test
 public void BrowserAppletRemoteTest() throws Exception {
   ProcessResult pr =
       server.executeBrowser(
           GENERAL_NAME + SIGNATURE + ".html", ServerAccess.AutoClose.CLOSE_ON_CORRECT_END);
   Assert.assertTrue(aokr.toPassingString(), aokr.evaluate(pr.stdout));
   checkMessage(pr, 4);
 }
 @Test
 public void ApplicationJNLPLocalTest() throws Exception {
   List<String> commands = new ArrayList<String>(3);
   commands.add(server.getJavawsLocation());
   commands.add(ServerAccess.HEADLES_OPTION);
   commands.add(GENERAL_NAME + SIGNATURE + ".jnlp");
   ProcessResult pr = ServerAccess.executeProcess(commands, server.getDir());
   Assert.assertTrue(aokr.toPassingString(), aokr.evaluate(pr.stdout));
   checkMessage(pr, 0);
 }
 @NeedsDisplay
 @TestInBrowsers(testIn = {Browsers.one})
 @Test
 public void BrowserAppletLocalTest() throws Exception {
   List<String> commands = new ArrayList<String>(2);
   commands.add(server.getBrowserLocation());
   commands.add(GENERAL_NAME + SIGNATURE + ".html");
   ProcessResult pr =
       ServerAccess.executeProcess(commands, server.getDir(), new AutoOkClosingListener(), null);
   Assert.assertTrue(aokr.toPassingString(), aokr.evaluate(pr.stdout));
   checkMessage(pr, 0);
 }