Package net.sf.parteg.base.testcasegraph.testgoals.prioritization

Examples of net.sf.parteg.base.testcasegraph.testgoals.prioritization.TestGoalPrioritizatorCombinator


        oRandomizer.sort(colGoals);
      }
      // HIERARCHICAL COMBINATION
      else if(oPrioritization.equals(TestGoalPrioritization.HIERARCHICAL_COMBINATION)) {
        HierarchicalPrioritizationCombination oCombo = ConfigurationTestGoalPrioritization.getHierarchicalPrioritizationCombination();
        TestGoalPrioritizatorCombinator oCombinator =
          new TestGoalPrioritizatorCombinator(
              TestGoalPrioritizatorFactory.getPrioritizator(
                  oCombo.getPrimaryPrioritization()),
              TestGoalPrioritizatorFactory.getPrioritizator(
                  oCombo.getSecondaryPrioritization()));
        oCombinator.sort(colGoals);     
      }
      // WEIGHTED COMBINATION
     
      else {
        // FAR_ELEMENTS_FIRST
        // HIGH BRANCHING FIRST/LAST
        // MANY ATOMS FIRST/LAST
        // HIGH POSITIVE ATOMS RATIO FIRST / LAST
        TestGoalPrioritizator oPrioritizator =
          TestGoalPrioritizatorFactory.getPrioritizator(oPrioritization);
        TestGoalPrioritizatorCombinator oCombinator =
          new TestGoalPrioritizatorCombinator(oPrioritizator, oRandomizer);
        oCombinator.sort(colGoals);
      }     
    }
  } 
View Full Code Here

TOP

Related Classes of net.sf.parteg.base.testcasegraph.testgoals.prioritization.TestGoalPrioritizatorCombinator

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.