Search in sources :

Example 6 with ReportStructureTestDriver

use of org.jacoco.report.ReportStructureTestDriver in project jacoco by jacoco.

the class CSVGroupHandlerTest method setup.

@Before
public void setup() throws Exception {
    result = new StringWriter();
    final DelimitedWriter dw = new DelimitedWriter(result);
    final ClassRowWriter rw = new ClassRowWriter(dw, new JavaNames());
    handler = new CSVGroupHandler(rw);
    driver = new ReportStructureTestDriver();
}
Also used : StringWriter(java.io.StringWriter) ReportStructureTestDriver(org.jacoco.report.ReportStructureTestDriver) JavaNames(org.jacoco.report.JavaNames) Before(org.junit.Before)

Aggregations

ReportStructureTestDriver (org.jacoco.report.ReportStructureTestDriver)6 Before (org.junit.Before)6 StringWriter (java.io.StringWriter)2 MemoryOutput (org.jacoco.report.MemoryOutput)2 ExecutionData (org.jacoco.core.data.ExecutionData)1 SessionInfo (org.jacoco.core.data.SessionInfo)1 JavaNames (org.jacoco.report.JavaNames)1 MemoryMultiReportOutput (org.jacoco.report.MemoryMultiReportOutput)1 XMLFormatter (org.jacoco.report.xml.XMLFormatter)1