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
validateClasspath();
    }
    
    public void testRemoveJREFromCP() throws InvocationTargetException, InterruptedException, CoreException {
        IClasspathEntry[] entries= fProject.getRawClasspath();
        IClasspathEntry entry= null;
        for(int i= 0; i < entries.length; i++) {
            if(entries[i].getEntryKind() == IClasspathEntry.CPE_CONTAINER) {
                entry= entries[i];
                break;
            }
        }
        assertTrue(entry != null);
        assertFalse(ClasspathModifier.getClasspathEntryFor(entry.getPath(), fProject, IClasspathEntry.CPE_CONTAINER) == null);
        
        ClassPathContainer container= new ClassPathContainer(fProject, entry);
        IJavaProject project= (IJavaProject) executeOperation(IClasspathInformationProvider.REMOVE_FROM_BP, container, null, null, null, null);
        assertTrue(project.equals(fProject));
        assertTrue(ClasspathModifier.getClasspathEntryFor(entry.getPath(), fProject, IClasspathEntry.CPE_CONTAINER) == null);
        
        validateClasspath();
    }
    
    public void testEditFilters() throws CoreException, InvocationTargetException, InterruptedException {
        IPackageFragmentRoot root= addToClasspath(new Path(fNormalFolder));