summaryrefslogtreecommitdiffstats
path: root/uitest/src
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <teemusa@vaadin.com>2015-03-18 11:08:43 +0200
committerVaadin Code Review <review@vaadin.com>2015-03-18 11:48:44 +0000
commitf80ea2b57f4a16fa4b6787576c62a4ddbd3d5849 (patch)
tree96c85916f7511253b424e1eac90d0be2dac995dc /uitest/src
parenta44cff3cc19f2e4ddc346a2e28090e92fc27a1f7 (diff)
downloadvaadin-framework-f80ea2b57f4a16fa4b6787576c62a4ddbd3d5849.tar.gz
vaadin-framework-f80ea2b57f4a16fa4b6787576c62a4ddbd3d5849.zip
Migrate FlashIsVisible embedded test from TB2 to TB4
Change-Id: Ibb5c4e5ade99cddcc6bd96d19e00685eabca3812
Diffstat (limited to 'uitest/src')
-rw-r--r--uitest/src/com/vaadin/tests/components/embedded/FlashIsVisibleTest.java32
1 files changed, 32 insertions, 0 deletions
diff --git a/uitest/src/com/vaadin/tests/components/embedded/FlashIsVisibleTest.java b/uitest/src/com/vaadin/tests/components/embedded/FlashIsVisibleTest.java
new file mode 100644
index 0000000000..64d70df88f
--- /dev/null
+++ b/uitest/src/com/vaadin/tests/components/embedded/FlashIsVisibleTest.java
@@ -0,0 +1,32 @@
+/*
+ * 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.components.embedded;
+
+import static org.junit.Assert.assertTrue;
+
+import org.junit.Test;
+
+public class FlashIsVisibleTest extends
+ com.vaadin.tests.components.flash.FlashIsVisibleTest {
+
+ @Override
+ @Test
+ public void testFlashIsCorrectlyDisplayed() throws Exception {
+ assertTrue("Test is using wrong url",
+ getTestUrl().contains(".embedded."));
+ super.testFlashIsCorrectlyDisplayed();
+ }
+}