diff options
author | Teemu Suo-Anttila <teemusa@vaadin.com> | 2015-03-18 11:08:43 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2015-03-18 11:48:44 +0000 |
commit | f80ea2b57f4a16fa4b6787576c62a4ddbd3d5849 (patch) | |
tree | 96c85916f7511253b424e1eac90d0be2dac995dc /uitest/src | |
parent | a44cff3cc19f2e4ddc346a2e28090e92fc27a1f7 (diff) | |
download | vaadin-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.java | 32 |
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(); + } +} |