mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-08 08:45:44 +02:00
Fix testcases for 101287, navigation of variables.
This commit is contained in:
parent
91122b9e89
commit
822bb6907a
3 changed files with 7 additions and 5 deletions
|
@ -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())) {
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue