Package org.jacoco.ant.ReportTask

Examples of org.jacoco.ant.ReportTask.SourceFilesElement


    if (attributes == null) {
      attributes = new MaxmlMap();
    }

    // source files
    SourceFilesElement sourcefiles = structure.createSourcefiles();
    sourcefiles.setEncoding(attributes.getString("encoding", null));
    Path sourcepath = new Path(mxtest.getProject());
    sourcepath.setRefid(new Reference(mxtest.getProject(), Key.compileSourcePath.referenceId()));
    sourcefiles.add(sourcepath);
   
    // report output folder
    task.createHtml().setDestdir(mxtest.getCoverageReports());
   
    task.execute();
View Full Code Here

TOP

Related Classes of org.jacoco.ant.ReportTask.SourceFilesElement

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.