summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorCamilo Bernal2013-01-10 10:38:53 (EST)
committer Alexander Kurtakov2013-01-10 11:56:32 (EST)
commit9f40a27a0627f4714b26a75d5a6138fc8408826f (patch)
tree55d8b34ef6d3a7433c3cfba54a1c7b578a6b05af
parent24f412afc04907dd92853755e78822f37e53c279 (diff)
downloadorg.eclipse.linuxtools-9f40a27a0627f4714b26a75d5a6138fc8408826f.zip
org.eclipse.linuxtools-9f40a27a0627f4714b26a75d5a6138fc8408826f.tar.gz
org.eclipse.linuxtools-9f40a27a0627f4714b26a75d5a6138fc8408826f.tar.bz2
Fix oprofile testEventConfigTab test failure.refs/changes/84/9584/2
Removed unneeded default opcontrol permissions check as the launch tests do not depend on it. Change-Id: I5ba909f0c6d3a1ed72e4d97489d8557ae8817497 Reviewed-on: https://git.eclipse.org/r/9584 Tested-by: Hudson CI IP-Clean: Alexander Kurtakov <akurtako@redhat.com> Tested-by: Alexander Kurtakov <akurtako@redhat.com> Reviewed-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r--oprofile/org.eclipse.linuxtools.oprofile.launch.tests/src/org/eclipse/linuxtools/oprofile/launch/tests/TestSetup.java3
1 files changed, 3 insertions, 0 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 57b97b1..bca21fe 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
@@ -11,6 +11,7 @@
package org.eclipse.linuxtools.oprofile.launch.tests;
+import org.eclipse.core.resources.IProject;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.debug.core.ILaunchConfiguration;
import org.eclipse.debug.core.ILaunchConfigurationType;
@@ -129,6 +130,8 @@ public class TestSetup extends AbstractTest {
protected int getNumberOfCounters() { return 1; }
@Override
protected boolean checkEventSetupValidity(int counter, String name, int maskValue) { return true; }
+ @Override
+ protected boolean hasPermissions(IProject project) { return true; }
public Button getDefaultCheck() { return defaultEventCheck; }
}