From aa98b6f5438b5726cccce945e468d457c7a969a4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Leif=20=C3=85strand?= Date: Tue, 26 Jun 2012 14:56:31 +0300 Subject: [PATCH] Move test component out of main source folder --- .../ui/helloworldfeature/HelloWorldExtensionConnector.java | 2 +- .../com/vaadin/tests/extensions}/HelloWorldExtension.java | 3 ++- .../com/vaadin/tests/extensions/HelloWorldExtensionTest.java | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) rename {src/com/vaadin/ui => tests/testbench/com/vaadin/tests/extensions}/HelloWorldExtension.java (93%) diff --git a/src/com/vaadin/terminal/gwt/client/ui/helloworldfeature/HelloWorldExtensionConnector.java b/src/com/vaadin/terminal/gwt/client/ui/helloworldfeature/HelloWorldExtensionConnector.java index ff444fece5..7185397f94 100644 --- a/src/com/vaadin/terminal/gwt/client/ui/helloworldfeature/HelloWorldExtensionConnector.java +++ b/src/com/vaadin/terminal/gwt/client/ui/helloworldfeature/HelloWorldExtensionConnector.java @@ -10,7 +10,7 @@ import com.vaadin.terminal.gwt.client.VConsole; import com.vaadin.terminal.gwt.client.communication.RpcProxy; import com.vaadin.terminal.gwt.client.ui.AbstractConnector; import com.vaadin.terminal.gwt.client.ui.Connect; -import com.vaadin.ui.HelloWorldExtension; +import com.vaadin.tests.extensions.HelloWorldExtension; @Connect(HelloWorldExtension.class) public class HelloWorldExtensionConnector extends AbstractConnector { diff --git a/src/com/vaadin/ui/HelloWorldExtension.java b/tests/testbench/com/vaadin/tests/extensions/HelloWorldExtension.java similarity index 93% rename from src/com/vaadin/ui/HelloWorldExtension.java rename to tests/testbench/com/vaadin/tests/extensions/HelloWorldExtension.java index e705954f2e..d0f0994af3 100644 --- a/src/com/vaadin/ui/HelloWorldExtension.java +++ b/tests/testbench/com/vaadin/tests/extensions/HelloWorldExtension.java @@ -1,12 +1,13 @@ /* @VaadinApache2LicenseForJavaFiles@ */ -package com.vaadin.ui; +package com.vaadin.tests.extensions; import com.vaadin.terminal.AbstractExtension; import com.vaadin.terminal.gwt.client.ui.helloworldfeature.GreetAgainRpc; import com.vaadin.terminal.gwt.client.ui.helloworldfeature.HelloWorldRpc; import com.vaadin.terminal.gwt.client.ui.helloworldfeature.HelloWorldState; +import com.vaadin.ui.Notification; public class HelloWorldExtension extends AbstractExtension { diff --git a/tests/testbench/com/vaadin/tests/extensions/HelloWorldExtensionTest.java b/tests/testbench/com/vaadin/tests/extensions/HelloWorldExtensionTest.java index b56e05b2a0..1671673198 100644 --- a/tests/testbench/com/vaadin/tests/extensions/HelloWorldExtensionTest.java +++ b/tests/testbench/com/vaadin/tests/extensions/HelloWorldExtensionTest.java @@ -7,7 +7,6 @@ import com.vaadin.terminal.WrappedRequest; import com.vaadin.tests.components.AbstractTestRoot; import com.vaadin.ui.Button; import com.vaadin.ui.Button.ClickEvent; -import com.vaadin.ui.HelloWorldExtension; public class HelloWorldExtensionTest extends AbstractTestRoot { -- 2.39.5