aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Moser2013-01-01 07:41:35 (EST)
committerJudtih Gull2013-01-01 07:41:35 (EST)
commit4803c79f4de96f58965b3fdac1a7427b8ad87b91 (patch)
tree4a25fcfee84156add96440b77906c32c1c3438d6
parent927cd814140c9dc37320a370fe9cbd58af73d57a (diff)
downloadorg.eclipse.scout.rt-4803c79f4de96f58965b3fdac1a7427b8ad87b91.zip
org.eclipse.scout.rt-4803c79f4de96f58965b3fdac1a7427b8ad87b91.tar.gz
org.eclipse.scout.rt-4803c79f4de96f58965b3fdac1a7427b8ad87b91.tar.bz2
Bug 397085 - Mark legacy testing support as deprecated
Patch applied by Adrian Moser
-rw-r--r--org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/services/common/test/AbstractClientTest.java6
-rw-r--r--org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/CurrentOutlineSearchFormUnitTest.java6
-rw-r--r--org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/DefaultClientTestForm.java6
-rw-r--r--org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/DrilldownOutlineUnitTest.java6
-rw-r--r--org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/DuplicateKeyStrokeUnitTest.java6
-rw-r--r--org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/DuplicateMnemonicUnitTest.java6
-rw-r--r--org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/ExistsLabelFieldsUnitTest.java6
-rw-r--r--org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/ExistsMnemonicUnitTest.java6
-rw-r--r--org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/FormBasedTestContext.java6
-rw-r--r--org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/IPageTest.java9
-rw-r--r--org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/LengthStringFieldsUnitTest.java6
-rw-r--r--org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/UppercaseMnemonicUnitTest.java6
-rw-r--r--org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/VisibleColumnLabelUnitTest.java6
-rw-r--r--org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/VisibleFieldLabelUnitTest.java6
-rw-r--r--org.eclipse.scout.rt.server/src/org/eclipse/scout/rt/server/services/common/test/AbstractServerTest.java6
-rw-r--r--org.eclipse.scout.rt.server/src/org/eclipse/scout/rt/server/services/common/test/DefaultLookupServicesTest.java6
-rw-r--r--org.eclipse.scout.rt.server/src/org/eclipse/scout/rt/server/services/common/test/ServerTestUtility.java5
-rw-r--r--org.eclipse.scout.rt.server/src/org/eclipse/scout/rt/server/servlet/test/TestServlet.java6
-rw-r--r--org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/test/AbstractTest.java6
-rw-r--r--org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/test/BasicTestContext.java6
-rw-r--r--org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/test/HudsonTestContext.java6
-rw-r--r--org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/test/ITest.java7
-rw-r--r--org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/test/ITestContext.java5
-rw-r--r--org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/test/TestStatus.java6
-rw-r--r--org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/test/TestUtility.java6
-rw-r--r--org.eclipse.scout.rt.testing.client/src/org/eclipse/scout/testing/client/legacy/AbstractClientJUnitTest.java4
26 files changed, 154 insertions, 2 deletions
diff --git a/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/services/common/test/AbstractClientTest.java b/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/services/common/test/AbstractClientTest.java
index e0eedb6..f4dadac 100644
--- a/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/services/common/test/AbstractClientTest.java
+++ b/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/services/common/test/AbstractClientTest.java
@@ -15,10 +15,16 @@ import org.eclipse.scout.rt.shared.services.common.test.AbstractTest;
import org.eclipse.scout.rt.shared.services.common.test.ITest;
/**
+ *
+ * @deprecated Use Scout JUnit Testing Support: {@link org.eclipse.scout.testing.client.runner.ScoutClientTestRunner} or
+ * {@link org.eclipse.scout.rt.testing.server.runner.ScoutServerTestRunner} to run Unit tests.
+ *
* Abstract client test implementation.
* <p>
* {@link #getConfiguredProduct()} has special default value calling session symbolic name
*/
+@Deprecated
+@SuppressWarnings("deprecation")
public abstract class AbstractClientTest extends AbstractTest implements ITest {
@Override
diff --git a/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/CurrentOutlineSearchFormUnitTest.java b/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/CurrentOutlineSearchFormUnitTest.java
index 19b9334..5de5656 100644
--- a/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/CurrentOutlineSearchFormUnitTest.java
+++ b/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/CurrentOutlineSearchFormUnitTest.java
@@ -14,6 +14,12 @@ import org.eclipse.scout.rt.client.services.common.test.ClientTestUtility;
import org.eclipse.scout.rt.client.ui.desktop.outline.pages.IPage;
import org.eclipse.scout.rt.client.ui.desktop.outline.pages.IPageWithTable;
+/**
+ * @deprecated Use Scout JUnit Testing Support: {@link org.eclipse.scout.testing.client.runner.ScoutClientTestRunner} or
+ * {@link org.eclipse.scout.rt.testing.server.runner.ScoutServerTestRunner} to run Unit tests.
+ */
+@Deprecated
+@SuppressWarnings("deprecation")
public class CurrentOutlineSearchFormUnitTest extends DrilldownOutlineUnitTest {
@Override
diff --git a/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/DefaultClientTestForm.java b/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/DefaultClientTestForm.java
index 1252c80..da2bd8e 100644
--- a/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/DefaultClientTestForm.java
+++ b/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/DefaultClientTestForm.java
@@ -51,7 +51,13 @@ import org.eclipse.scout.rt.shared.services.common.test.ITest;
import org.eclipse.scout.rt.shared.services.common.test.TestUtility;
import org.eclipse.scout.service.SERVICES;
+/**
+ * @deprecated Use Scout JUnit Testing Support: {@link org.eclipse.scout.testing.client.runner.ScoutClientTestRunner} or
+ * {@link org.eclipse.scout.rt.testing.server.runner.ScoutServerTestRunner} to run Unit tests.
+ */
@FormData
+@Deprecated
+@SuppressWarnings("deprecation")
public class DefaultClientTestForm extends AbstractForm {
public DefaultClientTestForm() throws ProcessingException {
diff --git a/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/DrilldownOutlineUnitTest.java b/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/DrilldownOutlineUnitTest.java
index 888e524..e2453c8 100644
--- a/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/DrilldownOutlineUnitTest.java
+++ b/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/DrilldownOutlineUnitTest.java
@@ -52,6 +52,12 @@ import org.eclipse.scout.rt.client.ui.form.fields.treebox.ITreeBox;
import org.eclipse.scout.rt.shared.services.lookup.LookupRow;
import org.eclipse.scout.service.SERVICES;
+/**
+ * @deprecated Use Scout JUnit Testing Support: {@link org.eclipse.scout.testing.client.runner.ScoutClientTestRunner} or
+ * {@link org.eclipse.scout.rt.testing.server.runner.ScoutServerTestRunner} to run Unit tests.
+ */
+@Deprecated
+@SuppressWarnings("deprecation")
public class DrilldownOutlineUnitTest extends AbstractClientTest {
private final Set<CompositeObject> visitedPages = new HashSet<CompositeObject>();
diff --git a/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/DuplicateKeyStrokeUnitTest.java b/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/DuplicateKeyStrokeUnitTest.java
index ded2b79..e43e445 100644
--- a/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/DuplicateKeyStrokeUnitTest.java
+++ b/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/DuplicateKeyStrokeUnitTest.java
@@ -17,6 +17,12 @@ import org.eclipse.scout.rt.client.services.common.test.AbstractClientTest;
import org.eclipse.scout.rt.client.services.common.test.ClientTestUtility;
import org.eclipse.scout.rt.client.ui.action.menu.IMenu;
+/**
+ * @deprecated Use Scout JUnit Testing Support: {@link org.eclipse.scout.testing.client.runner.ScoutClientTestRunner} or
+ * {@link org.eclipse.scout.rt.testing.server.runner.ScoutServerTestRunner} to run Unit tests.
+ */
+@Deprecated
+@SuppressWarnings("deprecation")
public class DuplicateKeyStrokeUnitTest extends AbstractClientTest {
ArrayList<String> keyStrokes = new ArrayList<String>();
diff --git a/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/DuplicateMnemonicUnitTest.java b/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/DuplicateMnemonicUnitTest.java
index be5a4af..f1f4c50 100644
--- a/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/DuplicateMnemonicUnitTest.java
+++ b/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/DuplicateMnemonicUnitTest.java
@@ -17,6 +17,12 @@ import org.eclipse.scout.rt.client.services.common.test.AbstractClientTest;
import org.eclipse.scout.rt.client.services.common.test.ClientTestUtility;
import org.eclipse.scout.rt.client.ui.action.menu.IMenu;
+/**
+ * @deprecated Use Scout JUnit Testing Support: {@link org.eclipse.scout.testing.client.runner.ScoutClientTestRunner} or
+ * {@link org.eclipse.scout.rt.testing.server.runner.ScoutServerTestRunner} to run Unit tests.
+ */
+@Deprecated
+@SuppressWarnings("deprecation")
public class DuplicateMnemonicUnitTest extends AbstractClientTest {
@Override
diff --git a/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/ExistsLabelFieldsUnitTest.java b/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/ExistsLabelFieldsUnitTest.java
index 66f6e60..1c41f16 100644
--- a/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/ExistsLabelFieldsUnitTest.java
+++ b/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/ExistsLabelFieldsUnitTest.java
@@ -18,6 +18,12 @@ import org.eclipse.scout.rt.client.ui.form.fields.IFormField;
import org.eclipse.scout.rt.client.ui.form.fields.IValueField;
import org.osgi.framework.Bundle;
+/**
+ * @deprecated Use Scout JUnit Testing Support: {@link org.eclipse.scout.testing.client.runner.ScoutClientTestRunner} or
+ * {@link org.eclipse.scout.rt.testing.server.runner.ScoutServerTestRunner} to run Unit tests.
+ */
+@Deprecated
+@SuppressWarnings("deprecation")
public class ExistsLabelFieldsUnitTest extends AbstractClientTest {
@Override
diff --git a/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/ExistsMnemonicUnitTest.java b/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/ExistsMnemonicUnitTest.java
index 515cc69..4e65460 100644
--- a/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/ExistsMnemonicUnitTest.java
+++ b/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/ExistsMnemonicUnitTest.java
@@ -15,6 +15,12 @@ import org.eclipse.scout.rt.client.services.common.test.AbstractClientTest;
import org.eclipse.scout.rt.client.services.common.test.ClientTestUtility;
import org.eclipse.scout.rt.client.ui.action.menu.IMenu;
+/**
+ * @deprecated Use Scout JUnit Testing Support: {@link org.eclipse.scout.testing.client.runner.ScoutClientTestRunner} or
+ * {@link org.eclipse.scout.rt.testing.server.runner.ScoutServerTestRunner} to run Unit tests.
+ */
+@Deprecated
+@SuppressWarnings("deprecation")
public class ExistsMnemonicUnitTest extends AbstractClientTest {
@Override
diff --git a/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/FormBasedTestContext.java b/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/FormBasedTestContext.java
index 688d0fb..3c0edce 100644
--- a/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/FormBasedTestContext.java
+++ b/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/FormBasedTestContext.java
@@ -18,6 +18,12 @@ import org.eclipse.scout.rt.client.ui.basic.table.ITableRow;
import org.eclipse.scout.rt.shared.services.common.test.BasicTestContext;
import org.eclipse.scout.rt.shared.services.common.test.TestStatus;
+/**
+ * @deprecated Use Scout JUnit Testing Support: {@link org.eclipse.scout.testing.client.runner.ScoutClientTestRunner} or
+ * {@link org.eclipse.scout.rt.testing.server.runner.ScoutServerTestRunner} to run Unit tests.
+ */
+@Deprecated
+@SuppressWarnings("deprecation")
public class FormBasedTestContext extends BasicTestContext {
private static final IScoutLogger LOG = ScoutLogManager.getLogger(FormBasedTestContext.class);
private final DefaultClientTestForm m_form;
diff --git a/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/IPageTest.java b/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/IPageTest.java
index c2e3dfb..d48e658 100644
--- a/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/IPageTest.java
+++ b/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/IPageTest.java
@@ -14,16 +14,21 @@ import org.eclipse.scout.rt.client.ui.desktop.outline.pages.IPage;
import org.eclipse.scout.service.IService;
/**
+ *
+ * @deprecated Use Scout JUnit Testing Support: {@link org.eclipse.scout.testing.client.runner.ScoutClientTestRunner} or
+ * {@link org.eclipse.scout.rt.testing.server.runner.ScoutServerTestRunner} to run Unit tests.
+ *
* A test for one or several pages, that performs specific tests for these
* pages. The service is used together with the {@link DrilldownOutlineUnitTest} and
* {@link CurrentOutlineSearchFormUnitTest}. These tests then use this more
* specific test if {@link IPageTest.canHandle} returns true.
*/
+@Deprecated
public interface IPageTest extends IService {
/**
* Can this IPageTest handle the page and perform a specific test for this page?
- *
+ *
* @param page
* The page to be tested.
* @return
@@ -32,7 +37,7 @@ public interface IPageTest extends IService {
/**
* Perform a test on <code>page</code>. <code>canHandle(page) == true</code> can be assumed.
- *
+ *
* @param page
* The page to be tested.
* @return Another page (typically a child page) for which further testing will be performed.
diff --git a/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/LengthStringFieldsUnitTest.java b/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/LengthStringFieldsUnitTest.java
index d0106f2..40de86b 100644
--- a/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/LengthStringFieldsUnitTest.java
+++ b/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/LengthStringFieldsUnitTest.java
@@ -18,6 +18,12 @@ import org.eclipse.scout.rt.client.ui.form.fields.IFormField;
import org.eclipse.scout.rt.client.ui.form.fields.stringfield.IStringField;
import org.osgi.framework.Bundle;
+/**
+ * @deprecated Use Scout JUnit Testing Support: {@link org.eclipse.scout.testing.client.runner.ScoutClientTestRunner} or
+ * {@link org.eclipse.scout.rt.testing.server.runner.ScoutServerTestRunner} to run Unit tests.
+ */
+@Deprecated
+@SuppressWarnings("deprecation")
public class LengthStringFieldsUnitTest extends AbstractClientTest {
@Override
diff --git a/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/UppercaseMnemonicUnitTest.java b/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/UppercaseMnemonicUnitTest.java
index 25b67a1..82ef837 100644
--- a/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/UppercaseMnemonicUnitTest.java
+++ b/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/UppercaseMnemonicUnitTest.java
@@ -15,6 +15,12 @@ import org.eclipse.scout.rt.client.services.common.test.AbstractClientTest;
import org.eclipse.scout.rt.client.services.common.test.ClientTestUtility;
import org.eclipse.scout.rt.client.ui.action.menu.IMenu;
+/**
+ * @deprecated Use Scout JUnit Testing Support: {@link org.eclipse.scout.testing.client.runner.ScoutClientTestRunner} or
+ * {@link org.eclipse.scout.rt.testing.server.runner.ScoutServerTestRunner} to run Unit tests.
+ */
+@Deprecated
+@SuppressWarnings("deprecation")
public class UppercaseMnemonicUnitTest extends AbstractClientTest {
@Override
diff --git a/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/VisibleColumnLabelUnitTest.java b/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/VisibleColumnLabelUnitTest.java
index 067ccb3..4991039 100644
--- a/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/VisibleColumnLabelUnitTest.java
+++ b/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/VisibleColumnLabelUnitTest.java
@@ -22,6 +22,12 @@ import org.eclipse.scout.rt.client.ui.form.fields.IFormField;
import org.eclipse.scout.rt.client.ui.form.fields.tablefield.ITableField;
import org.osgi.framework.Bundle;
+/**
+ * @deprecated Use Scout JUnit Testing Support: {@link org.eclipse.scout.testing.client.runner.ScoutClientTestRunner} or
+ * {@link org.eclipse.scout.rt.testing.server.runner.ScoutServerTestRunner} to run Unit tests.
+ */
+@Deprecated
+@SuppressWarnings("deprecation")
public class VisibleColumnLabelUnitTest extends AbstractClientTest {
@Override
diff --git a/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/VisibleFieldLabelUnitTest.java b/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/VisibleFieldLabelUnitTest.java
index 333c101..fb4a163 100644
--- a/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/VisibleFieldLabelUnitTest.java
+++ b/org.eclipse.scout.rt.client/src/org/eclipse/scout/rt/client/test/VisibleFieldLabelUnitTest.java
@@ -24,6 +24,12 @@ import org.eclipse.scout.rt.client.ui.form.fields.smartfield.AbstractSmartField;
import org.eclipse.scout.rt.client.ui.form.fields.stringfield.AbstractStringField;
import org.osgi.framework.Bundle;
+/**
+ * @deprecated Use Scout JUnit Testing Support: {@link org.eclipse.scout.testing.client.runner.ScoutClientTestRunner} or
+ * {@link org.eclipse.scout.rt.testing.server.runner.ScoutServerTestRunner} to run Unit tests.
+ */
+@Deprecated
+@SuppressWarnings("deprecation")
public class VisibleFieldLabelUnitTest extends AbstractClientTest {
@Override
diff --git a/org.eclipse.scout.rt.server/src/org/eclipse/scout/rt/server/services/common/test/AbstractServerTest.java b/org.eclipse.scout.rt.server/src/org/eclipse/scout/rt/server/services/common/test/AbstractServerTest.java
index 4f20037..bbd8195 100644
--- a/org.eclipse.scout.rt.server/src/org/eclipse/scout/rt/server/services/common/test/AbstractServerTest.java
+++ b/org.eclipse.scout.rt.server/src/org/eclipse/scout/rt/server/services/common/test/AbstractServerTest.java
@@ -15,10 +15,16 @@ import org.eclipse.scout.rt.shared.services.common.test.AbstractTest;
import org.eclipse.scout.rt.shared.services.common.test.ITest;
/**
+ *
+ * @deprecated Use Scout JUnit Testing Support: {@link org.eclipse.scout.testing.client.runner.ScoutClientTestRunner} or
+ * {@link org.eclipse.scout.rt.testing.server.runner.ScoutServerTestRunner} to run Unit tests.
+ *
* Abstract client test implementation.
* <p>
* {@link #getConfiguredProduct()} has special default value calling session symbolic name
*/
+@Deprecated
+@SuppressWarnings("deprecation")
public abstract class AbstractServerTest extends AbstractTest implements ITest {
@Override
diff --git a/org.eclipse.scout.rt.server/src/org/eclipse/scout/rt/server/services/common/test/DefaultLookupServicesTest.java b/org.eclipse.scout.rt.server/src/org/eclipse/scout/rt/server/services/common/test/DefaultLookupServicesTest.java
index 46bb5ee..5c916ca 100644
--- a/org.eclipse.scout.rt.server/src/org/eclipse/scout/rt/server/services/common/test/DefaultLookupServicesTest.java
+++ b/org.eclipse.scout.rt.server/src/org/eclipse/scout/rt/server/services/common/test/DefaultLookupServicesTest.java
@@ -19,6 +19,12 @@ import org.eclipse.scout.rt.shared.services.lookup.LookupRow;
import org.eclipse.scout.service.SERVICES;
import org.osgi.framework.Bundle;
+/**
+ * @deprecated Use Scout JUnit Testing Support: {@link org.eclipse.scout.testing.client.runner.ScoutClientTestRunner} or
+ * {@link org.eclipse.scout.rt.testing.server.runner.ScoutServerTestRunner} to run Unit tests.
+ */
+@Deprecated
+@SuppressWarnings("deprecation")
public class DefaultLookupServicesTest extends AbstractServerTest {
@Override
diff --git a/org.eclipse.scout.rt.server/src/org/eclipse/scout/rt/server/services/common/test/ServerTestUtility.java b/org.eclipse.scout.rt.server/src/org/eclipse/scout/rt/server/services/common/test/ServerTestUtility.java
index 15fd090..3139517 100644
--- a/org.eclipse.scout.rt.server/src/org/eclipse/scout/rt/server/services/common/test/ServerTestUtility.java
+++ b/org.eclipse.scout.rt.server/src/org/eclipse/scout/rt/server/services/common/test/ServerTestUtility.java
@@ -16,6 +16,11 @@ import org.eclipse.scout.rt.server.IServerSession;
import org.eclipse.scout.rt.server.ThreadContext;
import org.osgi.framework.Bundle;
+/**
+ * @deprecated Use Scout JUnit Testing Support: {@link org.eclipse.scout.testing.client.runner.ScoutClientTestRunner} or
+ * {@link org.eclipse.scout.rt.testing.server.runner.ScoutServerTestRunner} to run Unit tests.
+ */
+@Deprecated
public final class ServerTestUtility {
private ServerTestUtility() {
diff --git a/org.eclipse.scout.rt.server/src/org/eclipse/scout/rt/server/servlet/test/TestServlet.java b/org.eclipse.scout.rt.server/src/org/eclipse/scout/rt/server/servlet/test/TestServlet.java
index c205f87..c400151 100644
--- a/org.eclipse.scout.rt.server/src/org/eclipse/scout/rt/server/servlet/test/TestServlet.java
+++ b/org.eclipse.scout.rt.server/src/org/eclipse/scout/rt/server/servlet/test/TestServlet.java
@@ -44,6 +44,10 @@ import org.eclipse.scout.rt.shared.services.common.test.TestUtility;
import org.eclipse.scout.service.SERVICES;
/**
+ *
+ * @deprecated Use Scout JUnit Testing Support: {@link org.eclipse.scout.testing.client.runner.ScoutClientTestRunner} or
+ * {@link org.eclipse.scout.rt.testing.server.runner.ScoutServerTestRunner} to run Unit tests.
+ *
* Typically this servlet is registered in the
* org.eclipse.scout.commons.servlets extension in your project. It must provide
* the init-parameters
@@ -52,6 +56,8 @@ import org.eclipse.scout.service.SERVICES;
* <li>runAs</li>
* </ul>
*/
+@Deprecated
+@SuppressWarnings("deprecation")
public class TestServlet extends HttpServletEx {
private static final long serialVersionUID = 1L;
diff --git a/org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/test/AbstractTest.java b/org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/test/AbstractTest.java
index 694f1ea..abbfd39 100644
--- a/org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/test/AbstractTest.java
+++ b/org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/test/AbstractTest.java
@@ -17,6 +17,10 @@ import org.eclipse.scout.commons.exception.IProcessingStatus;
import org.eclipse.scout.service.AbstractService;
/**
+ *
+ * @deprecated Use Scout JUnit Testing Support: {@link org.eclipse.scout.testing.client.runner.ScoutClientTestRunner} or
+ * {@link org.eclipse.scout.rt.testing.server.runner.ScoutServerTestRunner} to run Unit tests.
+ *
* Abstract test implementation. <br>
* Implements the abstract methods and add a test status (or even multiple ones)
* using one of the create..Status(String) methods and {@link #addStatus(TestStatus)} <br>
@@ -41,6 +45,8 @@ import org.eclipse.scout.service.AbstractService;
* per status <br>
* {@link #setSubTitle(String)} </pre>
*/
+@Deprecated
+@SuppressWarnings("deprecation")
public abstract class AbstractTest extends AbstractService implements ITest {
private ITestContext m_ctx;
private String m_product;
diff --git a/org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/test/BasicTestContext.java b/org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/test/BasicTestContext.java
index abc5b77..b703333 100644
--- a/org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/test/BasicTestContext.java
+++ b/org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/test/BasicTestContext.java
@@ -15,6 +15,12 @@ import java.util.List;
import org.eclipse.scout.commons.exception.IProcessingStatus;
+/**
+ * @deprecated Use Scout JUnit Testing Support: {@link org.eclipse.scout.testing.client.runner.ScoutClientTestRunner} or
+ * {@link org.eclipse.scout.rt.testing.server.runner.ScoutServerTestRunner} to run Unit tests.
+ */
+@Deprecated
+@SuppressWarnings("deprecation")
public class BasicTestContext implements ITestContext {
private ArrayList<TestStatus> m_list;
private int[] m_severityCount;
diff --git a/org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/test/HudsonTestContext.java b/org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/test/HudsonTestContext.java
index b453242..9db752a 100644
--- a/org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/test/HudsonTestContext.java
+++ b/org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/test/HudsonTestContext.java
@@ -10,6 +10,12 @@
******************************************************************************/
package org.eclipse.scout.rt.shared.services.common.test;
+/**
+ * @deprecated Use Scout JUnit Testing Support: {@link org.eclipse.scout.testing.client.runner.ScoutClientTestRunner} or
+ * {@link org.eclipse.scout.rt.testing.server.runner.ScoutServerTestRunner} to run Unit tests. *
+ */
+@Deprecated
+@SuppressWarnings("deprecation")
public class HudsonTestContext extends BasicTestContext {
public HudsonTestContext() {
diff --git a/org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/test/ITest.java b/org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/test/ITest.java
index f5631de..1bbf319 100644
--- a/org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/test/ITest.java
+++ b/org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/test/ITest.java
@@ -14,6 +14,11 @@ import org.eclipse.scout.commons.annotations.Priority;
import org.eclipse.scout.service.IService;
/**
+ *
+ * @deprecated Use Scout JUnit Testing Support: {@link org.eclipse.scout.testing.client.runner.ScoutClientTestRunner} or
+ * {@link org.eclipse.scout.rt.testing.server.runner.ScoutServerTestRunner} to run Unit tests.
+ *
+ *
* <h1>Integration test service</h1> A test gets a test context {@link #setTestContext(ITestContext)} and is
* launched by calling {@link #run()}
* <p>
@@ -24,6 +29,8 @@ import org.eclipse.scout.service.IService;
* <code>Marco Polo . ProcessServices . PersonProcess.load</code>
*/
@Priority(-3)
+@Deprecated
+@SuppressWarnings("deprecation")
public interface ITest extends IService {
String getProduct();
diff --git a/org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/test/ITestContext.java b/org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/test/ITestContext.java
index 96974f0..bd84117 100644
--- a/org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/test/ITestContext.java
+++ b/org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/test/ITestContext.java
@@ -13,8 +13,13 @@ package org.eclipse.scout.rt.shared.services.common.test;
import java.util.List;
/**
+ * @deprecated Use Scout JUnit Testing Support: {@link org.eclipse.scout.testing.client.runner.ScoutClientTestRunner} or
+ * {@link org.eclipse.scout.rt.testing.server.runner.ScoutServerTestRunner} to run Unit tests.
+ *
* Context used to run a series of tests using {@link TestUtility#runTests(ITestContext, java.util.Collection)}
*/
+@Deprecated
+@SuppressWarnings("deprecation")
public interface ITestContext {
/**
diff --git a/org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/test/TestStatus.java b/org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/test/TestStatus.java
index 0954502..5d232da 100644
--- a/org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/test/TestStatus.java
+++ b/org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/test/TestStatus.java
@@ -14,6 +14,11 @@ import org.eclipse.scout.commons.exception.IProcessingStatus;
import org.eclipse.scout.commons.exception.ProcessingStatus;
/**
+ *
+ * @deprecated Use Scout JUnit Testing Support: {@link org.eclipse.scout.testing.client.runner.ScoutClientTestRunner} or
+ * {@link org.eclipse.scout.rt.testing.server.runner.ScoutServerTestRunner} to run Unit tests.
+ *
+ *
* {@link IProcessingStatus} object with additional properties "product" and
* "subTitle" and "duration". <br>
* The property "subTitle" is the test optional sub title. <br>
@@ -22,6 +27,7 @@ import org.eclipse.scout.commons.exception.ProcessingStatus;
* <p>
* see {@link ITest} for details
*/
+@Deprecated
public class TestStatus extends ProcessingStatus {
private static final long serialVersionUID = 1L;
diff --git a/org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/test/TestUtility.java b/org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/test/TestUtility.java
index 902d08e..03762b0 100644
--- a/org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/test/TestUtility.java
+++ b/org.eclipse.scout.rt.shared/src/org/eclipse/scout/rt/shared/services/common/test/TestUtility.java
@@ -12,6 +12,12 @@ package org.eclipse.scout.rt.shared.services.common.test;
import java.util.Collection;
+/**
+ * @deprecated Use Scout JUnit Testing Support: {@link org.eclipse.scout.testing.client.runner.ScoutClientTestRunner} or
+ * {@link org.eclipse.scout.rt.testing.server.runner.ScoutServerTestRunner} to run Unit tests.
+ */
+@Deprecated
+@SuppressWarnings("deprecation")
public final class TestUtility {
private TestUtility() {
}
diff --git a/org.eclipse.scout.rt.testing.client/src/org/eclipse/scout/testing/client/legacy/AbstractClientJUnitTest.java b/org.eclipse.scout.rt.testing.client/src/org/eclipse/scout/testing/client/legacy/AbstractClientJUnitTest.java
index f1f082b..237321a 100644
--- a/org.eclipse.scout.rt.testing.client/src/org/eclipse/scout/testing/client/legacy/AbstractClientJUnitTest.java
+++ b/org.eclipse.scout.rt.testing.client/src/org/eclipse/scout/testing/client/legacy/AbstractClientJUnitTest.java
@@ -22,11 +22,15 @@ import org.junit.runner.notification.Failure;
import org.junit.runner.notification.RunListener;
/**
+ * @deprecated use {@link org.eclipse.scout.testing.client.runner.ScoutClientTestRunner} to create and run Unit tests.
+ *
* Base class for JUnit based client tests. The class can be used with
* the existing ITest/TestUtility framework of Scout. However, it is possible
* to use the features of JUnit such as annotations to mark test/set up/tear down
* methods and assertions.
*/
+@Deprecated
+@SuppressWarnings("deprecation")
public abstract class AbstractClientJUnitTest extends AbstractTest implements ITest {
@Override