Class JUnitReportPlugin
java.lang.Object
com.buschmais.jqassistant.plugin.common.impl.report.JUnitReportPlugin
- All Implemented Interfaces:
ReportPlugin,com.buschmais.jqassistant.core.shared.lifecycle.ContextualConfigurableLifecycleAware<ReportContext,,Map<String, Object>> com.buschmais.jqassistant.core.shared.lifecycle.LifecycleAware
ReportPlugin implementation to write JUnit style reports.
Each group is rendered as a test suite to a separate file.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.buschmais.jqassistant.core.report.api.ReportPlugin
ReportPlugin.Default -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbegin()voidbeginConcept(com.buschmais.jqassistant.core.rule.api.model.Concept concept) voidbeginConstraint(com.buschmais.jqassistant.core.rule.api.model.Constraint constraint) voidbeginGroup(com.buschmais.jqassistant.core.rule.api.model.Group group) voidconfigure(ReportContext reportContext, Map<String, Object> properties) voidend()voidendGroup()voidvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.buschmais.jqassistant.core.report.api.ReportPlugin
beginConcept, beginConstraint, destroy, endConcept, endConstraint
-
Field Details
-
JUNIT_REPORT_DIRECTORY
- See Also:
-
JUNIT_FAILURE_SEVERITY
- See Also:
-
JUNIT_ERROR_SEVERITY
- See Also:
-
DEFAULT_JUNIT_REPORT_DIRECTORY
- See Also:
-
-
Constructor Details
-
JUnitReportPlugin
public JUnitReportPlugin()
-
-
Method Details
-
initialize
- Specified by:
initializein interfacecom.buschmais.jqassistant.core.shared.lifecycle.LifecycleAware- Specified by:
initializein interfaceReportPlugin- Throws:
ReportException
-
configure
public void configure(ReportContext reportContext, Map<String, Object> properties) throws ReportException- Specified by:
configurein interfacecom.buschmais.jqassistant.core.shared.lifecycle.ContextualConfigurableLifecycleAware<ReportContext,Map<String, Object>> - Specified by:
configurein interfaceReportPlugin- Throws:
ReportException
-
begin
public void begin()- Specified by:
beginin interfaceReportPlugin
-
end
- Specified by:
endin interfaceReportPlugin- Throws:
ReportException
-
beginGroup
public void beginGroup(com.buschmais.jqassistant.core.rule.api.model.Group group) - Specified by:
beginGroupin interfaceReportPlugin
-
endGroup
- Specified by:
endGroupin interfaceReportPlugin- Throws:
ReportException
-
beginConcept
public void beginConcept(com.buschmais.jqassistant.core.rule.api.model.Concept concept) - Specified by:
beginConceptin interfaceReportPlugin
-
beginConstraint
public void beginConstraint(com.buschmais.jqassistant.core.rule.api.model.Constraint constraint) - Specified by:
beginConstraintin interfaceReportPlugin
-
setResult
public void setResult(Result<? extends com.buschmais.jqassistant.core.rule.api.model.ExecutableRule> result) - Specified by:
setResultin interfaceReportPlugin
-