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

- updated test to get more precise info when test is failing

This commit is contained in:
Alena Laskavaia 2008-04-28 14:08:40 +00:00
parent 846e2a2320
commit e121273887

View file

@ -84,12 +84,12 @@ public class EventBreakpointTests extends AbstractDebugTest {
pause();
breakpoints = currentTarget.getBreakpoints();
assertNotNull(breakpoints);
assertTrue(breakpoints.length == 1);
assertEquals(1, breakpoints.length);
if (breakpoints[0] instanceof ICDIEventBreakpoint) {
curbreak = (ICDIEventBreakpoint) breakpoints[0];
} else
curbreak = null;
assertNotNull(curbreak);
assertNotNull("Found breakpoint is not catchpoint",curbreak);
currentTarget.resume(false);
waitSuspend(currentTarget);
// it is stopped we are fine, it did hit breakpoint