mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 09:25:31 +02:00
1. Follow-up for fix for [Bug 188764] make it posible to apply the "isCDTProjectCreating" ICProjectDescription with no configurations
2. test for the above functionality
This commit is contained in:
parent
9c79058aad
commit
f535244b89
2 changed files with 2 additions and 2 deletions
|
@ -124,7 +124,7 @@ public class CProjectDescriptionBasicTests extends BaseTestCase{
|
|||
|
||||
}
|
||||
|
||||
public void remove_prefix_testSetInvalidCreatingDescription() throws Exception {
|
||||
public void testSetInvalidCreatingDescription() throws Exception {
|
||||
IWorkspace wsp = ResourcesPlugin.getWorkspace();
|
||||
IWorkspaceRoot root = wsp.getRoot();
|
||||
|
||||
|
|
|
@ -326,7 +326,7 @@ public class CConfigBasedDescriptorManager implements ICDescriptorManager {
|
|||
throw ExceptionFactory.createCoreException(CCorePlugin.getResourceString("CConfigBasedDescriptorManager.4")); //$NON-NLS-1$
|
||||
|
||||
dr = new CConfigBasedDescriptor(cfgDes);
|
||||
} else {
|
||||
} else if (!des.isCdtProjectCreating()){
|
||||
throw ExceptionFactory.createCoreException(CCorePlugin.getResourceString("CConfigBasedDescriptorManager.5")); //$NON-NLS-1$
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue