Bug 501234 - Add missing deprecated annotations to o.e.test
Change-Id: Ifa766606038a52cae21808991a14d7752a4dbf6c
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
diff --git a/bundles/org.eclipse.test/src/org/eclipse/test/CoreTestApplication.java b/bundles/org.eclipse.test/src/org/eclipse/test/CoreTestApplication.java
index 25fb39a..60a6c64 100644
--- a/bundles/org.eclipse.test/src/org/eclipse/test/CoreTestApplication.java
+++ b/bundles/org.eclipse.test/src/org/eclipse/test/CoreTestApplication.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2006 IBM Corporation and others.
+ * Copyright (c) 2000, 2016 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -18,6 +18,7 @@
* A an application that launches tests once it is started.
* @deprecated As using deprecated materials
*/
+@Deprecated
public class CoreTestApplication implements IPlatformRunnable {
/** true if workspace tests should log their deltas */
private static boolean deltas= false;
diff --git a/bundles/org.eclipse.test/src/org/eclipse/test/UITestApplication.java b/bundles/org.eclipse.test/src/org/eclipse/test/UITestApplication.java
index 9166631..4e5aaf2 100644
--- a/bundles/org.eclipse.test/src/org/eclipse/test/UITestApplication.java
+++ b/bundles/org.eclipse.test/src/org/eclipse/test/UITestApplication.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2014 IBM Corporation and others.
+ * Copyright (c) 2000, 2016 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -35,6 +35,7 @@
*
* @deprecated As using deprecated materials
*/
+@Deprecated
public class UITestApplication implements IPlatformRunnable, ITestHarness, IApplication {
private static final String DEFAULT_APP_3_0 = "org.eclipse.ui.ide.workbench"; //$NON-NLS-1$
@@ -46,9 +47,6 @@
private IApplicationContext appContext;
- /* (non-Javadoc)
- * @see org.eclipse.core.runtime.IPlatformRunnable
- */
public Object run(final Object args) throws Exception {
// Get the application to test
Object application = getApplication((String[])args);
@@ -186,9 +184,6 @@
return ((IPlatformRunnable) workbench).run(args);
}
- /* (non-Javadoc)
- * @see org.eclipse.ui.testing.ITestHarness#runTests()
- */
public void runTests() {
fTestableObject.testingStarting();
fTestableObject.runTest(new Runnable() {