Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2014-01-24 22:10:45 -0500
committerEugene Tarassov2014-01-24 22:10:45 -0500
commita1f860540ca85dec8173e4ec5cf1dce53f013971 (patch)
tree794b813ffd2e5cbb48dbcb6f3e74b894fccf3ad1 /plugins/org.eclipse.tcf.debug
parent17ba8040c98018f89dc00bbecdcd1ae188eff9c7 (diff)
downloadorg.eclipse.tcf-a1f860540ca85dec8173e4ec5cf1dce53f013971.tar.gz
org.eclipse.tcf-a1f860540ca85dec8173e4ec5cf1dce53f013971.tar.xz
org.eclipse.tcf-a1f860540ca85dec8173e4ec5cf1dce53f013971.zip
TCF Tests: better error message
Diffstat (limited to 'plugins/org.eclipse.tcf.debug')
-rw-r--r--plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestExpressions.java4
1 files changed, 2 insertions, 2 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 1b5feaed7..0af2862da 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
@@ -845,7 +845,7 @@ class TestExpressions implements ITCFTest, RunControl.DiagnosticTestDone,
}
}));
for (int n = 0; n < test_dprintfs.length; n += 2) {
- String txt = test_dprintfs[n];
+ final String txt = test_dprintfs[n];
final String res = test_dprintfs[n + 1];
cmds.add(srv_expr.create(stack_trace[stack_trace.length - 2], null, txt, new IExpressions.DoneCreate() {
public void doneCreate(IToken token, Exception error, IExpressions.Expression ctx) {
@@ -854,7 +854,7 @@ class TestExpressions implements ITCFTest, RunControl.DiagnosticTestDone,
if (res != null) exit(error);
}
else {
- if (res == null) exit(new Exception("Expressions service was expected to return error"));
+ if (res == null) exit(new Exception("Expressions service was expected to return error: " + txt));
expr_to_dispose.add(ctx.getID());
cmds.add(srv_expr.evaluate(ctx.getID(), new IExpressions.DoneEvaluate() {
@Override

Back to the top