public class CoverageReportUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
BOWER_DIR_NAME |
static String |
BOWER_DIR_PATH |
static String |
TARGET_DIR_ROOT
Root directory for all coverage reports.
|
| Constructor and Description |
|---|
CoverageReportUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createClassReport(org.camunda.bpm.engine.ProcessEngine processEngine,
CoverageTestRunState coverageTestRunState)
Generates a coverage report for the whole test class.
|
static void |
createCurrentTestMethodReport(org.camunda.bpm.engine.ProcessEngine processEngine,
CoverageTestRunState coverageTestRunState)
Generates graphical test coverage reports for the current test method
run.
|
protected static String |
getBpmnXml(org.camunda.bpm.engine.repository.ProcessDefinition processDefinition)
Retrieves a process definitions BPMN XML.
|
public static final String TARGET_DIR_ROOT
public static final String BOWER_DIR_NAME
public static final String BOWER_DIR_PATH
public static void createClassReport(org.camunda.bpm.engine.ProcessEngine processEngine,
CoverageTestRunState coverageTestRunState)
processEngine - coverageTestRunState - public static void createCurrentTestMethodReport(org.camunda.bpm.engine.ProcessEngine processEngine,
CoverageTestRunState coverageTestRunState)
processEngine - coverageTestRunState - protected static String getBpmnXml(org.camunda.bpm.engine.repository.ProcessDefinition processDefinition) throws IOException
processDefinition - IOException - Thrown if the BPMN resource is not found.Copyright © 2017 camunda services GmbH. All rights reserved.