]> source.dussan.org Git - vaadin-framework.git/commitdiff
Extend AbstractTestCase instead of TestBase when creating and using your own mainWindow
authorLeif Åstrand <leif@vaadin.com>
Mon, 21 Nov 2011 12:26:57 +0000 (12:26 +0000)
committerLeif Åstrand <leif@vaadin.com>
Mon, 21 Nov 2011 12:26:57 +0000 (12:26 +0000)
svn changeset:22078/svn branch:6.7

tests/testbench/com/vaadin/tests/components/treetable/DisappearingComponents.java

index 0b972f07b26efa097557fc1e360e33045294bcdc..becae955ab882ef8849c46cd2c79d1dc0a07b6d3 100644 (file)
@@ -1,15 +1,15 @@
 package com.vaadin.tests.components.treetable;
 
 import com.vaadin.terminal.ExternalResource;
-import com.vaadin.tests.components.TestBase;
+import com.vaadin.tests.components.AbstractTestCase;
 import com.vaadin.ui.Link;
 import com.vaadin.ui.TreeTable;
 import com.vaadin.ui.Window;
 
-public class DisappearingComponents extends TestBase {
+public class DisappearingComponents extends AbstractTestCase {
 
     @Override
-    protected void setup() {
+    public void init() {
         Window mainWindow = new Window("Application");
         final TreeTable tt = new TreeTable();
         tt.setSizeUndefined();