Search in sources :

Example 91 with IEntity

use of org.whole.lang.model.IEntity in project whole by wholeplatform.

the class NotPart method getModelSpecificChildren.

protected List<IEntity> getModelSpecificChildren() {
    Not entity = getModelEntity();
    List<IEntity> list = new ArrayList<IEntity>(1);
    list.add(entity.getConstraint());
    return list;
}
Also used : Not(org.whole.lang.tests.model.Not) IEntity(org.whole.lang.model.IEntity) ArrayList(java.util.ArrayList)

Example 92 with IEntity

use of org.whole.lang.model.IEntity in project whole by wholeplatform.

the class TestCasePart method getModelSpecificChildren.

protected List<IEntity> getModelSpecificChildren() {
    TestCase entity = getModelEntity();
    List<IEntity> list = new ArrayList<IEntity>(6);
    list.add(entity.getDescription());
    list.add(entity.getPackageName());
    list.add(entity.getName());
    list.add(entity.getDeployer());
    list.add(entity.getAspects());
    list.add(entity.getTests());
    return list;
}
Also used : TestCase(org.whole.lang.tests.model.TestCase) IEntity(org.whole.lang.model.IEntity) ArrayList(java.util.ArrayList)

Example 93 with IEntity

use of org.whole.lang.model.IEntity in project whole by wholeplatform.

the class TestSuitePart method getModelSpecificChildren.

protected List<IEntity> getModelSpecificChildren() {
    TestSuite entity = getModelEntity();
    List<IEntity> list = new ArrayList<IEntity>(6);
    list.add(entity.getDescription());
    list.add(entity.getPackageName());
    list.add(entity.getName());
    list.add(entity.getDeployer());
    list.add(entity.getFilterFamilies());
    list.add(entity.getTestCases());
    return list;
}
Also used : TestSuite(org.whole.lang.tests.model.TestSuite) IEntity(org.whole.lang.model.IEntity) ArrayList(java.util.ArrayList)

Example 94 with IEntity

use of org.whole.lang.model.IEntity in project whole by wholeplatform.

the class ThrowsPart method getModelSpecificChildren.

protected List<IEntity> getModelSpecificChildren() {
    Throws entity = getModelEntity();
    List<IEntity> list = new ArrayList<IEntity>(1);
    list.add(entity.getThrowableType());
    return list;
}
Also used : IEntity(org.whole.lang.model.IEntity) ArrayList(java.util.ArrayList) Throws(org.whole.lang.tests.model.Throws)

Example 95 with IEntity

use of org.whole.lang.model.IEntity in project whole by wholeplatform.

the class AfterTestCasePart method getModelSpecificChildren.

protected List<IEntity> getModelSpecificChildren() {
    AfterTestCase entity = getModelEntity();
    List<IEntity> list = new ArrayList<IEntity>(3);
    list.add(entity.getDescription());
    list.add(entity.getName());
    list.add(entity.getBody());
    return list;
}
Also used : IEntity(org.whole.lang.model.IEntity) AfterTestCase(org.whole.lang.tests.model.AfterTestCase) ArrayList(java.util.ArrayList)

Aggregations

IEntity (org.whole.lang.model.IEntity)1407 ArrayList (java.util.ArrayList)604 Test (org.junit.Test)241 IBindingManager (org.whole.lang.bindings.IBindingManager)141 PathExpression (org.whole.lang.queries.model.PathExpression)68 ITemplateManager (org.whole.lang.templates.ITemplateManager)61 Grammar (org.whole.lang.grammars.model.Grammar)50 TestXmlGrammar (org.whole.lang.grammars.util.TestXmlGrammar)46 FeatureDescriptor (org.whole.lang.reflect.FeatureDescriptor)43 Model (org.whole.lang.models.model.Model)40 InternalIEntity (org.whole.lang.model.InternalIEntity)38 VisitException (org.whole.lang.visitors.VisitException)35 IEntityPartViewer (org.whole.lang.ui.viewers.IEntityPartViewer)30 ModelsModel (org.whole.lang.models.codebase.ModelsModel)27 WholeIllegalArgumentException (org.whole.lang.exceptions.WholeIllegalArgumentException)26 StreamPersistenceProvider (org.whole.lang.codebase.StreamPersistenceProvider)24 ModelBuilderOperation (org.whole.lang.builders.ModelBuilderOperation)22 XmlModel (org.whole.lang.models.codebase.XmlModel)22 MissingVariableException (org.whole.lang.visitors.MissingVariableException)22 IEntityPart (org.whole.lang.ui.editparts.IEntityPart)21