Package net.sf.parteg.base.testcasegraph.config.ConfigurationTestGoalPrioritization

Examples of net.sf.parteg.base.testcasegraph.config.ConfigurationTestGoalPrioritization.TestGoalPrioritization


 
  public void prioritizeTestGoals()
  {
    List<TestGoalBase> colGoals = m_oTCGHelper.getTestGoalMgr().getTestGoals();
   
    TestGoalPrioritization oPrioritization = ConfigurationTestGoalPrioritization.getTestGoalPrioritization();
    if(oPrioritization != null) {
      TestGoalPrioritizatorRandom oRandomizer = new TestGoalPrioritizatorRandom();
     
      // RANDOM
      if(oPrioritization.equals(TestGoalPrioritization.RANDOM)) {
        oRandomizer.sort(colGoals);
      }
      // HIERARCHICAL COMBINATION
      else if(oPrioritization.equals(TestGoalPrioritization.HIERARCHICAL_COMBINATION)) {
        HierarchicalPrioritizationCombination oCombo = ConfigurationTestGoalPrioritization.getHierarchicalPrioritizationCombination();
        TestGoalPrioritizatorCombinator oCombinator =
          new TestGoalPrioritizatorCombinator(
              TestGoalPrioritizatorFactory.getPrioritizator(
                  oCombo.getPrimaryPrioritization()),
View Full Code Here

TOP

Related Classes of net.sf.parteg.base.testcasegraph.config.ConfigurationTestGoalPrioritization.TestGoalPrioritization

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.