Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'systemtap/org.eclipse.linuxtools.callgraph.launch.tests/src/org/eclipse/linuxtools/callgraph/launch/tests/AbstractStapTest.java')
-rw-r--r--systemtap/org.eclipse.linuxtools.callgraph.launch.tests/src/org/eclipse/linuxtools/callgraph/launch/tests/AbstractStapTest.java62
1 files changed, 31 insertions, 31 deletions
diff --git a/systemtap/org.eclipse.linuxtools.callgraph.launch.tests/src/org/eclipse/linuxtools/callgraph/launch/tests/AbstractStapTest.java b/systemtap/org.eclipse.linuxtools.callgraph.launch.tests/src/org/eclipse/linuxtools/callgraph/launch/tests/AbstractStapTest.java
index 6fab0e16ec..f3d3504079 100644
--- a/systemtap/org.eclipse.linuxtools.callgraph.launch.tests/src/org/eclipse/linuxtools/callgraph/launch/tests/AbstractStapTest.java
+++ b/systemtap/org.eclipse.linuxtools.callgraph.launch.tests/src/org/eclipse/linuxtools/callgraph/launch/tests/AbstractStapTest.java
@@ -30,42 +30,42 @@ import org.osgi.framework.FrameworkUtil;
public class AbstractStapTest extends AbstractTest {
- @Override
- protected ILaunchConfigurationType getLaunchConfigType() {
- return getLaunchManager().getLaunchConfigurationType(PluginConstants.CONFIGURATION_TYPE_ID);
- }
+ @Override
+ protected ILaunchConfigurationType getLaunchConfigType() {
+ return getLaunchManager().getLaunchConfigurationType(PluginConstants.CONFIGURATION_TYPE_ID);
+ }
- @Override
- protected void setProfileAttributes(ILaunchConfigurationWorkingCopy wc) {
- ILaunchConfigurationTab tab = new SystemTapOptionsTab();
- tab.setDefaults(wc);
- }
+ @Override
+ protected void setProfileAttributes(ILaunchConfigurationWorkingCopy wc) {
+ ILaunchConfigurationTab tab = new SystemTapOptionsTab();
+ tab.setDefaults(wc);
+ }
- protected ICProject createProjectAndBuild(String projname) throws Exception {
- return createProjectAndBuild(FrameworkUtil.getBundle(this.getClass()), projname);
- }
+ protected ICProject createProjectAndBuild(String projname) throws Exception {
+ return createProjectAndBuild(FrameworkUtil.getBundle(this.getClass()), projname);
+ }
- public void killStap() {
- try {
- RuntimeProcessFactory.getFactory().exec("kill stap", null);
- } catch (IOException e) {
- e.printStackTrace();
- }
- }
+ public void killStap() {
+ try {
+ RuntimeProcessFactory.getFactory().exec("kill stap", null);
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
- private List<ILaunch> launches;
+ private List<ILaunch> launches;
- @Before
- public void setUp() {
- launches = new ArrayList<>();
- }
+ @Before
+ public void setUp() {
+ launches = new ArrayList<>();
+ }
- @After
- public void tearDown() {
- if (!launches.isEmpty()) {
- DebugPlugin.getDefault().getLaunchManager().removeLaunches(launches.toArray(new ILaunch[launches.size()]));
- launches.clear();
- }
- }
+ @After
+ public void tearDown() {
+ if (!launches.isEmpty()) {
+ DebugPlugin.getDefault().getLaunchManager().removeLaunches(launches.toArray(new ILaunch[launches.size()]));
+ launches.clear();
+ }
+ }
}

Back to the top