diff options
author | Leif Åstrand <leif@vaadin.com> | 2015-03-14 15:48:52 +0200 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2015-03-20 13:43:00 +0200 |
commit | b20397ae5b7319a8d2df9b230ff8f113b649df0c (patch) | |
tree | a86e1cddce7a00339cdce0a7c3a38581ebca047f | |
parent | 78420eb0dde4b066f5233f602782d5f95e183a1f (diff) | |
download | vaadin-framework-b20397ae5b7319a8d2df9b230ff8f113b649df0c.tar.gz vaadin-framework-b20397ae5b7319a8d2df9b230ff8f113b649df0c.zip |
Re-enable support for the firefox.path property
Change-Id: I14d4ca1a2ef51ff77404cd6577cbe7cb35a2f75d
-rw-r--r-- | uitest/src/com/vaadin/tests/tb3/PrivateTB3Configuration.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/tb3/PrivateTB3Configuration.java b/uitest/src/com/vaadin/tests/tb3/PrivateTB3Configuration.java index 05ffa99511..d0134a4feb 100644 --- a/uitest/src/com/vaadin/tests/tb3/PrivateTB3Configuration.java +++ b/uitest/src/com/vaadin/tests/tb3/PrivateTB3Configuration.java @@ -53,6 +53,7 @@ public abstract class PrivateTB3Configuration extends ScreenshotTB3Test { private static final Properties properties = new Properties(); private static final File propertiesFile = new File("work", "eclipse-run-selected-test.properties"); + private static final String FIREFOX_PATH = "firefox.path"; static { if (propertiesFile.exists()) { @@ -66,6 +67,10 @@ public abstract class PrivateTB3Configuration extends ScreenshotTB3Test { localBrowser.getBrowserName() + localBrowser.getVersion()); } + if (properties.containsKey(FIREFOX_PATH)) { + System.setProperty(FIREFOX_PATH, + properties.getProperty(FIREFOX_PATH)); + } } catch (IOException e) { throw new RuntimeException(e); } |