@@ -0,0 +1,1464 @@
+package com.vaadin.tests.components.table;%0D%0Aimport com.vaadin.tests.components.TestBase;%0D%0Aimport com.vaadin.ui.TabSheet;%0D%0Aimport com.vaadin.ui.Table;%0D%0Aimport com.vaadin.ui.Window;%0D%0A%0D%0Apublic class TablePageLengthCalculation extends TestBase %7B%0D%0A%0D%0A    @Override%0D%0A    public void setup() %7B%0D%0A%0D%0A        Window window = new Window();%0D%0A        window.setCaption(%22usermanagement%22);%0D%0A        window.center();%0D%0A        window.setWidth(40, Window.UNITS_PERCENTAGE);%0D%0A        window.setHeight(40, Window.UNITS_PERCENTAGE);%0D%0A        window.setModal(true);%0D%0A        getMainWindow().addWindow(window);%0D%0A%0D%0A        TabSheet tab = new TabSheet();%0D%0A        tab.setSizeFull();%0D%0A%0D%0A        tab.addTab(new TableView(), %22users%22, null);%0D%0A        tab.addTab(new TableView(), %22groups%22, null);%0D%0A%0D%0A        window.setContent(tab);%0D%0A    %7D%0D%0A%0D%0A    public class TableView extends Table %7B%0D%0A        private static final long serialVersionUID = 1L;%0D%0A%0D%0A        public TableView() %7B%0D%0A            setSizeFull();%0D%0A%0D%0A            addContainerProperty(%22name%22, String.class, %22name%22);%0D%0A            addContainerProperty(%22right%22, Boolean.class, %22right%22);%0D%0A        %7D%0D%0A    %7D%0D%0A%0D%0A    @Override%0D%0A    protected String getDescription() %7B%0D%0A        return %22Resize the window and change the selected tab. In Opera 10.50 the updated pagelength will be calculated as a float and not an integer, causing an %5C%22Internal Error%5C%22%22;%0D%0A    %7D%0D%0A%0D%0A    @Override%0D%0A    protected Integer getTicketNumber() %7B%0D%0A        return 4374;%0D%0A    %7D%0D%0A%7D

Test case for #4374