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:
parent
846e2a2320
commit
e121273887
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue