mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Update CModel failed tests.
This commit is contained in:
parent
3a2ed3957a
commit
32adccaab0
1 changed files with 1 additions and 9 deletions
|
@ -45,7 +45,6 @@ import org.eclipse.core.runtime.Path;
|
|||
*/
|
||||
public class CModelElementsFailedTests extends TestCase {
|
||||
|
||||
private static final boolean domCurrentlyBroken = true;
|
||||
private ICProject fCProject;
|
||||
private IFile headerFile;
|
||||
private NullProgressMonitor monitor;
|
||||
|
@ -101,14 +100,7 @@ public class CModelElementsFailedTests extends TestCase {
|
|||
Map newElement = tu.parse(true); // require line numbers
|
||||
|
||||
// tu ---> namespace: MyPackage
|
||||
ArrayList tuPackages = tu.getChildrenOfType(ICElement.C_NAMESPACE);
|
||||
// INSERTED BY JOHNC 7/17/2003 to make fail test fail rather than err
|
||||
if( domCurrentlyBroken )
|
||||
{
|
||||
assertFalse( "There are declarations - failure", tuPackages.size() != 0 );
|
||||
return;
|
||||
}
|
||||
|
||||
ArrayList tuPackages = tu.getChildrenOfType(ICElement.C_NAMESPACE);
|
||||
|
||||
INamespace namespace = (INamespace) tuPackages.get(0);
|
||||
assertEquals(namespace.getElementName(), new String("MyPackage"));
|
||||
|
|
Loading…
Add table
Reference in a new issue