Package org.emftrace.metamodel.QUARCModel.GSS

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


    cacheManager.initSelectedGoalCache();
    cacheManager.repairSelectedGoalsPrioritiesAndWeights();
    for (PrioritizedElement priorizedGoal : cacheManager
        .getSelectedGoals()) {

      Goal goal = cacheManager.getGoalForSelectedGoal(priorizedGoal);

      int level = cacheManager.getLevel(goal);
      int sublevel = cacheManager.getSublevel(goal);

      GSSElementGraphNode node = createNode(zestGraph, SWT.NONE, goal,
View Full Code Here


  }
 
  @Test
  public void testSimpleGraph1() {
    // build graph for test case
    Goal g1 = createGoal(gss, 1);
   
    Principle p1 = createPrinciple(gss, 1);

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

  }
 
  @Test
  public void testSimpleGraph2() {
    // build graph for test case
    Goal g1 = createGoal(gss, 1);
   
    Principle p1 = createPrinciple(gss, 1);

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

  }
 
  @Test
  public void testSimpleGraph3() {
    // build graph for test case
    Goal g1 = createGoal(gss, 1);
   
    Principle p1 = createPrinciple(gss, 1);

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

 
  @Test
  public void testTestWithDecompostionsAtPrincipleLayer() {

    // 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);
   
View Full Code Here

    executeRequiredPhases(); //test for constructor
  }

  @Test
  public void testGetRootElements() {
    Goal g1 = createGoal(gss, 1);
    Goal g2 = createGoal(gss, 1);
    Goal g3 = createGoal(gss, 1);
    Goal g4 = createGoal(gss, 1);
   
    createDecomposition(gss, g2, g1);
    createDecomposition(gss, g3, g1);
   
    Principle p1 = createPrinciple(gss, 1);
View Full Code Here

     
  }

  @Test
  public void testIsRootElement() {
    Goal g1 = createGoal(gss, 1);
    Goal g2 = createGoal(gss, 1);
    Goal g3 = createGoal(gss, 1);
    Goal g4 = createGoal(gss, 1);
   
    createDecomposition(gss, g2, g1);
    createDecomposition(gss, g3, g1);
   
    Principle p1 = createPrinciple(gss, 1);
View Full Code Here

  }

  @Test
  public void testIsApplicableElement() {
    Goal g1 = createGoal(gss, 1);
    Goal g2 = createGoal(gss, 1);
    Goal g3 = createGoal(gss, 1);
    Goal g4 = createGoal(gss, 1);
   
    createDecomposition(gss, g2, g1);
    createDecomposition(gss, g3, g1);
   
    Principle p1 = createPrinciple(gss, 1);
View Full Code Here

    assertFalse( applicableElementCache.isApplicableElement(si4));
  }

  @Test
  public void testIsLeafElement() {
    Goal g1 = createGoal(gss, 1);
    Goal g2 = createGoal(gss, 1);
    Goal g3 = createGoal(gss, 1);
    Goal g4 = createGoal(gss, 1);
   
    createDecomposition(gss, g2, g1);
    createDecomposition(gss, g3, g1);
   
    Principle p1 = createPrinciple(gss, 1);
View Full Code Here

    assertTrue( applicableElementCache.isLeafElement(si3));
  }

  @Test
  public void testGetRootApplicableElements() {
    Goal g1 = createGoal(gss, 1);
    Goal g2 = createGoal(gss, 1);
    Goal g3 = createGoal(gss, 1);
    Goal g4 = createGoal(gss, 1);
   
    createDecomposition(gss, g2, g1);
    createDecomposition(gss, g3, g1);
   
    Principle p1 = createPrinciple(gss, 1);
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.