org.databene.contiperf.report
Class ReportContext
java.lang.Object
org.databene.contiperf.report.ReportContext
- Direct Known Subclasses:
- JUnitReportContext
public class ReportContext
- extends Object
Central class for managing report modules as well as aspects that are specific for
a 3rd party testing framework (e.g. JUnit) in which ContiPerf is to be integrated.
Created: 16.01.2011 07:53:38
- Since:
- 2.0.0
- Author:
- Volker Bergmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReportContext
public ReportContext(File reportFolder,
Class<? extends Error> failureClass)
getReportFolder
public File getReportFolder()
addReportModule
public void addReportModule(ReportModule module)
fail
public void fail(String message)
getReportModules
public List<ReportModule> getReportModules()
getReportModule
public <T extends ReportModule> T getReportModule(Class<T> moduleClass)
ensureDirectoryExists
protected void ensureDirectoryExists(File dir)
Copyright © 2013. All Rights Reserved.