Search in sources :

Example 6 with MemoryMultiReportOutput

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

the class PercentageColumnTest method setup.

@Before
public void setup() throws Exception {
    output = new MemoryMultiReportOutput();
    root = new ReportOutputFolder(output);
    resources = new Resources(root);
    doc = new HTMLDocument(root.createFile("Test.html"), "UTF-8");
    doc.head().title();
    td = doc.body().table("somestyle").tr().td();
    support = new HTMLSupport();
    column = new PercentageColumn(CounterEntity.LINE, Locale.ENGLISH);
}
Also used : ReportOutputFolder(org.jacoco.report.internal.ReportOutputFolder) HTMLSupport(org.jacoco.report.internal.html.HTMLSupport) MemoryMultiReportOutput(org.jacoco.report.MemoryMultiReportOutput) HTMLDocument(org.jacoco.report.internal.html.HTMLDocument) Resources(org.jacoco.report.internal.html.resources.Resources) Before(org.junit.Before)

Example 7 with MemoryMultiReportOutput

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

the class TableTest method setup.

@Before
public void setup() throws IOException {
    output = new MemoryMultiReportOutput();
    root = new ReportOutputFolder(output);
    resources = new Resources(root);
    doc = new HTMLDocument(root.createFile("Test.html"), "UTF-8");
    doc.head().title();
    body = doc.body();
    table = new Table();
}
Also used : ReportOutputFolder(org.jacoco.report.internal.ReportOutputFolder) MemoryMultiReportOutput(org.jacoco.report.MemoryMultiReportOutput) HTMLDocument(org.jacoco.report.internal.html.HTMLDocument) Resources(org.jacoco.report.internal.html.resources.Resources) Before(org.junit.Before)

Example 8 with MemoryMultiReportOutput

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

the class ReportOutputFolderTest method setup.

@Before
public void setup() {
    output = new MemoryMultiReportOutput();
    root = new ReportOutputFolder(output);
}
Also used : MemoryMultiReportOutput(org.jacoco.report.MemoryMultiReportOutput) Before(org.junit.Before)

Example 9 with MemoryMultiReportOutput

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

the class ResourcesTest method setup.

@Before
public void setup() {
    output = new MemoryMultiReportOutput();
    root = new ReportOutputFolder(output);
    resources = new Resources(root);
}
Also used : ReportOutputFolder(org.jacoco.report.internal.ReportOutputFolder) MemoryMultiReportOutput(org.jacoco.report.MemoryMultiReportOutput) Before(org.junit.Before)

Aggregations

MemoryMultiReportOutput (org.jacoco.report.MemoryMultiReportOutput)9 Before (org.junit.Before)8 ReportOutputFolder (org.jacoco.report.internal.ReportOutputFolder)7 Resources (org.jacoco.report.internal.html.resources.Resources)6 HTMLDocument (org.jacoco.report.internal.html.HTMLDocument)5 HTMLSupport (org.jacoco.report.internal.html.HTMLSupport)5 Locale (java.util.Locale)1 ILanguageNames (org.jacoco.report.ILanguageNames)1 JavaNames (org.jacoco.report.JavaNames)1 ReportStructureTestDriver (org.jacoco.report.ReportStructureTestDriver)1 IHTMLReportContext (org.jacoco.report.internal.html.IHTMLReportContext)1 ILinkable (org.jacoco.report.internal.html.ILinkable)1 LinkableStub (org.jacoco.report.internal.html.LinkableStub)1 IIndexUpdate (org.jacoco.report.internal.html.index.IIndexUpdate)1 LabelColumn (org.jacoco.report.internal.html.table.LabelColumn)1 Table (org.jacoco.report.internal.html.table.Table)1