mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug 260292 - Moved the PDA unit tests from the examples plugin and into the DSF tests plugin.
This commit is contained in:
parent
4ef4e45d41
commit
1c7af7c359
14 changed files with 7 additions and 3 deletions
|
@ -9,7 +9,6 @@ Require-Bundle: org.eclipse.core.runtime,
|
|||
org.eclipse.core.variables,
|
||||
org.eclipse.debug.core,
|
||||
org.eclipse.cdt.dsf,
|
||||
org.junit4;bundle-version="4.3.1",
|
||||
org.eclipse.cdt.core;bundle-version="5.0.0"
|
||||
Bundle-ActivationPolicy: lazy
|
||||
Export-Package: org.eclipse.cdt.examples.dsf.pda,
|
||||
|
|
|
@ -13,5 +13,6 @@ Require-Bundle: org.eclipse.core.runtime,
|
|||
org.eclipse.cdt.dsf,
|
||||
org.junit4,
|
||||
org.eclipse.ui,
|
||||
org.eclipse.cdt.dsf.ui
|
||||
org.eclipse.cdt.dsf.ui,
|
||||
org.eclipse.cdt.examples.dsf.pda;bundle-version="2.0.0"
|
||||
Bundle-RequiredExecutionEnvironment: J2SE-1.5
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
*******************************************************************************/
|
||||
package org.eclipse.cdt.tests.dsf.pda.service.command;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.LinkedList;
|
||||
import java.util.List;
|
||||
import java.util.concurrent.ExecutionException;
|
||||
|
@ -23,8 +24,10 @@ import org.eclipse.cdt.dsf.debug.service.command.ICommand;
|
|||
import org.eclipse.cdt.dsf.debug.service.command.ICommandListener;
|
||||
import org.eclipse.cdt.dsf.debug.service.command.ICommandResult;
|
||||
import org.eclipse.cdt.dsf.debug.service.command.ICommandToken;
|
||||
import org.eclipse.cdt.examples.dsf.pda.PDAPlugin;
|
||||
import org.eclipse.cdt.examples.dsf.pda.service.commands.PDACommandResult;
|
||||
import org.eclipse.core.runtime.CoreException;
|
||||
import org.eclipse.core.runtime.Path;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Test;
|
||||
|
||||
|
@ -35,7 +38,8 @@ public class BasicTests extends CommandControlTestsBase {
|
|||
|
||||
@BeforeClass
|
||||
public static void setProgram() {
|
||||
fProgram = "samples/example.pda";
|
||||
File programFile = PDAPlugin.getFileInPlugin(new Path("samples/example.pda"));
|
||||
fProgram = programFile.getPath();
|
||||
}
|
||||
|
||||
@Test
|
Loading…
Add table
Reference in a new issue