diff options
author | Sauli Tähkäpää <sauli@vaadin.com> | 2014-10-15 13:24:37 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2014-10-21 06:37:13 +0000 |
commit | f3f89d66b1792ef862342aaee3366575713987ce (patch) | |
tree | 689cba99d21c726cd5fe2b16ecbf1572be2bb12c /uitest/src/com/vaadin/tests/tb3/WebsocketTest.java | |
parent | 28570bb979f408c474745bf15afb5b66ede37cf4 (diff) | |
download | vaadin-framework-f3f89d66b1792ef862342aaee3366575713987ce.tar.gz vaadin-framework-f3f89d66b1792ef862342aaee3366575713987ce.zip |
Update atmosphere-runtime to 2.1.2.vaadin6. (#14674, #14861)
Change-Id: Ie239bf110909f8acb47f2141431965061f9ac407
Diffstat (limited to 'uitest/src/com/vaadin/tests/tb3/WebsocketTest.java')
-rw-r--r-- | uitest/src/com/vaadin/tests/tb3/WebsocketTest.java | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/uitest/src/com/vaadin/tests/tb3/WebsocketTest.java b/uitest/src/com/vaadin/tests/tb3/WebsocketTest.java index 778c8b9113..ddcc6d5d76 100644 --- a/uitest/src/com/vaadin/tests/tb3/WebsocketTest.java +++ b/uitest/src/com/vaadin/tests/tb3/WebsocketTest.java @@ -35,30 +35,10 @@ import com.vaadin.tests.tb3.MultiBrowserTest.Browser; * @author Vaadin Ltd */ @TestCategory("push") -public abstract class WebsocketTest extends PrivateTB3Configuration { - private static List<DesiredCapabilities> websocketBrowsers = new ArrayList<DesiredCapabilities>(); - static { - websocketBrowsers.addAll(MultiBrowserTest.getAllBrowsers()); - websocketBrowsers.remove(Browser.IE8.getDesiredCapabilities()); - websocketBrowsers.remove(Browser.IE9.getDesiredCapabilities()); - websocketBrowsers.remove(Browser.PHANTOMJS.getDesiredCapabilities()); - } - - /** - * @return All supported browsers which are actively tested and support - * websockets - */ - public static List<DesiredCapabilities> getWebsocketBrowsers() { - return Collections.unmodifiableList(websocketBrowsers); - } +public abstract class WebsocketTest extends MultiBrowserTest { - /* - * (non-Javadoc) - * - * @see com.vaadin.tests.tb3.AbstractTB3Test#getBrowserToRunOn() - */ @Override public List<DesiredCapabilities> getBrowsersToTest() { - return new ArrayList<DesiredCapabilities>(getWebsocketBrowsers()); + return new ArrayList<DesiredCapabilities>(getBrowsersSupportingWebSocket()); } } |