Examples of ExperimentEvaluationImpl


Examples of eu.planets_project.tb.impl.model.ExperimentEvaluationImpl

      return dth.getAllTags();
    }
   
    public Map<String,String> getAvailableEvaluationValues() {
         TreeMap<String,String> map = new TreeMap<String,String>();
      ExperimentEvaluation ev = new ExperimentEvaluationImpl();
      Iterator<String> iter = ev.getAllAcceptedEvaluationValues().iterator();
      while (iter.hasNext()) {
        String v = iter.next();
        map.put(v, v);
      }        
      return map;
View Full Code Here

Examples of eu.planets_project.tb.impl.model.ExperimentEvaluationImpl

  /* (non-Javadoc)
   * @see eu.planets_project.tb.api.model.benchmark.BenchmarkGoal#setEvaluationValue(java.lang.String)
   */
  public void setEvaluationValue(String value) throws InvalidInputException {
    List<String> list = new ExperimentEvaluationImpl().getAllAcceptedEvaluationValues();
    if((value!=null)&&(list.contains(value))){
      this.sEvaluationValue = value;
    }
    else{
      throw new InvalidInputException("EvaluationValue not in the range of accepted values");
View Full Code Here

Examples of eu.planets_project.tb.impl.model.ExperimentEvaluationImpl

 
  public void testEvaluationValue(){
    BenchmarkGoal nop1 = handler.getBenchmarkGoal(this.sGoalID);
   
    assertEquals("",nop1.getEvaluationValue());
    ExperimentEvaluation eval = new ExperimentEvaluationImpl();
    List<String> list = eval.getAllAcceptedEvaluationValues();
   
    assertEquals(4,list.size());
   
  //Test1:
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.