Package org.emftrace.metamodel.QUARCModel.GSS

Examples of org.emftrace.metamodel.QUARCModel.GSS.Pattern


    Goal g1 = createGoal(gss, 1);

    Principle p1 = createPrinciple(gss, 1);
    Principle p2 = createPrinciple(gss, 2);

    Pattern si1 = createPattern(gss, 1);
    Pattern si2 = createPattern(gss, 2);

    createDecomposition(gss, p2, p1);

    createImpact(gss, p1, g1, 1);
    createImpact(gss, si1, p2, 1);
View Full Code Here


    Goal g1 = createGoal(gss, 1);

    Principle p1 = createPrinciple(gss, 1);
    Principle p2 = createPrinciple(gss, 2);

    Pattern si1 = createPattern(gss, 1);
    Pattern si2 = createPattern(gss, 2);

    TechnicalProperty propery = ConstraintsFactory.eINSTANCE
        .createStringTechnicalProperty();
    propery.setName("foo");
    Precondition precondition = ConstraintsFactory.eINSTANCE
View Full Code Here

    Principle p1 = createPrinciple(gss, 1);
    Principle p2 = createPrinciple(gss, 2);
    Principle p3 = createPrinciple(gss, 3);

    Pattern si1 = createPattern(gss, 1);

    TechnicalProperty propery1 = ConstraintsFactory.eINSTANCE
        .createStringTechnicalProperty();
    propery1.setName("foo");
    Precondition precondition1 = ConstraintsFactory.eINSTANCE
View Full Code Here

    Goal g1 = createGoal(gss, 1);

    Principle p1 = createPrinciple(gss, 1);
    Principle p2 = createPrinciple(gss, 2);

    Pattern si1 = createPattern(gss, 1);
    Pattern si2 = createPattern(gss, 2);

    createDecomposition(gss, p2, p1);

    createImpact(gss, p1, g1, 1);
    createImpact(gss, si1, p2, 1);
    createImpact(gss, si2, p1, 1);

    executeRequiredPhases();

    assertEquals("",
        PreconditionFinder.formatConditionString(si1.getPrecondition()));
    assertEquals("",
        PreconditionFinder.formatConditionString(si2.getPrecondition()));
    assertEquals("",
        PreconditionFinder.formatConditionString(p1.getPrecondition()));
    assertEquals("",
        PreconditionFinder.formatConditionString(p2.getPrecondition()));
  }
View Full Code Here

    Goal g1 = createGoal(gss, 1);

    Principle p1 = createPrinciple(gss, 1);
    Principle p2 = createPrinciple(gss, 1);

    Pattern si1 = createPattern(gss, 1);
    Pattern si2 = createPattern(gss, 2);

    createDecomposition(gss, p2, p1);

    createImpact(gss, p1, g1, 1);
    createImpact(gss, si1, p2, 1);
View Full Code Here

    Principle p3 = createPrinciple(gss, 3);
    Principle p4 = createPrinciple(gss, 4);
    Principle p5 = createPrinciple(gss, 5);

    Pattern si1 = createPattern(gss, 1);
    Pattern si2 = createPattern(gss, 2);

    createDecomposition(gss, p2, p1);
    createDecomposition(gss, p3, p1);
    createDecomposition(gss, p4, p1);
View Full Code Here

  public void testSimpleGraph() {

    Goal g1 = createGoal(gss, 1);

    Principle p1 = createPrinciple(gss, 1);
    Pattern si1 = createPattern(gss, 1);

    createImpact(gss, p1, g1, 1);
    createImpact(gss, si1, p1, 1);

    gssQuery.setIncludeAll(true);
View Full Code Here

  @Test
  public void testSimpleGraphWithoutRelationFromGoalToSI() {

    Principle p1 = createPrinciple(gss, 1);
    Pattern si1 = createPattern(gss, 1);
    createImpact(gss, si1, p1, 1);

    gssQuery.setIncludeAll(true);
    executeRequiredPhases(false);
View Full Code Here

    Goal g1 = createGoal(gss, 1);

    Principle p1 = createPrinciple(gss, 1);
    Principle p2 = createPrinciple(gss, 2);

    Pattern si1 = createPattern(gss, 1);

    createImpact(gss, p1, g1, 1);
    createImpact(gss, si1, p1, 1);
    createImpact(gss, si1, p2, 1);
View Full Code Here

    Goal g1 = createGoal(gss, 1);

    Principle p1 = createPrinciple(gss, 1);

    Pattern si1 = createPattern(gss, 1);

    createImpact(gss, si1, p1, 1);

    gssQuery.setIncludeAll(true);
    executeRequiredPhases(false);
View Full Code Here

TOP

Related Classes of org.emftrace.metamodel.QUARCModel.GSS.Pattern

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.