1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-19 23:15:24 +02:00

Additional testcases are passing, because bug 167311 was fixed.

This commit is contained in:
Markus Schorn 2006-12-21 08:34:13 +00:00
parent a9a42284f3
commit 3499064a9a
2 changed files with 2 additions and 4 deletions

View file

@ -95,8 +95,7 @@ public class CPPFunctionTests extends PDOMTestBase {
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
IBinding[] bindings = findQualifiedName(pdom, "staticCPPFunction");
assertEquals(0, bindings.length);

View file

@ -181,8 +181,7 @@ public class MethodTests extends PDOMTestBase {
assertTrue(method.isInline());
}
// disabled for 167311
public void _testStaticMethod() throws Exception {
public void testStaticMethod() throws Exception {
IBinding[] bindings = findQualifiedName(pdom, "Class1::staticMethod");
assertEquals(1, bindings.length);
ICPPMethod method = (ICPPMethod) bindings[0];