Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2012-02-23 15:33:39 -0500
committerEugene Tarassov2012-02-23 15:33:39 -0500
commitefbded9bba8434d12b2f5e789402fee4657c9d5a (patch)
tree4d3635bef5fcf754fbccf9e08d9a9496de22ecaf
parent11287c11e760f51e308a13e26bf9f8a6d8651313 (diff)
downloadorg.eclipse.tcf-efbded9bba8434d12b2f5e789402fee4657c9d5a.tar.gz
org.eclipse.tcf-efbded9bba8434d12b2f5e789402fee4657c9d5a.tar.xz
org.eclipse.tcf-efbded9bba8434d12b2f5e789402fee4657c9d5a.zip
TCF Tests: fixed "invalid breakpoint" test.
-rw-r--r--plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestRCBP1.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestRCBP1.java b/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestRCBP1.java
index 229081275..e95300022 100644
--- a/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestRCBP1.java
+++ b/plugins/org.eclipse.tcf.debug/src/org/eclipse/tcf/internal/debug/tests/TestRCBP1.java
@@ -101,6 +101,7 @@ class TestRCBP1 implements ITCFTest, IRunControl.RunControlListener {
private ILineNumbers.CodeArea data_bp_area;
private String data_bp_id;
private String temp_bp_id;
+ private String inv_bp_id;
private boolean temp_bp_removed;
private int temp_bp_cnt;
private int data_bp_cnt;
@@ -154,6 +155,7 @@ class TestRCBP1 implements ITCFTest, IRunControl.RunControlListener {
}
if (err != null) {
if (bp_cnt == 0 && id.equals(data_bp_id)) return;
+ if (id.equals(inv_bp_id)) return;
exit(new Exception("Invalid BP status: " + err));
}
}
@@ -613,6 +615,7 @@ class TestRCBP1 implements ITCFTest, IRunControl.RunControlListener {
case 9:
// Invalid breakpoint that should not be planted
m[i].put("Unknown property", "Unknown value");
+ inv_bp_id = (String)m[i].get(IBreakpoints.PROP_ID);
break;
}
bp_list.put((String)m[i].get(IBreakpoints.PROP_ID), m[i]);

Back to the top