Home
last modified time | relevance | path

Searched refs:getBranchCounter (Results 1 – 23 of 23) sorted by relevance

/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/
DInstructionTest.java42 assertEquals(CounterImpl.COUNTER_0_0, instruction.getBranchCounter()); in new_instance_should_have_no_coverage_and_no_branches()
49 assertEquals(CounterImpl.COUNTER_0_0, instruction.getBranchCounter()); in addBranchWithInstruction_should_not_increment_branches_when_only_one_branch_is_added()
58 instruction.getBranchCounter()); in addBranchWithInstruction_should_increment_branches_when_two_branches_are_added()
80 instruction.getBranchCounter()); in addBranchWithProbe_should_increment_branches_when_covered()
91 instruction.getBranchCounter()); in addBranchWithProbe_should_increment_branches_when_not_covered()
102 instruction.getBranchCounter()); in addBranchWithProbe_should_increment_branches_when_partly_covered()
125 instruction.getBranchCounter()); in addBranch_should_count_large_number_of_branches()
158 instruction.getBranchCounter()); in merge_should_calculate_superset_of_covered_branches()
171 instruction.getBranchCounter()); in replaceBranches_should_calculate_coverage_on_new_branches()
DLineImplTest.java36 assertEquals(CounterImpl.COUNTER_0_0, line.getBranchCounter()); in testEMPTY()
46 assertEquals(CounterImpl.getInstance(3, 4), line.getBranchCounter()); in testIncrement1()
55 assertEquals(CounterImpl.getInstance(3, 4000), line.getBranchCounter()); in testIncrement2()
65 line.getBranchCounter()); in testIncrement3()
75 line.getBranchCounter()); in testIncrement4()
85 line.getBranchCounter()); in testIncrement5()
DSourceNodeImplTest.java65 assertEquals(CounterImpl.getInstance(3, 4), node.getBranchCounter()); in testIncrementLineUnknown()
193 assertEquals(CounterImpl.getInstance(2, 22), node.getBranchCounter()); in testIncrementChildNoLines()
212 assertEquals(CounterImpl.getInstance(6, 66), node.getBranchCounter()); in testIncrementChildWithLines()
DPackageCoverageTest.java73 assertEquals(CounterImpl.getInstance(3, 0), data.getBranchCounter()); in testCountersWithSources()
96 assertEquals(CounterImpl.getInstance(3, 0), data.getBranchCounter()); in testCountersWithoutSources()
DClassCoverageImplTest.java94 assertEquals(CounterImpl.COUNTER_0_0, node.getBranchCounter()); in testEmptyClass()
DMethodCoverageImplTest.java42 assertEquals(CounterImpl.COUNTER_0_0, node.getBranchCounter()); in testEmptyMethod()
DBundleCoverageImplTest.java75 assertEquals(CounterImpl.getInstance(6, 0), bundle.getBranchCounter()); in testCounters()
DMethodCoverageCalculatorTest.java224 coverage.getLine(idx).getBranchCounter()); in assertLine()
DMethodAnalyzerTest.java916 line.getBranchCounter()); in assertLine()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/analysis/
DCoverageNodeImplTest.java43 assertEquals(CounterImpl.COUNTER_0_0, node.getBranchCounter()); in testInit()
71 assertEquals(CounterImpl.getInstance(10, 15), parent.getBranchCounter()); in testIncrement()
99 assertEquals(CounterImpl.getInstance(8, 5), parent.getBranchCounter()); in testIncrementCollection()
119 assertEquals(CounterImpl.getInstance(3, 3), copy.getBranchCounter()); in testGetPlainCopy()
/external/jacoco/org.jacoco.core/src/org/jacoco/core/analysis/
DCoverageNodeImpl.java73 branchCounter = branchCounter.increment(child.getBranchCounter()); in increment()
108 public ICounter getBranchCounter() { in getBranchCounter() method in CoverageNodeImpl
133 return getBranchCounter(); in getCounter()
DILine.java32 ICounter getBranchCounter(); in getBranchCounter() method
DICoverageNode.java95 ICounter getBranchCounter(); in getBranchCounter() method
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/
DLineImpl.java130 public ICounter getBranchCounter() { in getBranchCounter() method in LineImpl
144 && this.branches.equals(that.getBranchCounter()); in equals()
DSourceNodeImpl.java85 branchCounter = branchCounter.increment(child.getBranchCounter()); in increment()
97 line.getBranchCounter(), i); in increment()
DInstruction.java199 public ICounter getBranchCounter() { in getBranchCounter() method in Instruction
DMethodCoverageCalculator.java78 instruction.getBranchCounter(), instruction.getLine()); in calculate()
/external/jacoco/org.jacoco.cli/src/org/jacoco/cli/internal/commands/
DClassInfo.java101 total(line.getBranchCounter()), indent, in printLine()
110 total(coverage.getBranchCounter()), in printDetails()
/external/jacoco/org.jacoco.examples/src/org/jacoco/examples/
DClassInfo.java63 Integer.valueOf(coverage.getBranchCounter().getTotalCount())); in visitCoverage()
DCoreTutorial.java155 printCounter("branches", cc.getBranchCounter()); in execute()
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/xml/
DReportElement.java174 counterAttributes(element, "mb", "cb", line.getBranchCounter()); in line()
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/page/
DSourceHighlighter.java105 final ICounter branches = line.getBranchCounter(); in highlight()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/validation/
DValidationTestBase.java141 coverage.getBranchCounter()); in assertCoverage()