Bug 98472 New project wizard: second page remove from class path should ask for removal of folder when linked
RC1 - create a new project - switch to the second page - link in additional source observe: there is no way to unlink the addtional source We should offer to unlink the folder when the folder is removed from the build path again.
org.eclipse.jdt.ui.tests/ui/org/eclipse/jdt/ui/tests/dialogs/NewProjectWizardTest.java
import org.eclipse.jdt.internal.corext.buildpath.UnincludeOperation;
import org.eclipse.jdt.ui.PreferenceConstants;
import org.eclipse.jdt.internal.ui.packageview.ClassPathContainer;
import org.eclipse.jdt.internal.ui.wizards.NewWizardMessages;
import org.eclipse.jdt.internal.ui.wizards.buildpaths.CPListElement;
import org.eclipse.jdt.internal.ui.wizards.buildpaths.CPListElementAttribute;
import org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.ClasspathModifierQueries;
import org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.ClasspathModifierQueries.IAddArchivesQuery;
import org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.ClasspathModifierQueries.IAddLibrariesQuery;
import org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.ClasspathModifierQueries.ILinkToQuery;
import org.eclipse.jdt.internal.ui.wizards.buildpaths.newsourcepage.ClasspathModifierQueries.OutputFolderValidator;
import org.eclipse.jdt.testplugin.JavaProjectHelper;
public class NewProjectWizardTest extends TestCase {
	
    private static final Class THIS= NewProjectWizardTest.class;
    
    protected IJavaProject fProject;
    protected static NewProjectTestSetup fTestSetup;
    protected String fNormalFolder= "NormalFolder";
    protected String fSubFolder= "SubFolder";
    
    public NewProjectWizardTest(String name) {
        super(name);
    }
    
    public static Test allTests() {
        return setUpTest(new TestSuite(THIS));
    }
    
    public static Test setUpTest(Test test) {