summaryrefslogtreecommitdiffstats
path: root/server/tests
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2013-04-08 13:39:25 +0300
committerVaadin Code Review <review@vaadin.com>2013-04-09 07:17:29 +0000
commitb074fa31126279a009d628f2ab873e661c5fec0a (patch)
treed0d081b2ec33cb799e92f4df001ccd8b44ca68f8 /server/tests
parent87888f166123d377ba44e801066f8858b9d33eda (diff)
downloadvaadin-framework-b074fa31126279a009d628f2ab873e661c5fec0a.tar.gz
vaadin-framework-b074fa31126279a009d628f2ab873e661c5fec0a.zip
Show message for missing Atmosphere or version mismatch (#11499)
Change-Id: I05ed55319092248db4a3f2d0975f918c9176a6c6
Diffstat (limited to 'server/tests')
-rw-r--r--server/tests/src/com/vaadin/tests/server/TestAtmosphereVersion.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/server/tests/src/com/vaadin/tests/server/TestAtmosphereVersion.java b/server/tests/src/com/vaadin/tests/server/TestAtmosphereVersion.java
new file mode 100644
index 0000000000..5c27ef0752
--- /dev/null
+++ b/server/tests/src/com/vaadin/tests/server/TestAtmosphereVersion.java
@@ -0,0 +1,18 @@
+package com.vaadin.tests.server;
+
+import junit.framework.TestCase;
+
+import org.atmosphere.util.Version;
+
+import com.vaadin.server.Constants;
+
+public class TestAtmosphereVersion extends TestCase {
+ /**
+ * Test that the atmosphere version constant matches the version on our
+ * classpath
+ */
+ public void testAtmosphereVersion() {
+ assertEquals(Constants.REQUIRED_ATMOSPHERE_VERSION,
+ Version.getRawVersion());
+ }
+}