Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlain Magloire2004-10-15 12:07:00 -0400
committerAlain Magloire2004-10-15 12:07:00 -0400
commit907262fe199624c82e4ec58cb91ff27bab2224ed (patch)
tree5f64beb72f1433f88b4d7dc1cd517d57c3904dc5 /debug/org.eclipse.cdt.debug.ui.tests/core/org
parentf5bde83546ef21b7bda1a823287e9bf2ef00d1d4 (diff)
downloadorg.eclipse.cdt-907262fe199624c82e4ec58cb91ff27bab2224ed.tar.gz
org.eclipse.cdt-907262fe199624c82e4ec58cb91ff27bab2224ed.tar.xz
org.eclipse.cdt-907262fe199624c82e4ec58cb91ff27bab2224ed.zip
2004-10-15 Alain Magloire
Adjust to the change in the CDI * core/org/eclipse/cdt/debug/core/tests/BreakpointTests.java * core/org/eclipse/cdt/debug/core/tests/DebugTests.java * core/org/eclipse/cdt/debug/core/tests/LocationTests.java
Diffstat (limited to 'debug/org.eclipse.cdt.debug.ui.tests/core/org')
-rw-r--r--debug/org.eclipse.cdt.debug.ui.tests/core/org/eclipse/cdt/debug/core/tests/BreakpointTests.java48
-rw-r--r--debug/org.eclipse.cdt.debug.ui.tests/core/org/eclipse/cdt/debug/core/tests/DebugTests.java2
-rw-r--r--debug/org.eclipse.cdt.debug.ui.tests/core/org/eclipse/cdt/debug/core/tests/LocationTests.java4
3 files changed, 27 insertions, 27 deletions
diff --git a/debug/org.eclipse.cdt.debug.ui.tests/core/org/eclipse/cdt/debug/core/tests/BreakpointTests.java b/debug/org.eclipse.cdt.debug.ui.tests/core/org/eclipse/cdt/debug/core/tests/BreakpointTests.java
index 2cdbcd0fa44..c297aaf1cbb 100644
--- a/debug/org.eclipse.cdt.debug.ui.tests/core/org/eclipse/cdt/debug/core/tests/BreakpointTests.java
+++ b/debug/org.eclipse.cdt.debug.ui.tests/core/org/eclipse/cdt/debug/core/tests/BreakpointTests.java
@@ -178,7 +178,7 @@ public class BreakpointTests extends TestCase {
location = cdiTarget.createLocation(null, "func1", 0);
assertNotNull(location);
- cdiTarget.setLocationBreakpoint(0, location, null, null, false);
+ cdiTarget.setLocationBreakpoint(0, location, null, false);
/***********************************************************************
* Create a break point on main
@@ -186,7 +186,7 @@ public class BreakpointTests extends TestCase {
location = cdiTarget.createLocation(null, "main", 0);
assertNotNull(location);
- cdiTarget.setLocationBreakpoint(0, location, null, null, false);
+ cdiTarget.setLocationBreakpoint(0, location, null, false);
/***********************************************************************
* Try to create a break point on a function name that does not exist We
@@ -197,7 +197,7 @@ public class BreakpointTests extends TestCase {
location = cdiTarget.createLocation(null, "badname", 0);
assertNotNull(location);
try {
- cdiTarget.setLocationBreakpoint(0, location, null, null, false);
+ cdiTarget.setLocationBreakpoint(0, location, null, false);
} catch (CDIException e) {
caught = true;
}
@@ -212,7 +212,7 @@ public class BreakpointTests extends TestCase {
location = cdiTarget.createLocation(null, "func1", 0);
assertNotNull(location);
- cdiTarget.setLocationBreakpoint(0, location, null, null, false);
+ cdiTarget.setLocationBreakpoint(0, location, null, false);
targets = session.getTargets();
/*
* We better only have one target connected to this session or something
@@ -272,14 +272,14 @@ public class BreakpointTests extends TestCase {
**********************************************************************/
location = cdiTarget.createLocation("main.c", null, 7);
assertNotNull(location);
- cdiTarget.setLocationBreakpoint(0, location, null, null, false);
+ cdiTarget.setLocationBreakpoint(0, location, null, false);
/***********************************************************************
* Create a break point in main
**********************************************************************/
location = cdiTarget.createLocation("main.c", null, 18);
assertNotNull(location);
- cdiTarget.setLocationBreakpoint(0, location, null, null, false);
+ cdiTarget.setLocationBreakpoint(0, location, null, false);
/***********************************************************************
* Try to create a break point on a line that does not exist We expect
@@ -290,7 +290,7 @@ public class BreakpointTests extends TestCase {
location = cdiTarget.createLocation("main.c", null, 30);
assertNotNull(location);
try {
- cdiTarget.setLocationBreakpoint(0, location, null, null, false);
+ cdiTarget.setLocationBreakpoint(0, location, null, false);
} catch (CDIException e) {
caught = true;
}
@@ -303,7 +303,7 @@ public class BreakpointTests extends TestCase {
location = cdiTarget.createLocation("main.c", null, 11);
assertNotNull(location);
- cdiTarget.setLocationBreakpoint(0, location, null, null, false);
+ cdiTarget.setLocationBreakpoint(0, location, null, false);
/***********************************************************************
* Create a break point in a generic function without passing the source
@@ -314,12 +314,12 @@ public class BreakpointTests extends TestCase {
**********************************************************************/
location = cdiTarget.createLocation(null, null, 7);
assertNotNull(location);
- cdiTarget.setLocationBreakpoint(0, location, null, null, false);
+ cdiTarget.setLocationBreakpoint(0, location, null, false);
caught = false;
location = cdiTarget.createLocation(null, null, 30);
assertNotNull(location);
try {
- cdiTarget.setLocationBreakpoint(0, location, null, null, false);
+ cdiTarget.setLocationBreakpoint(0, location, null, false);
} catch (CDIException e) {
caught = true;
}
@@ -334,7 +334,7 @@ public class BreakpointTests extends TestCase {
location = cdiTarget.createLocation(null, null, 7);
assertNotNull(location);
- cdiTarget.setLocationBreakpoint(0, location, null, null, false);
+ cdiTarget.setLocationBreakpoint(0, location, null, false);
targets = session.getTargets();
/*
* We better only have one target connected to this session or something
@@ -397,7 +397,7 @@ public class BreakpointTests extends TestCase {
/* Create a break point on a generic function */
location = cdiTarget.createLocation("main.c", "func1", 0);
assertNotNull(location);
- cdiTarget.setLocationBreakpoint(0, location, null, null, false);
+ cdiTarget.setLocationBreakpoint(0, location, null, false);
breakpoints = cdiTarget.getBreakpoints();
assertNotNull(breakpoints);
@@ -417,7 +417,7 @@ public class BreakpointTests extends TestCase {
/* Create another break point on main */
location = cdiTarget.createLocation("main.c", "main", 0);
assertNotNull(location);
- cdiTarget.setLocationBreakpoint(0, location, null, null, false);
+ cdiTarget.setLocationBreakpoint(0, location, null, false);
breakpoints = cdiTarget.getBreakpoints();
assertNotNull(breakpoints);
@@ -469,7 +469,7 @@ public class BreakpointTests extends TestCase {
/* Create a break point on a generic function */
location = cdiTarget.createLocation("main.c", "func1", 0);
assertNotNull(location);
- curbreak = cdiTarget.setLocationBreakpoint(0, location, null, null, false);
+ curbreak = cdiTarget.setLocationBreakpoint(0, location, null, false);
cdiTarget.deleteBreakpoints( new ICDIBreakpoint[] { curbreak } );
pause();
/**
@@ -488,12 +488,12 @@ public class BreakpointTests extends TestCase {
/* Create a break point on a generic function */
location = cdiTarget.createLocation("main.c", "func1", 0);
assertNotNull(location);
- curbreak = cdiTarget.setLocationBreakpoint(0, location, null, null, false);
+ curbreak = cdiTarget.setLocationBreakpoint(0, location, null, false);
savedLocation = curbreak.getLocation();
location = cdiTarget.createLocation("main.c", "main", 0);
assertNotNull(location);
- curbreak = cdiTarget.setLocationBreakpoint(0, location, null, null, false);
+ curbreak = cdiTarget.setLocationBreakpoint(0, location, null, false);
cdiTarget.deleteBreakpoints( new ICDIBreakpoint[] { curbreak } );
pause();
breakpoints = cdiTarget.getBreakpoints();
@@ -518,7 +518,7 @@ public class BreakpointTests extends TestCase {
savedbreakpoints = new ICDIBreakpoint[1];
for (int x = 0; x < 10; x++) {
location = cdiTarget.createLocation("main.c", null, x + 1);
- savedbreakpoints[0] = cdiTarget.setLocationBreakpoint(0, location, null, null, false);
+ savedbreakpoints[0] = cdiTarget.setLocationBreakpoint(0, location, null, false);
assertNotNull(savedbreakpoints[0]);
}
cdiTarget.deleteBreakpoints(savedbreakpoints);
@@ -542,7 +542,7 @@ public class BreakpointTests extends TestCase {
savedbreakpoints = new ICDIBreakpoint[4];
for (int x = 0; x < 10; x++) {
location = cdiTarget.createLocation("main.c", null, x + 1);
- savedbreakpoints[x % 4] = cdiTarget.setLocationBreakpoint(0, location, null, null, false);
+ savedbreakpoints[x % 4] = cdiTarget.setLocationBreakpoint(0, location, null, false);
assertNotNull(savedbreakpoints[x % 4]);
}
cdiTarget.deleteBreakpoints(savedbreakpoints);
@@ -566,7 +566,7 @@ public class BreakpointTests extends TestCase {
savedbreakpoints = new ICDIBreakpoint[10];
for (int x = 0; x < 10; x++) {
location = cdiTarget.createLocation("main.c", null, x + 1);
- savedbreakpoints[x] = cdiTarget.setLocationBreakpoint(0, location, null, null, false);
+ savedbreakpoints[x] = cdiTarget.setLocationBreakpoint(0, location, null, false);
assertNotNull(savedbreakpoints[x]);
}
cdiTarget.deleteBreakpoints(savedbreakpoints);
@@ -581,7 +581,7 @@ public class BreakpointTests extends TestCase {
for (int x = 0; x < 10; x++) {
location = cdiTarget.createLocation("main.c", null, x + 1);
- curbreak = cdiTarget.setLocationBreakpoint(0, location, null, null, false);
+ curbreak = cdiTarget.setLocationBreakpoint(0, location, null, false);
assertNotNull(curbreak);
}
cdiTarget.deleteAllBreakpoints();
@@ -613,7 +613,7 @@ public class BreakpointTests extends TestCase {
ICDICondition cond = cdiTarget.createCondition(0, "");
ICDILocation location = cdiTarget.createLocation(null, "func1", 0);
assertNotNull(location);
- cdiTarget.setLocationBreakpoint(0, location, cond, null, false);
+ cdiTarget.setLocationBreakpoint(0, location, cond, false);
/***********************************************************************
* Create a break point on a generic function with an valid condition
@@ -621,7 +621,7 @@ public class BreakpointTests extends TestCase {
cond = cdiTarget.createCondition(0, "x<10");
location = cdiTarget.createLocation(null, "func1", 0);
assertNotNull(location);
- cdiTarget.setLocationBreakpoint(0, location, cond, null, false);
+ cdiTarget.setLocationBreakpoint(0, location, cond, false);
/***********************************************************************
* Create a break point on a generic function with an invalid condition
@@ -631,7 +631,7 @@ public class BreakpointTests extends TestCase {
location = cdiTarget.createLocation(null, "func1", 0);
assertNotNull(location);
try {
- cdiTarget.setLocationBreakpoint(0, location, cond, null, false);
+ cdiTarget.setLocationBreakpoint(0, location, cond, false);
} catch (CDIException e) {
caught = true;
}
@@ -647,7 +647,7 @@ public class BreakpointTests extends TestCase {
assertNotNull(location);
cond = cdiTarget.createCondition(0, "a>10");
- cdiTarget.setLocationBreakpoint(0, location, cond, null, false);
+ cdiTarget.setLocationBreakpoint(0, location, cond, false);
targets = session.getTargets();
/*
* We better only have one target connected to this session or something
diff --git a/debug/org.eclipse.cdt.debug.ui.tests/core/org/eclipse/cdt/debug/core/tests/DebugTests.java b/debug/org.eclipse.cdt.debug.ui.tests/core/org/eclipse/cdt/debug/core/tests/DebugTests.java
index 1ff0cc2e3d7..bbb65eefb74 100644
--- a/debug/org.eclipse.cdt.debug.ui.tests/core/org/eclipse/cdt/debug/core/tests/DebugTests.java
+++ b/debug/org.eclipse.cdt.debug.ui.tests/core/org/eclipse/cdt/debug/core/tests/DebugTests.java
@@ -128,7 +128,7 @@ public class DebugTests extends TestCase {
assertNotNull(cdiTarget);
location=cdiTarget.createLocation(null, "func1", 0);
assertNotNull(location);
- cdiTarget.setLocationBreakpoint(0, location, null, null, false);
+ cdiTarget.setLocationBreakpoint(0, location, null, false);
session.getCurrentTarget().resume();
session.terminate();
session=null;
diff --git a/debug/org.eclipse.cdt.debug.ui.tests/core/org/eclipse/cdt/debug/core/tests/LocationTests.java b/debug/org.eclipse.cdt.debug.ui.tests/core/org/eclipse/cdt/debug/core/tests/LocationTests.java
index e4cb72eae90..b6df05590b1 100644
--- a/debug/org.eclipse.cdt.debug.ui.tests/core/org/eclipse/cdt/debug/core/tests/LocationTests.java
+++ b/debug/org.eclipse.cdt.debug.ui.tests/core/org/eclipse/cdt/debug/core/tests/LocationTests.java
@@ -144,7 +144,7 @@ public class LocationTests extends TestCase {
**********************************************************************/
location=cdiTarget.createLocation("main.c", "func1", 0);
assertNotNull(location);
- location2=cdiTarget.setLocationBreakpoint(0, location, null, null, false).getLocation();
+ location2=cdiTarget.setLocationBreakpoint(0, location, null, false).getLocation();
breakpoints=cdiTarget.getBreakpoints();
assertNotNull(breakpoints);
@@ -163,7 +163,7 @@ public class LocationTests extends TestCase {
*/
location=cdiTarget.createLocation("main.c", "func1", 0);
assertNotNull(location);
- cdiTarget.setLocationBreakpoint(0, location, null, null, false);
+ cdiTarget.setLocationBreakpoint(0, location, null, false);
breakpoints=cdiTarget.getBreakpoints();
assertNotNull(breakpoints);

Back to the top