diff options
author | Aparna Argade | 2022-09-23 19:05:06 +0000 |
---|---|---|
committer | Aparna Argade | 2022-09-23 19:05:06 +0000 |
commit | 2a145ee7286355edc5afec72352fdda3fc385e30 (patch) | |
tree | 4d6ef574fcf4d8c9694fe1990ec69b803b453175 | |
parent | 0d781ad0746f19b70c6ab6f4a83c17a68abe1c4a (diff) | |
download | org.eclipse.swtbot-2a145ee7286355edc5afec72352fdda3fc385e30.tar.gz org.eclipse.swtbot-2a145ee7286355edc5afec72352fdda3fc385e30.tar.xz org.eclipse.swtbot-2a145ee7286355edc5afec72352fdda3fc385e30.zip |
Bug 580708 - Running SWTBot Tests fails under Eclipse 2022-09
Use org.eclipse.pde.launching.JUnitLaunchConfigurationDelegate instead
of deprecated
org.eclipse.pde.ui.launcher.JUnitLaunchConfigurationDelegate.
This is to fix broken SWTBOT PDE launch in Eclipse 2022-09.
This change is supposed to work with older Eclipse versions as well
because org.eclipse.pde.launching.JUnitLaunchConfigurationDelegate is
present since Eclipse 3.6.
Change-Id: I09d398d3b308ca5685647b479f9fc9f27f0168c2
Signed-off-by: Aparna Argade <aprsac@yahoo.com>
-rw-r--r-- | org.eclipse.swtbot.eclipse.ui/src/org/eclipse/swtbot/eclipse/ui/SWTBotLaunchConfigurationDelegate.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/org.eclipse.swtbot.eclipse.ui/src/org/eclipse/swtbot/eclipse/ui/SWTBotLaunchConfigurationDelegate.java b/org.eclipse.swtbot.eclipse.ui/src/org/eclipse/swtbot/eclipse/ui/SWTBotLaunchConfigurationDelegate.java index f2bffbfa..f9c60355 100644 --- a/org.eclipse.swtbot.eclipse.ui/src/org/eclipse/swtbot/eclipse/ui/SWTBotLaunchConfigurationDelegate.java +++ b/org.eclipse.swtbot.eclipse.ui/src/org/eclipse/swtbot/eclipse/ui/SWTBotLaunchConfigurationDelegate.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2008, 2009 Ketan Padegaonkar and others. + * Copyright (c) 2008, 2022 Ketan Padegaonkar and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at @@ -10,11 +10,12 @@ * Contributors: * Ketan Padegaonkar - initial API and implementation * EclipseSource Corporation - ongoing enhancements + * Aparna Argade - Bug 580708 *******************************************************************************/ package org.eclipse.swtbot.eclipse.ui; import org.eclipse.debug.core.ILaunchConfiguration; -import org.eclipse.pde.ui.launcher.JUnitLaunchConfigurationDelegate; +import org.eclipse.pde.launching.JUnitLaunchConfigurationDelegate; /** * A launch delegate for launching JUnit Plug-in tests. |