Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Loskutov2017-03-18 12:32:49 -0400
committerAndrey Loskutov2017-03-18 12:49:25 -0400
commit93e5519e2a2843812684004760006f71f64454af (patch)
tree0ce8e3da49d6ce495b2aa7dc9147d896f9f85a28
parent129c0a02b630240c8b25976a1b0d920c9f40266e (diff)
downloadeclipse.platform.debug-93e5519e2a2843812684004760006f71f64454af.tar.gz
eclipse.platform.debug-93e5519e2a2843812684004760006f71f64454af.tar.xz
eclipse.platform.debug-93e5519e2a2843812684004760006f71f64454af.zip
Bug 511743 - CCE at ProcessConsolePageParticipant.getShowInContext()I20170318-2000
Don't return Boolean.TRUE for few unrelated calls in test code. Change-Id: I64390af9a26badc978422dddbd7a67f9e3f91c6c Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
-rw-r--r--org.eclipse.debug.tests/src/org/eclipse/debug/tests/launching/LaunchGroupTests.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/org.eclipse.debug.tests/src/org/eclipse/debug/tests/launching/LaunchGroupTests.java b/org.eclipse.debug.tests/src/org/eclipse/debug/tests/launching/LaunchGroupTests.java
index ae24f968c..f8a5d8634 100644
--- a/org.eclipse.debug.tests/src/org/eclipse/debug/tests/launching/LaunchGroupTests.java
+++ b/org.eclipse.debug.tests/src/org/eclipse/debug/tests/launching/LaunchGroupTests.java
@@ -343,6 +343,12 @@ public class LaunchGroupTests extends AbstractLaunchTest {
if (name.equals("terminate")) { //$NON-NLS-1$
terminated = true;
}
+ if (name.equals("getAdapter")) { //$NON-NLS-1$
+ return null;
+ }
+ if (name.equals("hashCode")) { //$NON-NLS-1$
+ return Integer.valueOf(0);
+ }
return Boolean.TRUE;
}
};

Back to the top