diff options
author | Eugene Tarassov | 2018-12-26 21:22:35 +0000 |
---|---|---|
committer | Eugene Tarassov | 2018-12-26 21:22:35 +0000 |
commit | f565dce9cf94da8116e09b54e97f0b36359d6a00 (patch) | |
tree | 58695d637cfbb3c9d338dc55febfcad97e027b43 /plugins/org.eclipse.tcf.debug | |
parent | 66e9a4635715949d82bedef3c137fcf57fc0fc5e (diff) | |
download | org.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/org.eclipse.tcf.debug')
-rw-r--r-- | plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestExpressions.java | 6 |
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)); } } |