summaryrefslogtreecommitdiffstats
path: root/uitest
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2014-03-10 21:23:11 +0200
committerArtur Signell <artur@vaadin.com>2014-03-10 21:23:18 +0200
commit9f073198fe60a5e92d279e26a441aa47a3bf075d (patch)
tree5caa837c21adc5a74e16370fe3974b49541a7fe7 /uitest
parent6cd4335da1f45658f9205cff5b0f36db1b553948 (diff)
downloadvaadin-framework-9f073198fe60a5e92d279e26a441aa47a3bf075d.tar.gz
vaadin-framework-9f073198fe60a5e92d279e26a441aa47a3bf075d.zip
Missing server long polling tests (#13164)
Change-Id: I0aad7ffb0c6b300cc0151dc10d20cc0a1de583f9
Diffstat (limited to 'uitest')
-rw-r--r--uitest/src/com/vaadin/tests/integration/ServletIntegrationLongPollingUI.java30
-rw-r--r--uitest/src/com/vaadin/tests/integration/ServletIntegrationLongPollingUITest.java21
2 files changed, 51 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/integration/ServletIntegrationLongPollingUI.java b/uitest/src/com/vaadin/tests/integration/ServletIntegrationLongPollingUI.java
new file mode 100644
index 0000000000..f96000f1ce
--- /dev/null
+++ b/uitest/src/com/vaadin/tests/integration/ServletIntegrationLongPollingUI.java
@@ -0,0 +1,30 @@
+/*
+ * Copyright 2000-2013 Vaadin Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+package com.vaadin.tests.integration;
+
+import com.vaadin.annotations.Push;
+import com.vaadin.shared.ui.ui.Transport;
+
+/**
+ * Server test which uses long polling
+ *
+ * @since 7.1
+ * @author Vaadin Ltd
+ */
+@Push(transport = Transport.LONG_POLLING)
+public class ServletIntegrationLongPollingUI extends ServletIntegrationUI {
+
+}
diff --git a/uitest/src/com/vaadin/tests/integration/ServletIntegrationLongPollingUITest.java b/uitest/src/com/vaadin/tests/integration/ServletIntegrationLongPollingUITest.java
new file mode 100644
index 0000000000..70ca890b31
--- /dev/null
+++ b/uitest/src/com/vaadin/tests/integration/ServletIntegrationLongPollingUITest.java
@@ -0,0 +1,21 @@
+/*
+ * Copyright 2000-2013 Vaadin Ltd.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
+package com.vaadin.tests.integration;
+
+public class ServletIntegrationLongPollingUITest extends
+ AbstractServletIntegrationTest {
+ // Uses the test method declared in the super class
+} \ No newline at end of file