mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-09-08 11:03:28 +02:00
Additional testcases are passing, because bug 167311 was fixed.
This commit is contained in:
parent
a9a42284f3
commit
3499064a9a
2 changed files with 2 additions and 4 deletions
|
@ -95,8 +95,7 @@ public class CPPFunctionTests extends PDOMTestBase {
|
||||||
assertTrue(((ICPPFunction) bindings[0]).isExtern());
|
assertTrue(((ICPPFunction) bindings[0]).isExtern());
|
||||||
}
|
}
|
||||||
|
|
||||||
// disabled for 167311
|
public void testStaticCPPFunction() throws Exception {
|
||||||
public void _testStaticCPPFunction() throws Exception {
|
|
||||||
// static elements cannot be found on global scope, see bug 161216
|
// static elements cannot be found on global scope, see bug 161216
|
||||||
IBinding[] bindings = findQualifiedName(pdom, "staticCPPFunction");
|
IBinding[] bindings = findQualifiedName(pdom, "staticCPPFunction");
|
||||||
assertEquals(0, bindings.length);
|
assertEquals(0, bindings.length);
|
||||||
|
|
|
@ -181,8 +181,7 @@ public class MethodTests extends PDOMTestBase {
|
||||||
assertTrue(method.isInline());
|
assertTrue(method.isInline());
|
||||||
}
|
}
|
||||||
|
|
||||||
// disabled for 167311
|
public void testStaticMethod() throws Exception {
|
||||||
public void _testStaticMethod() throws Exception {
|
|
||||||
IBinding[] bindings = findQualifiedName(pdom, "Class1::staticMethod");
|
IBinding[] bindings = findQualifiedName(pdom, "Class1::staticMethod");
|
||||||
assertEquals(1, bindings.length);
|
assertEquals(1, bindings.length);
|
||||||
ICPPMethod method = (ICPPMethod) bindings[0];
|
ICPPMethod method = (ICPPMethod) bindings[0];
|
||||||
|
|
Loading…
Add table
Reference in a new issue