Package org.emftrace.metamodel.QUARCModel.GSS

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


  @Test
  public void testSimpleGraphWithoutGoals() {
    Principle p1 = createPrinciple(gss, 1);
   
    Pattern si1 = createPattern(gss, 1);

    createImpact(gss, si1, p1, 1);
   
    executeRequiredPhases(true);
   
View Full Code Here


    Goal g1 = createGoal(gss, 1);
   
    Principle p1 = createPrinciple(gss, 1);
    Principle p2 = createPrinciple(gss, 1);
   
    Pattern si1 = createPattern(gss, 1);

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

    executeRequiredPhases(true);
View Full Code Here

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

    createImpact(gss, si1, p1, 1);
   
    executeRequiredPhases(true);
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);
    Principle p2 = createPrinciple(gss, 2);
   
    Pattern si1 = createPattern(gss, 1);

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

    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);
   
    cacheManager = new CacheManager(gss,queryResultSet, accessLayer);
    cacheManager.initCache();
   
    new ApplicableElementsSelector(gssQuery, queryResultSet, accessLayer,
        cacheManager, null,false).runWithoutUnicaseCommand();
   
    Pattern si2 = createPattern(gss, 2);
    Pattern si3 = createPattern(gss, 3);
   
    createIsA(gss, si2, si1);
    createIsA(gss, si3, si1);
   
    cacheManager.initGSSCache();
View Full Code Here

    
    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);
 
    Pattern si2 = createPattern(gss, 2);
    createIsA(gss, si2, si1);
   
    gssQuery.setIncludeAll(true);
   
    cacheManager = new CacheManager(gss, queryResultSet, accessLayer);
    cacheManager.initCache();
   
    new ApplicableElementsSelector(gssQuery, queryResultSet, accessLayer,
        cacheManager, null, false).runWithoutUnicaseCommand();
   

    Pattern si3 = createPattern(gss, 3);
    createIsA(gss, si3, si1);
   
    cacheManager = new CacheManager(gss, queryResultSet, accessLayer);
    cacheManager.initCache();
View Full Code Here

    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);
 
    Pattern si2 = createPattern(gss, 2);
    createIsA(gss, si2, si1);

    Pattern si3 = createPattern(gss, 3);
    createIsA(gss, si3, si1);
   
 
    executeRequiredPhases(true);
   
View Full Code Here

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

   
    Pattern si1 = createPattern(gss, 1);


    createImpact(gss, p1, g1, 1);

    createImpact(gss, p2, g1, 1);
    createImpact(gss, si1, p1, 1);
 
    Pattern si2 = createPattern(gss, 2);
    createIsA(gss, si2, si1);

    Pattern si3 = createPattern(gss, 3);
    createIsA(gss, si3, si1);
   
    createDecomposition(gss, p3, p1);
   
 
View Full Code Here

    Flaw f1 = createFlaw(gss, 1);
    Flaw f2 = createFlaw(gss, 2);
    Flaw f3 = createFlaw(gss, 3);

   
    Pattern si1 = createPattern(gss, 1);


    createImpact(gss, f1, g1, 1);

    createImpact(gss, f2, g1, 1);
    createImpact(gss, si1, f1, 1);
 
    Pattern si2 = createPattern(gss, 2);
    createIsA(gss, si2, si1);

    Pattern si3 = createPattern(gss, 3);
    createIsA(gss, si3, si1);
   
    createDecomposition(gss, f3, f1);
   
 
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.