Package jscover.report.coberturaxml

Examples of jscover.report.coberturaxml.CoberturaData


        xmlSummary.saveSummary(summaryData, config.getJsonDirectory(), config.getVersion());
    }

    public void saveCoberturaXml() {
        String json = ioUtils.loadFromFileSystem(new File(config.getJsonDirectory(), "jscoverage.json"));
        String xml = coberturaXmlGenerator.generateXml(new CoberturaData(jsonDataMerger.jsonToMap(json).values()), ioUtils.getCanonicalPath(config.getSourceDirectory()), config.getVersion());
        File dest = new File(config.getJsonDirectory(), "cobertura-coverage.xml");
        ioUtils.copy(xml, dest);
    }
View Full Code Here

TOP

Related Classes of jscover.report.coberturaxml.CoberturaData

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.