diff options
Diffstat (limited to 'core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/pdom/tests/CVariableTests.java')
-rw-r--r-- | core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/pdom/tests/CVariableTests.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/pdom/tests/CVariableTests.java b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/pdom/tests/CVariableTests.java index 088d74981d0..caf5d01d5a0 100644 --- a/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/pdom/tests/CVariableTests.java +++ b/core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/pdom/tests/CVariableTests.java @@ -49,10 +49,11 @@ public class CVariableTests extends PDOMTestBase { protected void tearDown() throws Exception { pdom.releaseReadLock(); if (project != null) { - project.getProject().delete(IResource.FORCE | IResource.ALWAYS_DELETE_PROJECT_CONTENT, new NullProgressMonitor()); + project.getProject().delete(IResource.FORCE | IResource.ALWAYS_DELETE_PROJECT_CONTENT, + new NullProgressMonitor()); } } - + public void testCAutoVariable() throws Exception { IBinding[] bindings = findQualifiedName(pdom, "autoCVariable"); assertEquals(1, bindings.length); @@ -75,7 +76,7 @@ public class CVariableTests extends PDOMTestBase { } public void testCStaticVariable() 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 = findUnqualifiedName(pdom, "staticCVariable"); assertEquals(1, bindings.length); IVariable variable = (IVariable) bindings[0]; |