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/NewProjectWizardOperationTest.java
public NewProjectWizardOperationTest() {
        super(THIS.getName());
    }
    
    protected void setUp() throws Exception {
        fProject= createProject();
        fSelection= new ArrayList();
        fActionGroup= new DialogPackageExplorerActionGroup(this, null);
        assertFalse(fProject.isOnClasspath(fProject.getUnderlyingResource()));
    }
    protected void tearDown() throws Exception {
        fActionGroup.dispose();
        fSelection.clear();
        fProject.getProject().delete(true, true, null);
    }
    
    public void testProjectWithOthers() throws JavaModelException {
        addToSelection(new int[] {PROJ});
        DialogExplorerActionContext context= createContext();
        addListener(new int[] {ADD_SEL_SF_TO_BP, CREATE_LINK});
        fActionGroup.setContext(context);
        reset();
        
        addToSelection(new int[] {PROJ, SRC});
        context= createContext();
        addListener(new int[] {});
        fActionGroup.setContext(context);
        reset();