mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 14:55:41 +02:00
Test case for bug 179474 - src-exclusion filters are not updated correctly for project sub-folders/files
This commit is contained in:
parent
44a799e535
commit
b0aa50581c
1 changed files with 0 additions and 4 deletions
|
@ -314,8 +314,6 @@ public class CModelTests extends TestCase {
|
||||||
// store the changed configuration
|
// store the changed configuration
|
||||||
CoreModel.getDefault().setProjectDescription(testProject.getProject(), prjDesc);
|
CoreModel.getDefault().setProjectDescription(testProject.getProject(), prjDesc);
|
||||||
|
|
||||||
testProject.close();
|
|
||||||
|
|
||||||
cSourceRoots = testProject.getChildrenOfType(ICElement.C_CCONTAINER);
|
cSourceRoots = testProject.getChildrenOfType(ICElement.C_CCONTAINER);
|
||||||
assertEquals(1, cSourceRoots.size());
|
assertEquals(1, cSourceRoots.size());
|
||||||
assertEquals(testProject.getElementName(), cSourceRoots.get(0).getElementName());
|
assertEquals(testProject.getElementName(), cSourceRoots.get(0).getElementName());
|
||||||
|
@ -395,8 +393,6 @@ public class CModelTests extends TestCase {
|
||||||
// store the changed configuration
|
// store the changed configuration
|
||||||
CoreModel.getDefault().setProjectDescription(testProject.getProject(), prjDesc);
|
CoreModel.getDefault().setProjectDescription(testProject.getProject(), prjDesc);
|
||||||
|
|
||||||
testProject.close();
|
|
||||||
|
|
||||||
cSourceRoots = testProject.getChildrenOfType(ICElement.C_CCONTAINER);
|
cSourceRoots = testProject.getChildrenOfType(ICElement.C_CCONTAINER);
|
||||||
assertEquals(1, cSourceRoots.size());
|
assertEquals(1, cSourceRoots.size());
|
||||||
assertEquals(testProject.getElementName(), cSourceRoots.get(0).getElementName());
|
assertEquals(testProject.getElementName(), cSourceRoots.get(0).getElementName());
|
||||||
|
|
Loading…
Add table
Reference in a new issue