Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 92251c6417f36a3b89096f759bb9394e81ae070a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*******************************************************************************
 * 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			  - Initial Implementation
 *******************************************************************************/
package org.eclipse.cdt.tests.dsf.gdb.framework;

import org.eclipse.cdt.debug.core.ICDTLaunchConfigurationConstants;
import org.eclipse.cdt.dsf.gdb.IGDBLaunchConfigurationConstants;
import org.junit.AfterClass;
import org.junit.BeforeClass;

/**
 * This base class sets the attributes necessary to do a
 * remote debugging session.
 */
public class BaseRemoteSuite {
	@BeforeClass
    public static void baseRemoteSuiteBeforeClassMethod() {
		BaseTestCase.setGlobalLaunchAttribute(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_START_MODE,
				                        IGDBLaunchConfigurationConstants.DEBUGGER_MODE_REMOTE);
	}
	@AfterClass
    public static void baseRemoteSuiteAfterClassMethod() {
		BaseTestCase.removeGlobalLaunchAttribute(ICDTLaunchConfigurationConstants.ATTR_DEBUGGER_START_MODE);
	}
}

Back to the top