Package eu.planets_project.tb.impl.services.mockups.workflow

Examples of eu.planets_project.tb.impl.services.mockups.workflow.WorkflowDroidXCDLExtractorComparator


    f1 = new File("C:/Data/T1europa.png");
    f2 = new File("C:/Data/T2europa.tif");
  }
 
  public void testRuns(){
    WorkflowDroidXCDLExtractorComparator wf = new WorkflowDroidXCDLExtractorComparator();
    EvaluationExecutable ex1 = wf.execute(f1, f2);
    assertTrue(ex1.isExecutableInvoked());
    assertTrue(ex1.isExecutionCompleted());
    assertTrue(ex1.isExecutionSuccess());
  }
View Full Code Here


    assertTrue(ex1.isExecutionCompleted());
    assertTrue(ex1.isExecutionSuccess());
  }
 
  public void testCache(){
    WorkflowDroidXCDLExtractorComparator wf = new WorkflowDroidXCDLExtractorComparator();
    EvaluationExecutable ex1 = wf.execute(f1, f2);
    Calendar i1 = ex1.getExecutionStartDate();
    String s1 = ex1.getXCDLForSource();
   
    EvaluationExecutable ex2 = wf.execute(f1, f2);
    Calendar i2 = ex2.getExecutionStartDate();
    String s2 = ex2.getXCDLForSource();
   
    assertEquals(i1.getTimeInMillis()+"",i2.getTimeInMillis()+"");
    assertEquals(s1,s2);
View Full Code Here

   * Executable only if the current experiment phase = evaluation
   */
  public void executeAutoEvalServices(Experiment exp) { 
    log.info("Attempting to execute the Auto Eval services.");
    //a Planets IF Java Workflow instance (mockup)
    WorkflowDroidXCDLExtractorComparator evalWorkflow = new WorkflowDroidXCDLExtractorComparator();
   
    //Get the experiment's data we want to add autoEval FileBMGoals for
    Collection<Entry<String,String>> data = exp.getExperimentExecutable().getMigrationDataEntries();

    //iterate over all experiemnt data entries
View Full Code Here

TOP

Related Classes of eu.planets_project.tb.impl.services.mockups.workflow.WorkflowDroidXCDLExtractorComparator

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.