Package org.emftrace.metamodel.QUARCModel.GSS

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


  @Test
  public void testSimple() {
    // build graph for test case
    Goal g1 = createGoal(gss, 1);

    Principle p1 = createPrinciple(gss, 1);

    Pattern si1 = createPattern(gss, 1);

    createImpact(gss, p1, g1, 100);
View Full Code Here


  public void testSelectedGoalsAreUsedOnly() {
    // build graph for test case
    Goal g1 = createGoal(gss, 1);
    Goal g2 = createGoal(gss, 1);

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

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

    createImpact(gss, p1, g1, 100);
View Full Code Here

  public void testOnlyGoalsAndPriniplesOnly_SelectedGoalsAreUsedOnly() {
    // build graph for test case
    Goal g1 = createGoal(gss, 1);
    Goal g2 = createGoal(gss, 1);

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

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

    createImpact(gss, p1, g1, 100);
View Full Code Here

  public void testOnlyGoalsAndPriniplesOnly() {
    // build graph for test case
    Goal g1 = createGoal(gss, 1);
    Goal g2 = createGoal(gss, 1);

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

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

    createImpact(gss, p1, g1, 100);
View Full Code Here

  @Test
  public void testSetChangeFlags() {
    // build graph for test case
    Goal g1 = createGoal(gss, 1);

    Principle p1 = createPrinciple(gss, 1);

    Pattern si1 = createPattern(gss, 1);

    createImpact(gss, p1, g1, 100);
View Full Code Here

    // build graph for test case
    Goal g1 = createGoal(gss, 1);
   
    Goal g2 = createGoal(gss, 1);

    Principle p1 = createPrinciple(gss, 1);

    Pattern si1 = createPattern(gss, 1);
   

    createImpact(gss, p1, g1, 100.0f);
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);

    createOffset(gss, si1, g1, 1);

    createImpact(gss, si1, p1, 20);
View Full Code Here

  @Test
  public void test2() {

    // build graph for test case
    Goal g1 = createGoal(gss, 1);
    Principle p1 =createPrinciple(gss, 1);
    Pattern si1 = createPattern(gss, 1);

    createOffset(gss, si1, g1, 0);

    createImpact(gss, si1, p1, 20);
View Full Code Here

    // build graph for test case
    Goal g1 = createGoal(gss, 1);
   
    Goal g2 = createGoal(gss, 1);

    Principle p1 = createPrinciple(gss, 1);

    Pattern si1 = createPattern(gss, 1);
   

    createImpact(gss, p1, g1, 100.0f);
View Full Code Here

  @Test
  public void test3() {

    // build graph for test case
    Goal g1 = createGoal(gss, 1);
    Principle p1 =createPrinciple(gss, 1);
    Pattern si1 = createPattern(gss, 1);

    Offset offset = GSSFactory.eINSTANCE.createOffset();
    offset.setSource(si1);
    offset.setTarget(g1);
View Full Code Here

TOP

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

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.