use of org.jacoco.report.JavaNames in project jacoco by jacoco.
the class PageTestBase method setup.
protected void setup() throws Exception {
output = new MemoryMultiReportOutput();
rootFolder = new ReportOutputFolder(output);
final Resources resources = new Resources(rootFolder);
final Table table = new Table();
table.add("Element", null, new LabelColumn(), true);
context = new IHTMLReportContext() {
public ILanguageNames getLanguageNames() {
return new JavaNames();
}
public Resources getResources() {
return resources;
}
public Table getTable() {
return table;
}
public String getFooterText() {
return "CustomFooter";
}
public ILinkable getSessionsPage() {
return new LinkableStub("sessions.html", "Sessions", Styles.EL_SESSION);
}
public String getOutputEncoding() {
return "UTF-8";
}
public IIndexUpdate getIndexUpdate() {
return new IIndexUpdate() {
public void addClass(ILinkable link, long classid) {
}
};
}
public Locale getLocale() {
return Locale.ENGLISH;
}
};
support = new HTMLSupport();
}
use of org.jacoco.report.JavaNames 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();
}
use of org.jacoco.report.JavaNames in project jacoco by jacoco.
the class BundleCheckerTest method setup.
@Before
public void setup() {
rules = new ArrayList<Rule>();
names = new JavaNames();
messages = new ArrayList<String>();
}
Aggregations