Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2018-12-26 21:22:35 +0000
committerEugene Tarassov2018-12-26 21:22:35 +0000
commitf565dce9cf94da8116e09b54e97f0b36359d6a00 (patch)
tree58695d637cfbb3c9d338dc55febfcad97e027b43 /plugins
parent66e9a4635715949d82bedef3c137fcf57fc0fc5e (diff)
downloadorg.eclipse.tcf-f565dce9cf94da8116e09b54e97f0b36359d6a00.tar.gz
org.eclipse.tcf-f565dce9cf94da8116e09b54e97f0b36359d6a00.tar.xz
org.eclipse.tcf-f565dce9cf94da8116e09b54e97f0b36359d6a00.zip
TCF Tests: fixed handling of contextException event in the Expressions test
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestExpressions.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestExpressions.java b/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestExpressions.java
index b1c1fc590..fa558a2fb 100644
--- a/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestExpressions.java
+++ b/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestExpressions.java
@@ -975,14 +975,14 @@ class TestExpressions implements ITCFTest, RunControl.DiagnosticTestDone,
public void contextChanged(IRunControl.RunControlContext[] contexts) {
}
- public void contextException(String context, String msg) {
+ public void contextException(String id, String msg) {
if (test_done) return;
- IRunControl.RunControlContext ctx = test_rc.getContext(context);
+ IRunControl.RunControlContext ctx = test_rc.getContext(id);
if (ctx != null) {
if (test_ctx_id == null) return;
String p = ctx.getParentID();
String c = ctx.getCreatorID();
- if (!test_ctx_id.equals(c) && !test_ctx_id.equals(p)) return;
+ if (!test_ctx_id.equals(id) && !test_ctx_id.equals(c) && !test_ctx_id.equals(p)) return;
exit(new Exception("Context exception: " + msg));
}
}

Back to the top