]> source.dussan.org Git - vaadin-framework.git/commitdiff
Cleaned up #5100 test
authorJohannes Dahlström <johannes.dahlstrom@vaadin.com>
Mon, 2 Apr 2012 10:54:44 +0000 (10:54 +0000)
committerJohannes Dahlström <johannes.dahlstrom@vaadin.com>
Mon, 2 Apr 2012 10:54:44 +0000 (10:54 +0000)
svn changeset:23378/svn branch:6.8

tests/testbench/com/vaadin/tests/components/tabsheet/TabKeyboardNavigation.java

index cc82704d163fcdff51a1def6985b2223e6d0e6de..a3886853ff888660042d2e112fd64c6452b3a4be 100644 (file)
@@ -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();
         }