svn changeset:19086/svn branch:6.6
--- /dev/null
+package com.vaadin.tests.components.panel;
+
+import com.vaadin.tests.components.AbstractComponentContainerTest;
+import com.vaadin.ui.Panel;
+
+public class PanelTest<T extends Panel> extends
+ AbstractComponentContainerTest<T> {
+
+ @SuppressWarnings("unchecked")
+ @Override
+ protected Class<T> getTestClass() {
+ return (Class<T>) Panel.class;
+ }
+
+}
--- /dev/null
+package com.vaadin.tests.components.window;
+
+import com.vaadin.tests.components.panel.PanelTest;
+import com.vaadin.ui.Window;
+
+public class WindowTest extends PanelTest<Window> {
+
+ @Override
+ protected Class<Window> getTestClass() {
+ return Window.class;
+ }
+
+ @Override
+ protected void addTestComponent(Window c) {
+ getMainWindow().addWindow(c);
+ getTestComponents().add(c);
+ }
+
+}