mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Cosmetics.
This commit is contained in:
parent
c27d6dec29
commit
f013413676
1 changed files with 1 additions and 17 deletions
|
@ -61,6 +61,7 @@ public abstract class IndexCPPBindingResolutionTest extends IndexBindingResoluti
|
||||||
public SingleProject() {setStrategy(new SinglePDOMTestStrategy(true));}
|
public SingleProject() {setStrategy(new SinglePDOMTestStrategy(true));}
|
||||||
public static TestSuite suite() {return suite(SingleProject.class);}
|
public static TestSuite suite() {return suite(SingleProject.class);}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class ProjectWithDepProj extends IndexCPPBindingResolutionTest {
|
public static class ProjectWithDepProj extends IndexCPPBindingResolutionTest {
|
||||||
public ProjectWithDepProj() {setStrategy(new ReferencedProject(true));}
|
public ProjectWithDepProj() {setStrategy(new ReferencedProject(true));}
|
||||||
public static TestSuite suite() {return suite(ProjectWithDepProj.class);}
|
public static TestSuite suite() {return suite(ProjectWithDepProj.class);}
|
||||||
|
@ -1596,23 +1597,6 @@ public abstract class IndexCPPBindingResolutionTest extends IndexBindingResoluti
|
||||||
assertEquals("ns", ref.getOwner().getName());
|
assertEquals("ns", ref.getOwner().getName());
|
||||||
}
|
}
|
||||||
|
|
||||||
// class A {};
|
|
||||||
// void f(A a) {}
|
|
||||||
// struct B {};
|
|
||||||
// void g(B b) {}
|
|
||||||
|
|
||||||
// struct A;
|
|
||||||
// class B;
|
|
||||||
//
|
|
||||||
// void test(A a, B b) {
|
|
||||||
// f(a);
|
|
||||||
// g(b);
|
|
||||||
// }
|
|
||||||
public void testStructClassMismatch_358282() throws Exception {
|
|
||||||
getBindingFromASTName("f(a)", 1, ICPPFunction.class);
|
|
||||||
getBindingFromASTName("g(b)", 1, ICPPFunction.class);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* CPP assertion helpers */
|
/* CPP assertion helpers */
|
||||||
/* ##################################################################### */
|
/* ##################################################################### */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue