1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-07 09:46:02 +02:00

Test case had coding goof. Incremented and checked wrong iterator variable, leading to early termination of the test.

This commit is contained in:
John Cortell 2010-03-31 19:45:52 +00:00
parent 5db1a3b7f4
commit 8b280845e4

View file

@ -1653,7 +1653,7 @@ public class MIBreakpointsTest extends BaseTestCase {
IBreakpointDMContext[] remaining_breakpoints = getBreakpoints(fBreakpointsDmc);
assertTrue("BreakpointService problem: expected " + breakpoints_left + " breakpoint(s), received "
+ remaining_breakpoints.length, remaining_breakpoints.length == breakpoints_left);
for (int j = 0; i < breakpoints_left; i++) {
for (int j = 0; j < breakpoints_left; j++) {
assertTrue("BreakpointService problem: removed breakpoint still present (" + index + ")",
remaining_breakpoints[j] != index);
}