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
fTestSetup= new NewProjectTestSetup(test);
        return fTestSetup;
    }
    
    public static Test suite() {
        TestSuite suite= new TestSuite(THIS);
        fTestSetup= new NewProjectTestSetup(suite);
        suite.addTestSuite(NewEmptyProjectWizardTest.THIS);
        suite.addTestSuite(NewProjectWizardOperationTest.THIS);
        return fTestSetup;
    }
    
    protected void setUp() throws Exception {
        fProject= fTestSetup.getWorkspaceProjectWithSrc();
        assertFalse(fProject.isOnClasspath(fProject.getUnderlyingResource()));
    }
    protected void tearDown() throws Exception {
        fProject.getProject().delete(true, true, null);
    }
    
    
    public void testCreateNormalFolderOnProject() throws CoreException, InvocationTargetException, InterruptedException {
        IFolder folder= (IFolder)executeOperation(IClasspathInformationProvider.CREATE_FOLDER, null, getOutputFolderQueryInternal(fProject.getOutputLocation()), null, getNormalFolderCreationQuery(), null);
        
        assertTrue(folder.exists());
        assertTrue(folder.getName().equals(fNormalFolder));
        assertTrue(ClasspathModifier.getClasspathEntryFor(folder.getFullPath(), fProject, IClasspathEntry.CPE_SOURCE) == null);
        
        validateClasspath();
    }