summaryrefslogtreecommitdiffstats
path: root/uitest/src/com/vaadin/tests/push/PushWithRequireJSTest.java
diff options
context:
space:
mode:
authorLeif Åstrand <leif@vaadin.com>2015-09-24 19:43:06 +0300
committerLeif Åstrand <leif@vaadin.com>2015-09-24 19:51:09 +0300
commitccad63a4aa12a00016ac29c5b612f6f59edc379b (patch)
tree6c2c6545c539ffd2e4d04032d751d58e69d11ce9 /uitest/src/com/vaadin/tests/push/PushWithRequireJSTest.java
parent5248d93782baf07e1c656d417bd367cd1be38208 (diff)
downloadvaadin-framework-ccad63a4aa12a00016ac29c5b612f6f59edc379b.tar.gz
vaadin-framework-ccad63a4aa12a00016ac29c5b612f6f59edc379b.zip
Hide global "define" from push scripts (#18999)
Change-Id: Iab7747ba8c4770a70e098ea88657ffea14387743
Diffstat (limited to 'uitest/src/com/vaadin/tests/push/PushWithRequireJSTest.java')
-rw-r--r--uitest/src/com/vaadin/tests/push/PushWithRequireJSTest.java31
1 files changed, 31 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/push/PushWithRequireJSTest.java b/uitest/src/com/vaadin/tests/push/PushWithRequireJSTest.java
new file mode 100644
index 0000000000..16bc753272
--- /dev/null
+++ b/uitest/src/com/vaadin/tests/push/PushWithRequireJSTest.java
@@ -0,0 +1,31 @@
+/*
+ * Copyright 2000-2014 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.push;
+
+import org.junit.Test;
+
+import com.vaadin.tests.tb3.SingleBrowserTest;
+
+public class PushWithRequireJSTest extends SingleBrowserTest {
+
+ @Test
+ public void testPushWithRequireJS() {
+ setDebug(true);
+ openTestURL();
+ assertNoErrorNotifications();
+ }
+
+}