From ccad63a4aa12a00016ac29c5b612f6f59edc379b Mon Sep 17 00:00:00 2001 From: Leif Åstrand Date: Thu, 24 Sep 2015 19:43:06 +0300 Subject: Hide global "define" from push scripts (#18999) Change-Id: Iab7747ba8c4770a70e098ea88657ffea14387743 --- .../vaadin/tests/push/PushWithRequireJSTest.java | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 uitest/src/com/vaadin/tests/push/PushWithRequireJSTest.java (limited to 'uitest/src/com/vaadin/tests/push/PushWithRequireJSTest.java') 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(); + } + +} -- cgit v1.2.3