1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-08 00:35:49 +02:00

Fix testcases for 101287, navigation of variables.

This commit is contained in:
Markus Schorn 2007-05-16 14:20:25 +00:00
parent 91122b9e89
commit 822bb6907a
3 changed files with 7 additions and 5 deletions

View file

@ -218,7 +218,7 @@ public class BaseUITestCase extends BaseTestCase {
final protected TreeItem checkTreeNode(Tree tree, int i0, String label) {
TreeItem root= null;
for (int i=0; i<200; i++) {
for (int i=0; i<400; i++) {
try {
root= tree.getItem(i0);
if (label.equals(root.getText())) {

View file

@ -294,8 +294,10 @@ public abstract class CPPSelectionTestsAnyIndexer extends BaseSelectionTestsInde
// };
// #include "testBug86829B.h"
// void testfunc() {
// Y a;
// int c = X(a); // OK: a.operator X().operator int()
// }
public void _testBug86829B() throws Exception {
StringBuffer[] buffers= getContents(2);
String hcode= buffers[0].toString();
@ -591,9 +593,9 @@ public abstract class CPPSelectionTestsAnyIndexer extends BaseSelectionTestsInde
// #include "testBug101287.h"
// int main(int argc, char **argv) {
// abc
// abc;
// }
public void _testBug101287() throws Exception {
public void testBug101287() throws Exception {
StringBuffer[] buffers= getContents(2);
String hcode= buffers[0].toString();
String scode= buffers[1].toString();

View file

@ -284,9 +284,9 @@ public abstract class CSelectionTestsAnyIndexer extends BaseSelectionTestsIndexe
// #include "testBug101287.h"
// int main(int argc, char **argv) {
// abc
// abc;
// }
public void _testBug101287() throws Exception {
public void testBug101287() throws Exception {
StringBuffer[] buffers= getContents(2);
String hcode= buffers[0].toString();
String scode= buffers[1].toString();