Examples of CoberturaData


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
Copyright © 2018 www.massapi.com. 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.