Search in sources :

Example 1 with MemoryOutput

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

the class XMLFormatterTest method setup.

@Before
public void setup() {
    driver = new ReportStructureTestDriver();
    formatter = new XMLFormatter();
    output = new MemoryOutput();
    infos = new ArrayList<SessionInfo>();
    data = new ArrayList<ExecutionData>();
}
Also used : SessionInfo(org.jacoco.core.data.SessionInfo) MemoryOutput(org.jacoco.report.MemoryOutput) ReportStructureTestDriver(org.jacoco.report.ReportStructureTestDriver) ExecutionData(org.jacoco.core.data.ExecutionData) Before(org.junit.Before)

Example 2 with MemoryOutput

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

the class CSVFormatterTest method setup.

@Before
public void setup() throws Exception {
    driver = new ReportStructureTestDriver();
    formatter = new CSVFormatter();
    output = new MemoryOutput();
    visitor = formatter.createVisitor(output);
}
Also used : MemoryOutput(org.jacoco.report.MemoryOutput) ReportStructureTestDriver(org.jacoco.report.ReportStructureTestDriver) Before(org.junit.Before)

Aggregations

MemoryOutput (org.jacoco.report.MemoryOutput)2 ReportStructureTestDriver (org.jacoco.report.ReportStructureTestDriver)2 Before (org.junit.Before)2 ExecutionData (org.jacoco.core.data.ExecutionData)1 SessionInfo (org.jacoco.core.data.SessionInfo)1