Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'oprofile/org.eclipse.linuxtools.oprofile.launch.tests/src/org/eclipse/linuxtools/oprofile/launch/tests/utils/OprofileTestingEventConfigTab.java')
-rw-r--r--oprofile/org.eclipse.linuxtools.oprofile.launch.tests/src/org/eclipse/linuxtools/oprofile/launch/tests/utils/OprofileTestingEventConfigTab.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/oprofile/org.eclipse.linuxtools.oprofile.launch.tests/src/org/eclipse/linuxtools/oprofile/launch/tests/utils/OprofileTestingEventConfigTab.java b/oprofile/org.eclipse.linuxtools.oprofile.launch.tests/src/org/eclipse/linuxtools/oprofile/launch/tests/utils/OprofileTestingEventConfigTab.java
index 38854e82c6..39044e51f0 100644
--- a/oprofile/org.eclipse.linuxtools.oprofile.launch.tests/src/org/eclipse/linuxtools/oprofile/launch/tests/utils/OprofileTestingEventConfigTab.java
+++ b/oprofile/org.eclipse.linuxtools.oprofile.launch.tests/src/org/eclipse/linuxtools/oprofile/launch/tests/utils/OprofileTestingEventConfigTab.java
@@ -61,9 +61,6 @@ public class OprofileTestingEventConfigTab extends AbstractEventConfigTab {
protected OprofileCounter[] getOprofileCounters(ILaunchConfiguration config) {
// setup and return mock counters
OprofileCounter[] ctrs = new OprofileCounter[] { getOprofileCounter(1) };
- if (config != null) {
- ctrs[0].loadConfiguration(config);
- }
return ctrs;
}
@@ -96,7 +93,7 @@ public class OprofileTestingEventConfigTab extends AbstractEventConfigTab {
// mock counter
OprofileCounter ctr = new OprofileCounter(i, events);
ctr.setCount(1);
- ctr.setEvent(event);
+ ctr.setEvents(new OpEvent [] {event});
return ctr;
}

Back to the top