Examples of ILine


Examples of org.jacoco.core.analysis.ILine

    result = analyzer.getCoverage();
  }

  private void assertLine(int nr, int insnMissed, int insnCovered,
      int branchesMissed, int branchesCovered) {
    final ILine line = result.getLine(nr);
    assertEquals("Instructions in line " + nr,
        CounterImpl.getInstance(insnMissed, insnCovered),
        line.getInstructionCounter());
    assertEquals("Branches in line " + nr,
        CounterImpl.getInstance(branchesMissed, branchesCovered),
        line.getBranchCounter());
  }
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.