mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 23:05:47 +02:00
Bug 337893 - Tests for IMIRunControl.executeWithTargetAvailable, non-stop mode
This commit is contained in:
parent
ceb31ed878
commit
fa13a7c63b
9 changed files with 87 additions and 0 deletions
|
@ -0,0 +1,27 @@
|
||||||
|
/*******************************************************************************
|
||||||
|
* Copyright (c) 2011 Ericsson 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
|
||||||
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* Ericsson AB - Initial implementation of Test cases
|
||||||
|
*******************************************************************************/
|
||||||
|
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_0;
|
||||||
|
|
||||||
|
|
||||||
|
import org.eclipse.cdt.dsf.gdb.IGDBLaunchConfigurationConstants;
|
||||||
|
import org.eclipse.cdt.tests.dsf.gdb.framework.BackgroundRunner;
|
||||||
|
import org.eclipse.cdt.tests.dsf.gdb.tests.ITestConstants;
|
||||||
|
import org.junit.BeforeClass;
|
||||||
|
import org.junit.runner.RunWith;
|
||||||
|
|
||||||
|
@RunWith(BackgroundRunner.class)
|
||||||
|
public class MIRunControlNonStopTargetAvailableTest_7_0 extends MIRunControlTargetAvailableTest_7_0 {
|
||||||
|
@BeforeClass
|
||||||
|
public static void beforeClassMethod_7_0() {
|
||||||
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_0);
|
||||||
|
setLaunchAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUGGER_NON_STOP, true);
|
||||||
|
}
|
||||||
|
}
|
|
@ -29,6 +29,7 @@ import org.junit.runners.Suite;
|
||||||
MIRegistersTest_7_0.class,
|
MIRegistersTest_7_0.class,
|
||||||
MIRunControlTest_7_0.class,
|
MIRunControlTest_7_0.class,
|
||||||
MIRunControlTargetAvailableTest_7_0.class,
|
MIRunControlTargetAvailableTest_7_0.class,
|
||||||
|
MIRunControlNonStopTargetAvailableTest_7_0.class,
|
||||||
MIExpressionsTest_7_0.class,
|
MIExpressionsTest_7_0.class,
|
||||||
MIMemoryTest_7_0.class,
|
MIMemoryTest_7_0.class,
|
||||||
MIBreakpointsTest_7_0.class,
|
MIBreakpointsTest_7_0.class,
|
||||||
|
|
|
@ -33,6 +33,7 @@ import org.junit.runners.Suite;
|
||||||
GDBRemoteTracepointsTest_7_0.class,
|
GDBRemoteTracepointsTest_7_0.class,
|
||||||
MIRegistersTest_7_0.class,
|
MIRegistersTest_7_0.class,
|
||||||
MIRunControlTargetAvailableTest_7_0.class,
|
MIRunControlTargetAvailableTest_7_0.class,
|
||||||
|
MIRunControlNonStopTargetAvailableTest_7_0.class,
|
||||||
MIRunControlTest_7_0.class,
|
MIRunControlTest_7_0.class,
|
||||||
MIExpressionsTest_7_0.class,
|
MIExpressionsTest_7_0.class,
|
||||||
MIMemoryTest_7_0.class,
|
MIMemoryTest_7_0.class,
|
||||||
|
|
|
@ -0,0 +1,27 @@
|
||||||
|
/*******************************************************************************
|
||||||
|
* Copyright (c) 2011 Ericsson 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
|
||||||
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* Ericsson AB - Initial implementation of Test cases
|
||||||
|
*******************************************************************************/
|
||||||
|
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_1;
|
||||||
|
|
||||||
|
|
||||||
|
import org.eclipse.cdt.dsf.gdb.IGDBLaunchConfigurationConstants;
|
||||||
|
import org.eclipse.cdt.tests.dsf.gdb.framework.BackgroundRunner;
|
||||||
|
import org.eclipse.cdt.tests.dsf.gdb.tests.ITestConstants;
|
||||||
|
import org.junit.BeforeClass;
|
||||||
|
import org.junit.runner.RunWith;
|
||||||
|
|
||||||
|
@RunWith(BackgroundRunner.class)
|
||||||
|
public class MIRunControlNonStopTargetAvailableTest_7_1 extends MIRunControlTargetAvailableTest_7_1 {
|
||||||
|
@BeforeClass
|
||||||
|
public static void beforeClassMethod_7_1() {
|
||||||
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_1);
|
||||||
|
setLaunchAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUGGER_NON_STOP, true);
|
||||||
|
}
|
||||||
|
}
|
|
@ -29,6 +29,7 @@ import org.junit.runners.Suite;
|
||||||
MIRegistersTest_7_1.class,
|
MIRegistersTest_7_1.class,
|
||||||
MIRunControlTest_7_1.class,
|
MIRunControlTest_7_1.class,
|
||||||
MIRunControlTargetAvailableTest_7_1.class,
|
MIRunControlTargetAvailableTest_7_1.class,
|
||||||
|
MIRunControlNonStopTargetAvailableTest_7_1.class,
|
||||||
MIExpressionsTest_7_1.class,
|
MIExpressionsTest_7_1.class,
|
||||||
MIMemoryTest_7_1.class,
|
MIMemoryTest_7_1.class,
|
||||||
MIBreakpointsTest_7_1.class,
|
MIBreakpointsTest_7_1.class,
|
||||||
|
|
|
@ -33,6 +33,7 @@ import org.junit.runners.Suite;
|
||||||
GDBRemoteTracepointsTest_7_1.class,
|
GDBRemoteTracepointsTest_7_1.class,
|
||||||
MIRegistersTest_7_1.class,
|
MIRegistersTest_7_1.class,
|
||||||
MIRunControlTargetAvailableTest_7_1.class,
|
MIRunControlTargetAvailableTest_7_1.class,
|
||||||
|
MIRunControlNonStopTargetAvailableTest_7_1.class,
|
||||||
MIRunControlTest_7_1.class,
|
MIRunControlTest_7_1.class,
|
||||||
MIExpressionsTest_7_1.class,
|
MIExpressionsTest_7_1.class,
|
||||||
MIMemoryTest_7_1.class,
|
MIMemoryTest_7_1.class,
|
||||||
|
|
|
@ -0,0 +1,27 @@
|
||||||
|
/*******************************************************************************
|
||||||
|
* Copyright (c) 2011 Ericsson 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
|
||||||
|
* http://www.eclipse.org/legal/epl-v10.html
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* Ericsson AB - Initial implementation of Test cases
|
||||||
|
*******************************************************************************/
|
||||||
|
package org.eclipse.cdt.tests.dsf.gdb.tests.tests_7_2;
|
||||||
|
|
||||||
|
|
||||||
|
import org.eclipse.cdt.dsf.gdb.IGDBLaunchConfigurationConstants;
|
||||||
|
import org.eclipse.cdt.tests.dsf.gdb.framework.BackgroundRunner;
|
||||||
|
import org.eclipse.cdt.tests.dsf.gdb.tests.ITestConstants;
|
||||||
|
import org.junit.BeforeClass;
|
||||||
|
import org.junit.runner.RunWith;
|
||||||
|
|
||||||
|
@RunWith(BackgroundRunner.class)
|
||||||
|
public class MIRunControlNonStopTargetAvailableTest_7_2 extends MIRunControlTargetAvailableTest_7_2 {
|
||||||
|
@BeforeClass
|
||||||
|
public static void beforeClassMethod_7_2() {
|
||||||
|
setGdbProgramNamesLaunchAttributes(ITestConstants.SUFFIX_GDB_7_2);
|
||||||
|
setLaunchAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUGGER_NON_STOP, true);
|
||||||
|
}
|
||||||
|
}
|
|
@ -29,6 +29,7 @@ import org.junit.runners.Suite;
|
||||||
MIRegistersTest_7_2.class,
|
MIRegistersTest_7_2.class,
|
||||||
MIRunControlTest_7_2.class,
|
MIRunControlTest_7_2.class,
|
||||||
MIRunControlTargetAvailableTest_7_2.class,
|
MIRunControlTargetAvailableTest_7_2.class,
|
||||||
|
MIRunControlNonStopTargetAvailableTest_7_2.class,
|
||||||
MIExpressionsTest_7_2.class,
|
MIExpressionsTest_7_2.class,
|
||||||
MIMemoryTest_7_2.class,
|
MIMemoryTest_7_2.class,
|
||||||
MIBreakpointsTest_7_2.class,
|
MIBreakpointsTest_7_2.class,
|
||||||
|
|
|
@ -34,6 +34,7 @@ import org.junit.runners.Suite;
|
||||||
MIRegistersTest_7_2.class,
|
MIRegistersTest_7_2.class,
|
||||||
MIRunControlTest_7_2.class,
|
MIRunControlTest_7_2.class,
|
||||||
MIRunControlTargetAvailableTest_7_2.class,
|
MIRunControlTargetAvailableTest_7_2.class,
|
||||||
|
MIRunControlNonStopTargetAvailableTest_7_2.class,
|
||||||
MIExpressionsTest_7_2.class,
|
MIExpressionsTest_7_2.class,
|
||||||
MIMemoryTest_7_2.class,
|
MIMemoryTest_7_2.class,
|
||||||
MIBreakpointsTest_7_2.class,
|
MIBreakpointsTest_7_2.class,
|
||||||
|
|
Loading…
Add table
Reference in a new issue