</BUG>
public void testBadFieldMember() throws Exception {
String classDecl = "class Bad { integer a; integer b integer c;}"; // Missing semicolon after integer b
CompilationUnit cu = ParserTestUtil.parseCompilationUnitFromString(classDecl);
<BUG>RootElementFilter filter = new RootElementFilter();
</BUG>
cu._switch(filter);
isFreeFromNulls(provider.getChildren(filter.getRootElements()[0]));
}
public void testBadMethodMember_incompleteTypeParameter() throws Exception {

package com.salesforce.ide.ui.editors.apex.outline;
import com.salesforce.ide.apex.core.utils.ParserTestUtil;
import junit.framework.TestCase;
import apex.jorje.data.ast.CompilationUnit;
public class DisplayInvalidMembersTest_unit extends TestCase {
ApexOutlineContentProviderOld provider = new ApexOutlineContentProviderOld();
public void testBadFieldMember() throws Exception {
String classDecl = "class Bad { integer a; integer b integer c;}"; // Missing semicolon after integer b
CompilationUnit cu = ParserTestUtil.parseCompilationUnitFromString(classDecl);
RootElementFilterOld filter = new RootElementFilterOld();
cu._switch(filter);
isFreeFromNulls(provider.getChildren(filter.getRootElements()[0]));
}
public void testBadMethodMember_incompleteTypeParameter() throws Exception {
