Package org.cishell.testing.convertertester.core.converter.graph

Examples of org.cishell.testing.convertertester.core.converter.graph.ConverterGraph


      BundleContext bContext,
      PathFilter testPathFilter) {
   
    //generate all the converter paths
 
    ConverterGraph converterGraph = new ConverterGraph(converterRefs,
        bContext, this.log);
   
    //run the tests
 
    TestResult[] rawResults =
      runAllTests(converterGraph, testPathFilter, cContext, bContext);
   
    AllTestsResult allTestsResult = new AllTestsResult(rawResults);
   
    //analyze the test results to extract more useful info
   
    Converter[] allConverters = converterGraph.getAllConverters();
   
    ChanceAtFaultHeuristic faultHeuristic =
      new ErrorProximityHeuristic();
    AllConvsResult allConvertersResult =
      ConvResultMaker.generate(allTestsResult, allConverters,
          faultHeuristic);
   
    //feed test results to the report generators
   
    for (int ii = 0; ii < reportGenerators.length; ii++) {
      ReportGenerator reportGenerator = reportGenerators[ii];
     
      reportGenerator.generateReport(allTestsResult,
          allConvertersResult, converterGraph.asNWB());
    }
  }
View Full Code Here

TOP

Related Classes of org.cishell.testing.convertertester.core.converter.graph.ConverterGraph

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.