@Test public void should_generate_coverage_measures() throws Exception { String componentKey = "moduleKey:" + MONKEY_FILE_NAME; importer.importReport(getReportsWithAbsolutePath("phpunit.coverage.xml"), context); assertReport(componentKey); }
@Override protected void importReport(File coverageReportFile, SensorContext context) { LOG.debug("Parsing file: " + coverageReportFile.getAbsolutePath()); parseFile(coverageReportFile, context); }
CoverageResultImporter extends SingleFileReportImporter { @Override protected void importReport(File coverageReportFile, SensorContext context) { LOG.debug("Parsing file: " + coverageReportFile.getAbsolutePath()); parseFile(coverageReportFile, context); } }
CoverageResultImporter extends SingleFileReportImporter { @Override protected void importReport(File coverageReportFile, SensorContext context) { LOG.debug("Parsing file: " + coverageReportFile.getAbsolutePath()); parseFile(coverageReportFile, context); } CoverageResultImporter(String reportPathKey, String msg); }
CoverageResultImporter extends SingleFileReportImporter { @Override protected void importReport(File coverageReportFile, SensorContext context) { LOG.debug("Parsing file: " + coverageReportFile.getAbsolutePath()); parseFile(coverageReportFile, context); } CoverageResultImporter(String reportPathKey, String msg); static ReportImporter multiCoverageImporter(); }
CoverageResultImporter extends SingleFileReportImporter { @Override protected void importReport(File coverageReportFile, SensorContext context) { LOG.debug("Parsing file: " + coverageReportFile.getAbsolutePath()); parseFile(coverageReportFile, context); } CoverageResultImporter(String reportPathKey, String msg); static ReportImporter multiCoverageImporter();  }