Package org.emftrace.metamodel.QUARCModel.GSS

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


  }

  @Test
  public void testPreconditionsFromParents2() {
    Goal g1 = createGoal(gss, 1);

    Principle p1 = createPrinciple(gss, 1);
    Principle p2 = createPrinciple(gss, 2);
    Principle p3 = createPrinciple(gss, 3);
View Full Code Here


  }

  @Test
  public void testNoPrecondition() {
    Goal g1 = createGoal(gss, 1);

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

    Pattern si1 = createPattern(gss, 1);
View Full Code Here

        PreconditionFinder.formatConditionString(p2.getPrecondition()));
  }

  @Test
  public void testPrecondition() {
    Goal g1 = createGoal(gss, 1);

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

    Pattern si1 = createPattern(gss, 1);
View Full Code Here

  }

  @Test
  public void testForGetRequirementsFromParentBug() {
    Goal g1 = createGoal(gss, 1);

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

    Principle p3 = createPrinciple(gss, 3);
View Full Code Here

 
  @Test
  public void test1() {

    // build graph for test case
    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);
View Full Code Here

 
  @Test
  public void test2() {

    // build graph for test case
    Goal g1 = createGoal(gss, 1);
    Principle p1 = createPrinciple(gss, 1);
    Principle p2 = createPrinciple(gss, 2);
    Pattern si1 = createPattern(gss, 1);
   
    createDecomposition(gss, p2, p1);
View Full Code Here

 
  @Test
  public void test3() {

    // build graph for test case
    Goal g1 = createGoal(gss, 1);
    Principle p1 = createPrinciple(gss, 1);
    Principle p2 = createPrinciple(gss, 2);
    Principle p3 = createPrinciple(gss, 3);
    Pattern si1 = createPattern(gss, 1);
   
View Full Code Here

 
  @Test
  public void test4() {

    // build graph for test case
    Goal g1 = createGoal(gss, 1);
    Principle p1 = createPrinciple(gss, 1);
    Principle p2 = createPrinciple(gss, 2);
    Principle p3 = createPrinciple(gss, 3);
    Pattern si1 = createPattern(gss, 1);
    Pattern si2 = createPattern(gss, 2);
View Full Code Here

    assertEquals( gssQuery.getSelectedGoalsSet(), priorizedElementsCache.getPrioritizedElementSet());
  }

  @Test
  public void testGetPriorizedDecomposition() {
    Goal goal = createGoal(gss, 1);
    Goal subgoal = createGoal(gss, 2);
    Decomposition decomposition = createDecomposition(gss, subgoal, goal);
    PrioritizedDecomposition priorizedDecomposition = createPriorizedDecomposition(gssQuery, decomposition, 100);
   
    createSelectedGoal(gssQuery, goal, 100);
    createSelectedGoal(gssQuery, subgoal, 100);
View Full Code Here

    assertEquals( priorizedDecomposition, priorizedElementsCache.getPrioritizedDecomposition(decomposition));
  }

  @Test
  public void testGetDecomposition() {
    Goal goal = createGoal(gss, 1);
    Goal subgoal = createGoal(gss, 2);
    Decomposition decomposition = createDecomposition(gss, subgoal, goal);
    PrioritizedDecomposition priorizedDecomposition = createPriorizedDecomposition(gssQuery, decomposition, 100);
   
    createSelectedGoal(gssQuery, goal, 100);
    createSelectedGoal(gssQuery, subgoal, 100);
View Full Code Here

TOP

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

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.