Kaynağa Gözat

Migrate Escalator tests for 8 (#8811)

* Migrate Escalator tests for 8

Tests require reindeer / base for escalator to render correctly.
tags/8.1.0.alpha1
Pekka Hyvönen 7 yıl önce
ebeveyn
işleme
8106cf6456
13 değiştirilmiş dosya ile 64 ekleme ve 76 silme
  1. 4
    2
      uitest/src/main/java/com/vaadin/tests/components/grid/basics/EscalatorBasicClientFeatures.java
  2. 4
    2
      uitest/src/main/java/com/vaadin/tests/components/grid/basics/EscalatorUpdaterUi.java
  3. 11
    10
      uitest/src/main/java/com/vaadin/tests/widgetset/client/grid/EscalatorBasicClientFeaturesWidget.java
  4. 9
    9
      uitest/src/main/java/com/vaadin/tests/widgetset/client/grid/EscalatorProxy.java
  5. 2
    1
      uitest/src/test/java/com/vaadin/tests/components/grid/basicfeatures/EscalatorBasicClientFeaturesTest.java
  6. 2
    2
      uitest/src/test/java/com/vaadin/tests/components/grid/basicfeatures/escalator/EscalatorBasicsTest.java
  7. 2
    2
      uitest/src/test/java/com/vaadin/tests/components/grid/basicfeatures/escalator/EscalatorColspanTest.java
  8. 2
    2
      uitest/src/test/java/com/vaadin/tests/components/grid/basicfeatures/escalator/EscalatorColumnFreezingTest.java
  9. 8
    3
      uitest/src/test/java/com/vaadin/tests/components/grid/basicfeatures/escalator/EscalatorRemoveAndAddRowsTest.java
  10. 11
    34
      uitest/src/test/java/com/vaadin/tests/components/grid/basicfeatures/escalator/EscalatorRowColumnTest.java
  11. 3
    3
      uitest/src/test/java/com/vaadin/tests/components/grid/basicfeatures/escalator/EscalatorScrollTest.java
  12. 3
    3
      uitest/src/test/java/com/vaadin/tests/components/grid/basicfeatures/escalator/EscalatorSpacerTest.java
  13. 3
    3
      uitest/src/test/java/com/vaadin/tests/components/grid/basicfeatures/escalator/EscalatorUpdaterUiTest.java

uitest/src/main/java/com/vaadin/v7/tests/components/grid/basicfeatures/EscalatorBasicClientFeatures.java → uitest/src/main/java/com/vaadin/tests/components/grid/basics/EscalatorBasicClientFeatures.java Dosyayı Görüntüle

@@ -14,18 +14,20 @@
* the License.
*/

package com.vaadin.v7.tests.components.grid.basicfeatures;
package com.vaadin.tests.components.grid.basics;

import com.vaadin.annotations.Theme;
import com.vaadin.annotations.Title;
import com.vaadin.annotations.Widgetset;
import com.vaadin.server.VaadinRequest;
import com.vaadin.tests.widgetset.TestingWidgetSet;
import com.vaadin.tests.widgetset.client.v7.grid.EscalatorBasicClientFeaturesWidget;
import com.vaadin.tests.widgetset.client.grid.EscalatorBasicClientFeaturesWidget;
import com.vaadin.tests.widgetset.server.TestWidgetComponent;
import com.vaadin.ui.UI;

@Widgetset(TestingWidgetSet.NAME)
@Title("Escalator basic client features")
@Theme("reindeer")
public class EscalatorBasicClientFeatures extends UI {

@Override

uitest/src/main/java/com/vaadin/v7/tests/components/grid/basicfeatures/EscalatorUpdaterUi.java → uitest/src/main/java/com/vaadin/tests/components/grid/basics/EscalatorUpdaterUi.java Dosyayı Görüntüle

@@ -13,16 +13,18 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.v7.tests.components.grid.basicfeatures;
package com.vaadin.tests.components.grid.basics;

import com.vaadin.annotations.Theme;
import com.vaadin.annotations.Widgetset;
import com.vaadin.server.VaadinRequest;
import com.vaadin.tests.widgetset.TestingWidgetSet;
import com.vaadin.tests.widgetset.client.v7.grid.EscalatorBasicClientFeaturesWidget;
import com.vaadin.tests.widgetset.client.grid.EscalatorBasicClientFeaturesWidget;
import com.vaadin.tests.widgetset.server.TestWidgetComponent;
import com.vaadin.ui.UI;

@Widgetset(TestingWidgetSet.NAME)
@Theme("reindeer")
public class EscalatorUpdaterUi extends UI {

@Override

uitest/src/main/java/com/vaadin/tests/widgetset/client/v7/grid/EscalatorBasicClientFeaturesWidget.java → uitest/src/main/java/com/vaadin/tests/widgetset/client/grid/EscalatorBasicClientFeaturesWidget.java Dosyayı Görüntüle

@@ -1,4 +1,4 @@
package com.vaadin.tests.widgetset.client.v7.grid;
package com.vaadin.tests.widgetset.client.grid;

import java.util.ArrayList;
import java.util.List;
@@ -9,15 +9,16 @@ import com.google.gwt.dom.client.TableCellElement;
import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.HTML;
import com.vaadin.v7.client.widget.escalator.EscalatorUpdater;
import com.vaadin.v7.client.widget.escalator.FlyweightCell;
import com.vaadin.v7.client.widget.escalator.Row;
import com.vaadin.v7.client.widget.escalator.RowContainer;
import com.vaadin.v7.client.widget.escalator.RowContainer.BodyRowContainer;
import com.vaadin.v7.client.widget.escalator.Spacer;
import com.vaadin.v7.client.widget.escalator.SpacerUpdater;
import com.vaadin.v7.client.widgets.Escalator;
import com.vaadin.v7.shared.ui.grid.ScrollDestination;
import com.vaadin.client.widget.escalator.EscalatorUpdater;
import com.vaadin.client.widget.escalator.FlyweightCell;
import com.vaadin.client.widget.escalator.Row;
import com.vaadin.client.widget.escalator.RowContainer;
import com.vaadin.client.widget.escalator.RowContainer.BodyRowContainer;
import com.vaadin.client.widget.escalator.Spacer;
import com.vaadin.client.widget.escalator.SpacerUpdater;
import com.vaadin.client.widgets.Escalator;
import com.vaadin.shared.ui.grid.ScrollDestination;
import com.vaadin.tests.widgetset.client.v7.grid.PureGWTTestApplication;

public class EscalatorBasicClientFeaturesWidget
extends PureGWTTestApplication<Escalator> {

uitest/src/main/java/com/vaadin/tests/widgetset/client/v7/grid/EscalatorProxy.java → uitest/src/main/java/com/vaadin/tests/widgetset/client/grid/EscalatorProxy.java Dosyayı Görüntüle

@@ -13,21 +13,21 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.tests.widgetset.client.v7.grid;
package com.vaadin.tests.widgetset.client.grid;

import java.util.Map;

import com.google.gwt.dom.client.Element;
import com.google.gwt.dom.client.TableRowElement;
import com.google.gwt.dom.client.TableSectionElement;
import com.vaadin.tests.widgetset.client.v7.grid.EscalatorBasicClientFeaturesWidget.LogWidget;
import com.vaadin.v7.client.widget.escalator.Cell;
import com.vaadin.v7.client.widget.escalator.ColumnConfiguration;
import com.vaadin.v7.client.widget.escalator.EscalatorUpdater;
import com.vaadin.v7.client.widget.escalator.RowContainer;
import com.vaadin.v7.client.widget.escalator.RowContainer.BodyRowContainer;
import com.vaadin.v7.client.widget.escalator.SpacerUpdater;
import com.vaadin.v7.client.widgets.Escalator;
import com.vaadin.client.widget.escalator.Cell;
import com.vaadin.client.widget.escalator.ColumnConfiguration;
import com.vaadin.client.widget.escalator.EscalatorUpdater;
import com.vaadin.client.widget.escalator.RowContainer;
import com.vaadin.client.widget.escalator.RowContainer.BodyRowContainer;
import com.vaadin.client.widget.escalator.SpacerUpdater;
import com.vaadin.client.widgets.Escalator;
import com.vaadin.tests.widgetset.client.grid.EscalatorBasicClientFeaturesWidget.LogWidget;

public class EscalatorProxy extends Escalator {
private class ColumnConfigurationProxy implements ColumnConfiguration {

uitest/src/test/java/com/vaadin/v7/tests/components/grid/basicfeatures/EscalatorBasicClientFeaturesTest.java → uitest/src/test/java/com/vaadin/tests/components/grid/basicfeatures/EscalatorBasicClientFeaturesTest.java Dosyayı Görüntüle

@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.v7.tests.components.grid.basicfeatures;
package com.vaadin.tests.components.grid.basicfeatures;

import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
@@ -27,6 +27,7 @@ import org.openqa.selenium.WebElement;

import com.vaadin.testbench.TestBenchElement;
import com.vaadin.testbench.parallel.TestCategory;
import com.vaadin.tests.components.grid.basics.EscalatorBasicClientFeatures;
import com.vaadin.tests.tb3.MultiBrowserTest;

@TestCategory("grid")

uitest/src/test/java/com/vaadin/v7/tests/components/grid/basicfeatures/escalator/EscalatorBasicsTest.java → uitest/src/test/java/com/vaadin/tests/components/grid/basicfeatures/escalator/EscalatorBasicsTest.java Dosyayı Görüntüle

@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.v7.tests.components.grid.basicfeatures.escalator;
package com.vaadin.tests.components.grid.basicfeatures.escalator;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
@@ -25,7 +25,7 @@ import org.junit.Before;
import org.junit.Test;

import com.vaadin.testbench.elements.NotificationElement;
import com.vaadin.v7.tests.components.grid.basicfeatures.EscalatorBasicClientFeaturesTest;
import com.vaadin.tests.components.grid.basicfeatures.EscalatorBasicClientFeaturesTest;

public class EscalatorBasicsTest extends EscalatorBasicClientFeaturesTest {


uitest/src/test/java/com/vaadin/v7/tests/components/grid/basicfeatures/escalator/EscalatorColspanTest.java → uitest/src/test/java/com/vaadin/tests/components/grid/basicfeatures/escalator/EscalatorColspanTest.java Dosyayı Görüntüle

@@ -13,14 +13,14 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.v7.tests.components.grid.basicfeatures.escalator;
package com.vaadin.tests.components.grid.basicfeatures.escalator;

import static org.junit.Assert.assertEquals;

import org.junit.Test;
import org.openqa.selenium.WebElement;

import com.vaadin.v7.tests.components.grid.basicfeatures.EscalatorBasicClientFeaturesTest;
import com.vaadin.tests.components.grid.basicfeatures.EscalatorBasicClientFeaturesTest;

public class EscalatorColspanTest extends EscalatorBasicClientFeaturesTest {
private static final int NO_COLSPAN = 1;

uitest/src/test/java/com/vaadin/v7/tests/components/grid/basicfeatures/escalator/EscalatorColumnFreezingTest.java → uitest/src/test/java/com/vaadin/tests/components/grid/basicfeatures/escalator/EscalatorColumnFreezingTest.java Dosyayı Görüntüle

@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.v7.tests.components.grid.basicfeatures.escalator;
package com.vaadin.tests.components.grid.basicfeatures.escalator;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
@@ -25,7 +25,7 @@ import java.util.regex.Pattern;
import org.junit.Test;
import org.openqa.selenium.WebElement;

import com.vaadin.v7.tests.components.grid.basicfeatures.EscalatorBasicClientFeaturesTest;
import com.vaadin.tests.components.grid.basicfeatures.EscalatorBasicClientFeaturesTest;

public class EscalatorColumnFreezingTest
extends EscalatorBasicClientFeaturesTest {

uitest/src/test/java/com/vaadin/v7/tests/components/grid/basicfeatures/escalator/EscalatorRemoveAndAddRowsTest.java → uitest/src/test/java/com/vaadin/tests/components/grid/basicfeatures/escalator/EscalatorRemoveAndAddRowsTest.java Dosyayı Görüntüle

@@ -13,16 +13,17 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.v7.tests.components.grid.basicfeatures.escalator;
package com.vaadin.tests.components.grid.basicfeatures.escalator;

import static org.junit.Assert.assertTrue;

import java.io.IOException;

import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.By;

import com.vaadin.v7.tests.components.grid.basicfeatures.EscalatorBasicClientFeaturesTest;
import com.vaadin.tests.components.grid.basicfeatures.EscalatorBasicClientFeaturesTest;

/**
* Test class to test the escalator level issue for ticket #16832
@@ -30,9 +31,13 @@ import com.vaadin.v7.tests.components.grid.basicfeatures.EscalatorBasicClientFea
public class EscalatorRemoveAndAddRowsTest
extends EscalatorBasicClientFeaturesTest {

@Before
public void open() {
openTestURL("theme=reindeer");
}

@Test
public void testRemoveAllRowsAndAddThirtyThenScroll() throws IOException {
openTestURL();

selectMenuPath(GENERAL, POPULATE_COLUMN_ROW);


uitest/src/test/java/com/vaadin/v7/tests/components/grid/basicfeatures/escalator/EscalatorRowColumnTest.java → uitest/src/test/java/com/vaadin/tests/components/grid/basicfeatures/escalator/EscalatorRowColumnTest.java Dosyayı Görüntüle

@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.v7.tests.components.grid.basicfeatures.escalator;
package com.vaadin.tests.components.grid.basicfeatures.escalator;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotEquals;
@@ -21,10 +21,11 @@ import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;

import org.junit.Before;
import org.junit.Test;
import org.openqa.selenium.By;

import com.vaadin.v7.tests.components.grid.basicfeatures.EscalatorBasicClientFeaturesTest;
import com.vaadin.tests.components.grid.basicfeatures.EscalatorBasicClientFeaturesTest;

public class EscalatorRowColumnTest extends EscalatorBasicClientFeaturesTest {

@@ -34,9 +35,13 @@ public class EscalatorRowColumnTest extends EscalatorBasicClientFeaturesTest {
*/
private static final int BOTTOM_SCROLL_POSITION = 1857;

@Before
public void open() {
openTestURL("theme=reindeer");
}

@Test
public void testInit() {
openTestURL();
assertNotNull(getEscalator());
assertNull(getHeaderRow(0));
assertNull(getBodyRow(0));
@@ -50,8 +55,6 @@ public class EscalatorRowColumnTest extends EscalatorBasicClientFeaturesTest {

@Test
public void testInsertAColumn() {
openTestURL();

selectMenuPath(COLUMNS_AND_ROWS, COLUMNS, ADD_ONE_COLUMN_TO_BEGINNING);
assertNull(getHeaderRow(0));
assertNull(getBodyRow(0));
@@ -61,8 +64,6 @@ public class EscalatorRowColumnTest extends EscalatorBasicClientFeaturesTest {

@Test
public void testInsertAHeaderRow() {
openTestURL();

selectMenuPath(COLUMNS_AND_ROWS, HEADER_ROWS, ADD_ONE_ROW_TO_BEGINNING);
assertNull(getHeaderCell(0, 0));
assertNull(getBodyCell(0, 0));
@@ -72,8 +73,6 @@ public class EscalatorRowColumnTest extends EscalatorBasicClientFeaturesTest {

@Test
public void testInsertABodyRow() {
openTestURL();

selectMenuPath(COLUMNS_AND_ROWS, BODY_ROWS, ADD_ONE_ROW_TO_BEGINNING);
assertNull(getHeaderCell(0, 0));
assertNull(getBodyCell(0, 0));
@@ -83,8 +82,6 @@ public class EscalatorRowColumnTest extends EscalatorBasicClientFeaturesTest {

@Test
public void testInsertAFooterRow() {
openTestURL();

selectMenuPath(COLUMNS_AND_ROWS, FOOTER_ROWS, ADD_ONE_ROW_TO_BEGINNING);
assertNull(getHeaderCell(0, 0));
assertNull(getBodyCell(0, 0));
@@ -94,8 +91,6 @@ public class EscalatorRowColumnTest extends EscalatorBasicClientFeaturesTest {

@Test
public void testInsertAColumnAndAHeaderRow() {
openTestURL();

selectMenuPath(COLUMNS_AND_ROWS, COLUMNS, ADD_ONE_COLUMN_TO_BEGINNING);
selectMenuPath(COLUMNS_AND_ROWS, HEADER_ROWS, ADD_ONE_ROW_TO_BEGINNING);
assertNotNull(getHeaderCell(0, 0));
@@ -107,8 +102,6 @@ public class EscalatorRowColumnTest extends EscalatorBasicClientFeaturesTest {

@Test
public void testInsertAColumnAndABodyRow() {
openTestURL();

selectMenuPath(COLUMNS_AND_ROWS, COLUMNS, ADD_ONE_COLUMN_TO_BEGINNING);
selectMenuPath(COLUMNS_AND_ROWS, BODY_ROWS, ADD_ONE_ROW_TO_BEGINNING);
assertNull(getHeaderCell(0, 0));
@@ -120,8 +113,6 @@ public class EscalatorRowColumnTest extends EscalatorBasicClientFeaturesTest {

@Test
public void testInsertAColumnAndAFooterRow() {
openTestURL();

selectMenuPath(COLUMNS_AND_ROWS, COLUMNS, ADD_ONE_COLUMN_TO_BEGINNING);
selectMenuPath(COLUMNS_AND_ROWS, FOOTER_ROWS, ADD_ONE_ROW_TO_BEGINNING);
assertNull(getHeaderCell(0, 0));
@@ -133,8 +124,6 @@ public class EscalatorRowColumnTest extends EscalatorBasicClientFeaturesTest {

@Test
public void testInsertAHeaderRowAndAColumn() {
openTestURL();

selectMenuPath(COLUMNS_AND_ROWS, HEADER_ROWS, ADD_ONE_ROW_TO_BEGINNING);
selectMenuPath(COLUMNS_AND_ROWS, COLUMNS, ADD_ONE_COLUMN_TO_BEGINNING);
assertNotNull(getHeaderCell(0, 0));
@@ -146,8 +135,6 @@ public class EscalatorRowColumnTest extends EscalatorBasicClientFeaturesTest {

@Test
public void testInsertABodyRowAndAColumn() {
openTestURL();

selectMenuPath(COLUMNS_AND_ROWS, BODY_ROWS, ADD_ONE_ROW_TO_BEGINNING);
selectMenuPath(COLUMNS_AND_ROWS, COLUMNS, ADD_ONE_COLUMN_TO_BEGINNING);
assertNull(getHeaderCell(0, 0));
@@ -159,8 +146,6 @@ public class EscalatorRowColumnTest extends EscalatorBasicClientFeaturesTest {

@Test
public void testInsertAFooterRowAndAColumn() {
openTestURL();

selectMenuPath(COLUMNS_AND_ROWS, FOOTER_ROWS, ADD_ONE_ROW_TO_BEGINNING);
selectMenuPath(COLUMNS_AND_ROWS, COLUMNS, ADD_ONE_COLUMN_TO_BEGINNING);
assertNull(getHeaderCell(0, 0));
@@ -172,8 +157,6 @@ public class EscalatorRowColumnTest extends EscalatorBasicClientFeaturesTest {

@Test
public void testFillColRow() {
openTestURL();

selectMenuPath(GENERAL, POPULATE_COLUMN_ROW);
scrollVerticallyTo(2000); // more like 1857, but this should be enough.

@@ -184,8 +167,6 @@ public class EscalatorRowColumnTest extends EscalatorBasicClientFeaturesTest {

@Test
public void testFillRowCol() {
openTestURL();

selectMenuPath(GENERAL, POPULATE_ROW_COLUMN);
scrollVerticallyTo(2000); // more like 1857, but this should be enough.

@@ -196,7 +177,6 @@ public class EscalatorRowColumnTest extends EscalatorBasicClientFeaturesTest {

@Test
public void testClearColRow() {
openTestURL();

selectMenuPath(GENERAL, POPULATE_COLUMN_ROW);
selectMenuPath(GENERAL, CLEAR_COLUMN_ROW);
@@ -206,7 +186,6 @@ public class EscalatorRowColumnTest extends EscalatorBasicClientFeaturesTest {

@Test
public void testClearRowCol() {
openTestURL();

selectMenuPath(GENERAL, POPULATE_COLUMN_ROW);
selectMenuPath(GENERAL, CLEAR_ROW_COLUMN);
@@ -216,7 +195,7 @@ public class EscalatorRowColumnTest extends EscalatorBasicClientFeaturesTest {

@Test
public void testResizeColToFit() {
openTestURL();
selectMenuPath(GENERAL, POPULATE_COLUMN_ROW);

selectMenuPath(COLUMNS_AND_ROWS, COLUMNS, RESIZE_FIRST_COLUMN_TO_100PX);
@@ -234,7 +213,7 @@ public class EscalatorRowColumnTest extends EscalatorBasicClientFeaturesTest {
@Test
public void testRemoveMoreThanPagefulAtBottomWhileScrolledToBottom()
throws Exception {
openTestURL();
selectMenuPath(GENERAL, POPULATE_COLUMN_ROW);

scrollVerticallyTo(BOTTOM_SCROLL_POSITION);
@@ -253,7 +232,7 @@ public class EscalatorRowColumnTest extends EscalatorBasicClientFeaturesTest {
@Test
public void testRemoveMoreThanPagefulAtBottomWhileScrolledAlmostToBottom()
throws Exception {
openTestURL();
selectMenuPath(GENERAL, POPULATE_COLUMN_ROW);

// bottom minus 15 rows.
@@ -273,7 +252,6 @@ public class EscalatorRowColumnTest extends EscalatorBasicClientFeaturesTest {
@Test
public void testRemoveMoreThanPagefulNearBottomWhileScrolledToBottom()
throws Exception {
openTestURL();
selectMenuPath(GENERAL, POPULATE_COLUMN_ROW);

scrollVerticallyTo(BOTTOM_SCROLL_POSITION);
@@ -293,7 +271,6 @@ public class EscalatorRowColumnTest extends EscalatorBasicClientFeaturesTest {
@Test
public void testRemoveMoreThanPagefulNearBottomWhileScrolledAlmostToBottom()
throws Exception {
openTestURL();
selectMenuPath(GENERAL, POPULATE_COLUMN_ROW);

// bottom minus 15 rows.

uitest/src/test/java/com/vaadin/v7/tests/components/grid/basicfeatures/escalator/EscalatorScrollTest.java → uitest/src/test/java/com/vaadin/tests/components/grid/basicfeatures/escalator/EscalatorScrollTest.java Dosyayı Görüntüle

@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.v7.tests.components.grid.basicfeatures.escalator;
package com.vaadin.tests.components.grid.basicfeatures.escalator;

import static org.junit.Assert.assertEquals;

@@ -22,14 +22,14 @@ import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;

import com.vaadin.v7.tests.components.grid.basicfeatures.EscalatorBasicClientFeaturesTest;
import com.vaadin.tests.components.grid.basicfeatures.EscalatorBasicClientFeaturesTest;

@SuppressWarnings("all")
public class EscalatorScrollTest extends EscalatorBasicClientFeaturesTest {

@Before
public void setUp() {
openTestURL();
openTestURL("theme=reindeer");
populate();
}


uitest/src/test/java/com/vaadin/v7/tests/components/grid/basicfeatures/escalator/EscalatorSpacerTest.java → uitest/src/test/java/com/vaadin/tests/components/grid/basicfeatures/escalator/EscalatorSpacerTest.java Dosyayı Görüntüle

@@ -13,7 +13,7 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.v7.tests.components.grid.basicfeatures.escalator;
package com.vaadin.tests.components.grid.basicfeatures.escalator;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
@@ -37,7 +37,7 @@ import com.vaadin.shared.Range;
import com.vaadin.testbench.TestBenchElement;
import com.vaadin.testbench.elements.NotificationElement;
import com.vaadin.testbench.parallel.BrowserUtil;
import com.vaadin.v7.tests.components.grid.basicfeatures.EscalatorBasicClientFeaturesTest;
import com.vaadin.tests.components.grid.basicfeatures.EscalatorBasicClientFeaturesTest;

@SuppressWarnings("boxing")
public class EscalatorSpacerTest extends EscalatorBasicClientFeaturesTest {
@@ -102,7 +102,7 @@ public class EscalatorSpacerTest extends EscalatorBasicClientFeaturesTest {
@Before
public void before() {
setDebug(true);
openTestURL();
openTestURL("theme=reindeer");
selectMenuPath(COLUMNS_AND_ROWS, BODY_ROWS, "Set 20px default height");
populate();
}

uitest/src/test/java/com/vaadin/v7/tests/components/grid/basicfeatures/escalator/EscalatorUpdaterUiTest.java → uitest/src/test/java/com/vaadin/tests/components/grid/basicfeatures/escalator/EscalatorUpdaterUiTest.java Dosyayı Görüntüle

@@ -13,12 +13,12 @@
* License for the specific language governing permissions and limitations under
* the License.
*/
package com.vaadin.v7.tests.components.grid.basicfeatures.escalator;
package com.vaadin.tests.components.grid.basicfeatures.escalator;

import org.junit.Test;

import com.vaadin.v7.tests.components.grid.basicfeatures.EscalatorBasicClientFeaturesTest;
import com.vaadin.v7.tests.components.grid.basicfeatures.EscalatorUpdaterUi;
import com.vaadin.tests.components.grid.basicfeatures.EscalatorBasicClientFeaturesTest;
import com.vaadin.tests.components.grid.basics.EscalatorUpdaterUi;

public class EscalatorUpdaterUiTest extends EscalatorBasicClientFeaturesTest {
@Override

Loading…
İptal
Kaydet