From: Johannes Dahlström Date: Mon, 2 Apr 2012 10:54:44 +0000 (+0000) Subject: Cleaned up #5100 test X-Git-Tag: 7.0.0.alpha2~104^2~15 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=74bc9fe48afe4b65c160cb7c6c9e840692304fba;p=vaadin-framework.git Cleaned up #5100 test svn changeset:23378/svn branch:6.8 --- diff --git a/tests/testbench/com/vaadin/tests/components/tabsheet/TabKeyboardNavigation.java b/tests/testbench/com/vaadin/tests/components/tabsheet/TabKeyboardNavigation.java index cc82704d16..a3886853ff 100644 --- a/tests/testbench/com/vaadin/tests/components/tabsheet/TabKeyboardNavigation.java +++ b/tests/testbench/com/vaadin/tests/components/tabsheet/TabKeyboardNavigation.java @@ -15,8 +15,6 @@ import com.vaadin.ui.Component; import com.vaadin.ui.Label; import com.vaadin.ui.Layout; import com.vaadin.ui.TabSheet; -import com.vaadin.ui.TabSheet.SelectedTabChangeEvent; -import com.vaadin.ui.TabSheet.SelectedTabChangeListener; import com.vaadin.ui.TabSheet.Tab; import com.vaadin.ui.TextField; import com.vaadin.ui.VerticalLayout; @@ -32,7 +30,6 @@ public class TabKeyboardNavigation extends TestBase { protected void setup() { ts.setWidth("500px"); ts.setHeight("500px"); - // ts.setTabIndex(0); ts.addListener(new FocusListener() { public void focus(FocusEvent event) { @@ -46,14 +43,6 @@ public class TabKeyboardNavigation extends TestBase { } }); - ts.addListener(new SelectedTabChangeListener() { - - public void selectedTabChange(SelectedTabChangeEvent event) { - // ts.setSelectedTab(tabs.get(Math.max(0, - // tabs.indexOf(ts.getSelectedTab()) - 1))); - } - }); - for (int i = 0; i < 5; ++i) { addTab(); }