summaryrefslogtreecommitdiffstats
path: root/tests/testbench/com
diff options
context:
space:
mode:
authorLeif Åstrand <legioth@gmail.com>2012-08-05 12:48:34 +0300
committerLeif Åstrand <leif@vaadin.com>2012-08-06 08:54:26 +0300
commit46e2ee52c1302a7ea607b41ff913ed2eae9a5a53 (patch)
treebc6488d5c1bce567a97f0489d88a6c521cb9733d /tests/testbench/com
parent41c48b90bb6ab22b8c4041c6219054d2f15bbdb5 (diff)
downloadvaadin-framework-46e2ee52c1302a7ea607b41ff913ed2eae9a5a53.tar.gz
vaadin-framework-46e2ee52c1302a7ea607b41ff913ed2eae9a5a53.zip
Set java.awt.headless to avoid dock icon in tests using images
Diffstat (limited to 'tests/testbench/com')
-rw-r--r--tests/testbench/com/vaadin/launcher/DevelopmentServerLauncher.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/testbench/com/vaadin/launcher/DevelopmentServerLauncher.java b/tests/testbench/com/vaadin/launcher/DevelopmentServerLauncher.java
index 05658e74b1..cd465bc7cc 100644
--- a/tests/testbench/com/vaadin/launcher/DevelopmentServerLauncher.java
+++ b/tests/testbench/com/vaadin/launcher/DevelopmentServerLauncher.java
@@ -13,14 +13,14 @@ import java.net.Socket;
import java.util.HashMap;
import java.util.Map;
-import com.vaadin.launcher.util.BrowserLauncher;
-
import org.mortbay.jetty.Connector;
import org.mortbay.jetty.Server;
import org.mortbay.jetty.nio.SelectChannelConnector;
import org.mortbay.jetty.security.SslSocketConnector;
import org.mortbay.jetty.webapp.WebAppContext;
+import com.vaadin.launcher.util.BrowserLauncher;
+
/**
* Class for running Jetty servlet container within Eclipse project.
*
@@ -40,6 +40,7 @@ public class DevelopmentServerLauncher {
* @throws Exception
*/
public static void main(String[] args) {
+ System.setProperty("java.awt.headless", "true");
// Pass-through of arguments for Jetty
final Map<String, String> serverArgs = parseArguments(args);