Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreutarass2010-09-10 17:07:26 -0400
committereutarass2010-09-10 17:07:26 -0400
commitb6fb6a135a4effb6cb3bf5f7d38ee519053c0790 (patch)
tree2302673276ee145f113ce7f47cbb8b354cacac2c /plugins/org.eclipse.tm.tcf.debug
parent07999c4dbe457d17846e0d4f4d459c1d3dc54ee6 (diff)
downloadorg.eclipse.tcf-b6fb6a135a4effb6cb3bf5f7d38ee519053c0790.tar.gz
org.eclipse.tcf-b6fb6a135a4effb6cb3bf5f7d38ee519053c0790.tar.xz
org.eclipse.tcf-b6fb6a135a4effb6cb3bf5f7d38ee519053c0790.zip
TCF Debugger: Fixed: assert can fail when diagnostic tests are canceled
Diffstat (limited to 'plugins/org.eclipse.tm.tcf.debug')
-rw-r--r--plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TestRCBP1.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TestRCBP1.java b/plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TestRCBP1.java
index a2d66c01d..e5b954f1e 100644
--- a/plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TestRCBP1.java
+++ b/plugins/org.eclipse.tm.tcf.debug/src/org/eclipse/tm/internal/tcf/debug/tests/TestRCBP1.java
@@ -265,8 +265,7 @@ class TestRCBP1 implements ITCFTest, IRunControl.RunControlListener {
if (error != null) {
exit(error);
}
- else {
- assert test_suite.isActive(TestRCBP1.this);
+ else if (test_suite.isActive(TestRCBP1.this)) {
assert test_ctx_id == null;
test_ctx_id = context_id;
if (pending_cancel != null) {

Back to the top