Class RouteCoverageHelper

java.lang.Object
org.apache.camel.parser.helper.RouteCoverageHelper

public final class RouteCoverageHelper extends Object
Helper to provide route coverage details.
  • Method Details

    • parseDumpRouteCoverageByRouteId

      public static List<CoverageData> parseDumpRouteCoverageByRouteId(String directory, String routeId) throws Exception
      Parses the dumped route coverage data and creates a line by line coverage data
      Parameters:
      directory - the directory with the dumped route coverage data
      routeId - the route id to gather, must not be null.
      Returns:
      line by line coverage data
      Throws:
      Exception
    • parseDumpRouteCoverageByClassAndTestMethod

      public static Map<String,List<CoverageData>> parseDumpRouteCoverageByClassAndTestMethod(String directory) throws Exception
      Throws:
      Exception