Package org.apache.camel.parser.helper
Class RouteCoverageHelper
java.lang.Object
org.apache.camel.parser.helper.RouteCoverageHelper
Helper to provide route coverage details.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Map<String, List<CoverageData>> parseDumpRouteCoverageByClassAndTestMethod(String directory) static List<CoverageData> parseDumpRouteCoverageByRouteId(String directory, String routeId) Parses the dumped route coverage data and creates a line by line coverage data
-
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 datarouteId- 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
-