Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCamilo Bernal2013-01-21 21:56:59 +0000
committerRoland Grunberg2013-01-22 21:29:11 +0000
commit964f7901fe1c1c259e8988b3d7aebe5321ff0156 (patch)
tree54ae7a5834788c6131396aadc1749ebe80364c60 /oprofile/org.eclipse.linuxtools.oprofile.launch.tests
parentfdcbf437920c3a36474c1bb9fd12cab6e29ba6e1 (diff)
downloadorg.eclipse.linuxtools-964f7901fe1c1c259e8988b3d7aebe5321ff0156.tar.gz
org.eclipse.linuxtools-964f7901fe1c1c259e8988b3d7aebe5321ff0156.tar.xz
org.eclipse.linuxtools-964f7901fe1c1c259e8988b3d7aebe5321ff0156.zip
Separate opcontrol and ui functionality in oprofile's event config tab.
Created abstract class to contain all ui code, leaving opcontrol dependent functionality to be provided in a separate class and allowing for better mocking during testing. Change-Id: I0ac108793d5843db59c85598b5702111144b4fde Reviewed-on: https://git.eclipse.org/r/9719 Tested-by: Hudson CI Reviewed-by: Roland Grunberg <rgrunber@redhat.com> IP-Clean: Roland Grunberg <rgrunber@redhat.com> Tested-by: Roland Grunberg <rgrunber@redhat.com>
Diffstat (limited to 'oprofile/org.eclipse.linuxtools.oprofile.launch.tests')
-rw-r--r--oprofile/org.eclipse.linuxtools.oprofile.launch.tests/src/org/eclipse/linuxtools/oprofile/launch/tests/TestSetup.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/oprofile/org.eclipse.linuxtools.oprofile.launch.tests/src/org/eclipse/linuxtools/oprofile/launch/tests/TestSetup.java b/oprofile/org.eclipse.linuxtools.oprofile.launch.tests/src/org/eclipse/linuxtools/oprofile/launch/tests/TestSetup.java
index bca21fe9b9..505cf4e6d4 100644
--- a/oprofile/org.eclipse.linuxtools.oprofile.launch.tests/src/org/eclipse/linuxtools/oprofile/launch/tests/TestSetup.java
+++ b/oprofile/org.eclipse.linuxtools.oprofile.launch.tests/src/org/eclipse/linuxtools/oprofile/launch/tests/TestSetup.java
@@ -125,9 +125,9 @@ public class TestSetup extends AbstractTest {
private static class OprofileTestingEventConfigTab extends OprofileEventConfigTab {
@Override
- protected boolean getTimerMode() { return false; }
+ protected boolean getOprofileTimerMode() { return false; }
@Override
- protected int getNumberOfCounters() { return 1; }
+ protected int getNumberOfOprofileCounters() { return 1; }
@Override
protected boolean checkEventSetupValidity(int counter, String name, int maskValue) { return true; }
@Override

Back to the top