Package com.intellij.rt.coverage.data

Examples of com.intellij.rt.coverage.data.LineData


        LcovCoverageReport.LineHits lastLineHits = lineHitsList.get(lineHitsList.size() - 1);
        max = lastLineHits.getLineNumber();
      }
      LineData[] lines = new LineData[max + 1];
      for (LcovCoverageReport.LineHits lineHits : lineHitsList) {
        LineData lineData = new LineData(lineHits.getLineNumber(), null);
        lineData.setHits(lineHits.getHits());
        lines[lineHits.getLineNumber()] = lineData;
      }
      classData.setLines(lines);
    }
    return projectData;
View Full Code Here


  private static List<CoverageReport.LineHits> convertClassDataToLineHits(@NotNull ClassData classData) {
    int lineCount = classData.getLines().length;
    List<CoverageReport.LineHits> lineHitsList = ContainerUtil.newArrayListWithCapacity(lineCount);
    for (int lineInd = 0; lineInd < lineCount; lineInd++) {
      LineData lineData = classData.getLineData(lineInd);
      if (lineData != null) {
        CoverageReport.LineHits lineHits = new CoverageReport.LineHits(
          lineData.getLineNumber(),
          lineData.getHits()
        );
        lineHitsList.add(lineHits);
      }
    }
    return lineHitsList;
View Full Code Here

        CoverageReport.LineHits lastLineHits = lineHitsList.get(lineHitsList.size() - 1);
        max = lastLineHits.getLineNumber();
      }
      LineData[] lines = new LineData[max + 1];
      for (CoverageReport.LineHits lineHits : lineHitsList) {
        LineData lineData = new LineData(lineHits.getLineNumber(), null);
        lineData.setHits(lineHits.getHits());
        lines[lineHits.getLineNumber()] = lineData;
      }
      classData.setLines(lines);
    }
    return projectData;
View Full Code Here

TOP

Related Classes of com.intellij.rt.coverage.data.LineData

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.