From 2c683e387292aff6c2a70cba003f970d28c40d31 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Wed, 4 Apr 2012 16:15:01 +0300 Subject: [PATCH] Include ApplicationRunnerServlet in test.war --- WebContent/WEB-INF/web.xml | 6 +----- .../com/vaadin/tests/server/TestClassesSerializable.java | 1 - .../gwt/server => launcher}/ApplicationRunnerServlet.java | 4 +++- 3 files changed, 4 insertions(+), 7 deletions(-) rename tests/testbench/com/vaadin/{terminal/gwt/server => launcher}/ApplicationRunnerServlet.java (98%) diff --git a/WebContent/WEB-INF/web.xml b/WebContent/WEB-INF/web.xml index 73d9951d21..5b250d86f2 100644 --- a/WebContent/WEB-INF/web.xml +++ b/WebContent/WEB-INF/web.xml @@ -22,11 +22,7 @@ VaadinApplicationRunner - com.vaadin.terminal.gwt.server.ApplicationRunnerServlet - - defaultPackages - com.vaadin.tests,com.vaadin.tests.tickets,com.vaadin.tests.components,com.vaadin.tests.components.layouts,com.vaadin.tests.components.panel,com.vaadin.tests.components.combobox,com.vaadin.tests.components.popupview,com.vaadin.tests.components.datefield,com.vaadin.tests.components.richtextarea,com.vaadin.tests.components.absolutelayout,com.vaadin.tests.components.embedded,com.vaadin.tests.components.splitpanel,com.vaadin.tests.components.abstractfield,com.vaadin.tests.components.form,com.vaadin.tests.components.table,com.vaadin.tests.components.accordion,com.vaadin.tests.components.label,com.vaadin.tests.components.tabsheet,com.vaadin.tests.components.beanitemcontainer,com.vaadin.tests.components.link,com.vaadin.tests.components.textfield,com.vaadin.tests.components.button,com.vaadin.tests.components.optiongroup,com.vaadin.tests.components.tree,com.vaadin.tests.components.caption,com.vaadin.tests.components.orderedlayout,com.vaadin.tests.components.window,com.vaadin.tests.dd,com.vaadin.tests.validation - + com.vaadin.launcher.ApplicationRunnerServlet diff --git a/tests/server-side/com/vaadin/tests/server/TestClassesSerializable.java b/tests/server-side/com/vaadin/tests/server/TestClassesSerializable.java index 486b1ba0c1..44a6a3b66d 100644 --- a/tests/server-side/com/vaadin/tests/server/TestClassesSerializable.java +++ b/tests/server-side/com/vaadin/tests/server/TestClassesSerializable.java @@ -47,7 +47,6 @@ public class TestClassesSerializable extends TestCase { // class level filtering, also affecting nested classes and // interfaces "com\\.vaadin\\.terminal\\.gwt\\.server\\.AbstractCommunicationManager.*", // - "com\\.vaadin\\.terminal\\.gwt\\.server\\.ApplicationRunnerServlet.*", // "com\\.vaadin\\.terminal\\.gwt\\.server\\.CommunicationManager.*", // "com\\.vaadin\\.terminal\\.gwt\\.server\\.PortletCommunicationManager.*", // }; diff --git a/tests/testbench/com/vaadin/terminal/gwt/server/ApplicationRunnerServlet.java b/tests/testbench/com/vaadin/launcher/ApplicationRunnerServlet.java similarity index 98% rename from tests/testbench/com/vaadin/terminal/gwt/server/ApplicationRunnerServlet.java rename to tests/testbench/com/vaadin/launcher/ApplicationRunnerServlet.java index 69e8367a0c..33d63b0413 100644 --- a/tests/testbench/com/vaadin/terminal/gwt/server/ApplicationRunnerServlet.java +++ b/tests/testbench/com/vaadin/launcher/ApplicationRunnerServlet.java @@ -1,7 +1,7 @@ /* @VaadinApache2LicenseForJavaFiles@ */ -package com.vaadin.terminal.gwt.server; +package com.vaadin.launcher; import java.io.File; import java.io.IOException; @@ -20,6 +20,8 @@ import javax.servlet.http.HttpServletResponse; import com.vaadin.Application; import com.vaadin.terminal.WrappedRequest; +import com.vaadin.terminal.gwt.server.AbstractApplicationServlet; +import com.vaadin.terminal.gwt.server.WrappedHttpServletRequest; import com.vaadin.tests.components.TestBase; import com.vaadin.ui.Root; -- 2.39.5