Package org.jacoco.report

Examples of org.jacoco.report.ReportOutputFolder


  private IColumnRenderer column;

  @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();
View Full Code Here


  private IHTMLReportContext context;

  @Before
  public void setup() {
    output = new MemoryMultiReportOutput();
    root = new ReportOutputFolder(output);
    index = new ElementIndex(root);
    final Resources resources = new Resources(root);
    final ILanguageNames names = new JavaNames();
    context = new IHTMLReportContext() {
View Full Code Here

  public IReportVisitor createReportVisitor(final ICoverageNode session)
      throws IOException {
    if (output == null) {
      throw new IllegalStateException("No report output set.");
    }
    final ReportOutputFolder root = new ReportOutputFolder(output);
    resources = new Resources(root);
    resources.copyResources();
    return new GroupPage(session, null, root, this) {

      @Override
View Full Code Here

      final List<SessionInfo> sessionInfos,
      final Collection<ExecutionData> executionData) throws IOException {
    if (output == null) {
      throw new IllegalStateException("No report output set.");
    }
    final ReportOutputFolder root = new ReportOutputFolder(output);
    resources = new Resources(root);
    resources.copyResources();
    index = new ElementIndex(root);
    final GroupPage rootpage = new GroupPage(rootNode, null, root, this) {
      @Override
View Full Code Here

  }

  @Before
  public void setup() {
    output = new MemoryMultiReportOutput();
    root = new ReportOutputFolder(output);
    final Resources resources = new Resources(root);
    context = new IHTMLReportContext() {

      public ILanguageNames getLanguageNames() {
        throw new AssertionError("Unexpected method call.");
View Full Code Here

    output.assertAllClosed();
  }

  @Test
  public void testGetLink() throws IOException {
    ReportOutputFolder base = root.subFolder("here");
    assertEquals("../Test.html", page.getLink(base));
  }
View Full Code Here

  private Resources resources;

  @Before
  public void setup() {
    output = new MemoryMultiReportOutput();
    root = new ReportOutputFolder(output);
    resources = new Resources(root);
  }
View Full Code Here

    resources = new Resources(root);
  }

  @Test
  public void testGetLink() {
    ReportOutputFolder base = root.subFolder("f1").subFolder("f2");
    assertEquals("../../.resources/test.png", resources.getLink(base,
        "test.png"));

  }
View Full Code Here

  private IHTMLReportContext context;

  @Before
  public void setup() {
    output = new MemoryMultiReportOutput();
    root = new ReportOutputFolder(output);
    index = new ElementIndex(root);
    final Resources resources = new Resources(root);
    final ILanguageNames names = new JavaNames();
    context = new IHTMLReportContext() {
View Full Code Here

  private PackagePage page;

  @Before
  public void setup() {
    output = new MemoryMultiReportOutput();
    root = new ReportOutputFolder(output);
    context = new IHTMLReportContext() {

      public ILanguageNames getLanguageNames() {
        throw new AssertionError("Unexpected method call.");
      }
View Full Code Here

TOP

Related Classes of org.jacoco.report.ReportOutputFolder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.