use of org.jacoco.report.ReportStructureTestDriver in project jacoco by jacoco.
the class HTMLFormatterTest method setup.
@Before
public void setup() {
driver = new ReportStructureTestDriver();
formatter = new HTMLFormatter();
output = new MemoryMultiReportOutput();
}
use of org.jacoco.report.ReportStructureTestDriver in project jacoco by jacoco.
the class XMLGroupVisitorTest method setup.
@Before
public void setup() throws Exception {
buffer = new StringWriter();
support = new XMLSupport(XMLFormatter.class);
root = new XMLDocument("report", "-//JACOCO//DTD Report 1.0//EN", "report.dtd", "UTF-8", true, buffer);
root.attr("name", "Report");
handler = new XMLGroupVisitor(root, null);
driver = new ReportStructureTestDriver();
}
use of org.jacoco.report.ReportStructureTestDriver 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>();
}
use of org.jacoco.report.ReportStructureTestDriver in project jacoco by jacoco.
the class RulesCheckerTest method setup.
@Before
public void setup() {
checker = new RulesChecker();
driver = new ReportStructureTestDriver();
messages = new ArrayList<String>();
}
use of org.jacoco.report.ReportStructureTestDriver 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);
}
Aggregations