Home
last modified time | relevance | path

Searched refs:ICoverageNode (Results 1 – 25 of 56) sorted by relevance

123

/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/analysis/
DNodeComparatorTest.java14 import static org.jacoco.core.analysis.ICoverageNode.ElementType.GROUP;
21 import org.jacoco.core.analysis.ICoverageNode.CounterEntity;
32 ICoverageNode d1 = new MockNode(18); in testSort()
33 ICoverageNode d2 = new MockNode(21); in testSort()
34 ICoverageNode d3 = new MockNode(30); in testSort()
35 ICoverageNode d4 = new MockNode(60); in testSort()
36 ICoverageNode d5 = new MockNode(99); in testSort()
37 final List<ICoverageNode> result = CounterComparator.TOTALITEMS.on( in testSort()
45 ICoverageNode d1 = new MockLineData(5, 30); in testSecond1()
46 ICoverageNode d2 = new MockLineData(3, 80); in testSecond1()
[all …]
DCoverageNodeImplTest.java14 import static org.jacoco.core.analysis.ICoverageNode.CounterEntity.BRANCH;
15 import static org.jacoco.core.analysis.ICoverageNode.CounterEntity.CLASS;
16 import static org.jacoco.core.analysis.ICoverageNode.CounterEntity.COMPLEXITY;
17 import static org.jacoco.core.analysis.ICoverageNode.CounterEntity.INSTRUCTION;
18 import static org.jacoco.core.analysis.ICoverageNode.CounterEntity.LINE;
19 import static org.jacoco.core.analysis.ICoverageNode.CounterEntity.METHOD;
24 import org.jacoco.core.analysis.ICoverageNode.ElementType;
35 ICoverageNode node = new CoverageNodeImpl(ElementType.GROUP, "sample"); in testProperties()
42 ICoverageNode node = new CoverageNodeImpl(ElementType.GROUP, "sample"); in testInit()
55 ICoverageNode child = new CoverageNodeImpl(ElementType.GROUP, "sample") { in testIncrement()
[all …]
DCounterComparatorTest.java14 import static org.jacoco.core.analysis.ICoverageNode.ElementType.GROUP;
20 import org.jacoco.core.analysis.ICoverageNode.CounterEntity;
88 ICoverageNode d1 = new MockNode(18); in testNodeComparator1()
89 ICoverageNode d2 = new MockNode(15); in testNodeComparator1()
90 final Comparator<ICoverageNode> cmp = CounterComparator.TOTALITEMS in testNodeComparator1()
97 ICoverageNode d1 = new MockNode(18); in testNodeComparator2()
98 ICoverageNode d2 = new MockNode(15); in testNodeComparator2()
99 final Comparator<ICoverageNode> cmp = CounterComparator.TOTALITEMS in testNodeComparator2()
/external/jacoco/org.jacoco.core/src/org/jacoco/core/analysis/
DNodeComparator.java21 import org.jacoco.core.analysis.ICoverageNode.CounterEntity;
29 public class NodeComparator implements Comparator<ICoverageNode>, Serializable {
51 public NodeComparator second(final Comparator<ICoverageNode> second) { in second()
52 final Comparator<ICoverageNode> first = this; in second()
58 public int compare(final ICoverageNode o1, final ICoverageNode o2) { in second()
75 public <T extends ICoverageNode> List<T> sort(final Collection<T> summaries) { in sort()
81 public int compare(final ICoverageNode n1, final ICoverageNode n2) { in compare()
DCoverageNodeImpl.java21 public class CoverageNodeImpl implements ICoverageNode {
70 public void increment(final ICoverageNode child) { in increment()
88 public void increment(final Collection<? extends ICoverageNode> children) { in increment()
89 for (final ICoverageNode child : children) { in increment()
146 public ICoverageNode getPlainCopy() { in getPlainCopy()
DICoverageNode.java18 public interface ICoverageNode { interface
142 public ICoverageNode getPlainCopy(); in getPlainCopy()
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/table/
DTableTest.java24 import org.jacoco.core.analysis.ICoverageNode;
25 import org.jacoco.core.analysis.ICoverageNode.CounterEntity;
26 import org.jacoco.core.analysis.ICoverageNode.ElementType;
82 ICoverageNode total) { in testCallbackSequence()
88 public void footer(HTMLElement td, ICoverageNode total, in testCallbackSequence()
120 ICoverageNode total) { in testInvisible()
125 public void footer(HTMLElement td, ICoverageNode total, in testInvisible()
225 final ICoverageNode node = new CoverageNodeImpl(ElementType.GROUP, name) { in createItem()
243 public ICoverageNode getNode() { in createItem()
249 private ICoverageNode createTotal(final String name, final int count) {
[all …]
DPercentageColumnTest.java22 import org.jacoco.core.analysis.ICoverageNode;
23 import org.jacoco.core.analysis.ICoverageNode.CounterEntity;
24 import org.jacoco.core.analysis.ICoverageNode.ElementType;
152 final ICoverageNode node = createNode(missed, covered); in createItem()
166 public ICoverageNode getNode() { in createItem()
DLabelColumnTest.java20 import org.jacoco.core.analysis.ICoverageNode;
21 import org.jacoco.core.analysis.ICoverageNode.ElementType;
128 final ICoverageNode node = new CoverageNodeImpl(ElementType.GROUP, name); in createItem()
142 public ICoverageNode getNode() { in createItem()
DBarColumnTest.java23 import org.jacoco.core.analysis.ICoverageNode;
24 import org.jacoco.core.analysis.ICoverageNode.CounterEntity;
25 import org.jacoco.core.analysis.ICoverageNode.ElementType;
208 final ICoverageNode node = createNode(missed, covered); in createItem()
222 public ICoverageNode getNode() { in createItem()
DCounterColumnTest.java25 import org.jacoco.core.analysis.ICoverageNode;
26 import org.jacoco.core.analysis.ICoverageNode.CounterEntity;
27 import org.jacoco.core.analysis.ICoverageNode.ElementType;
200 final ICoverageNode node = createNode(missed, covered);
214 public ICoverageNode getNode() {
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/page/
DNodePageTest.java20 import org.jacoco.core.analysis.ICoverageNode;
21 import org.jacoco.core.analysis.ICoverageNode.ElementType;
33 private NodePage<ICoverageNode> page;
35 private class TestNodePage extends NodePage<ICoverageNode> {
37 protected TestNodePage(ICoverageNode node, ReportPage parent) { in TestNodePage()
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/table/
DCounterColumn.java23 import org.jacoco.core.analysis.ICoverageNode;
24 import org.jacoco.core.analysis.ICoverageNode.CounterEntity;
114 final Comparator<ICoverageNode> comparator) {
121 final ICoverageNode total) {
130 public void footer(final HTMLElement td, final ICoverageNode total,
142 private void cell(final HTMLElement td, final ICoverageNode node)
DPercentageColumn.java24 import org.jacoco.core.analysis.ICoverageNode;
25 import org.jacoco.core.analysis.ICoverageNode.CounterEntity;
60 final ICoverageNode total) { in init()
64 public void footer(final HTMLElement td, final ICoverageNode total, in footer()
76 private void cell(final HTMLElement td, final ICoverageNode node) in cell()
DTableItemComparator.java16 import org.jacoco.core.analysis.ICoverageNode;
23 private final Comparator<ICoverageNode> comparator;
25 TableItemComparator(final Comparator<ICoverageNode> comparator) { in TableItemComparator()
DTable.java20 import org.jacoco.core.analysis.ICoverageNode;
88 final List<? extends ITableItem> items, final ICoverageNode total, in render()
100 final List<? extends ITableItem> items, final ICoverageNode total) in header()
108 private void footer(final HTMLElement table, final ICoverageNode total, in footer()
163 final ICoverageNode total) throws IOException { in init()
174 void footer(final HTMLElement tr, final ICoverageNode total, in footer()
DIColumnRenderer.java18 import org.jacoco.core.analysis.ICoverageNode;
39 public boolean init(List<? extends ITableItem> items, ICoverageNode total); in init()
55 public void footer(HTMLElement td, ICoverageNode total, in footer()
DLabelColumn.java18 import org.jacoco.core.analysis.ICoverageNode;
36 final ICoverageNode total) { in init()
40 public void footer(final HTMLElement td, final ICoverageNode total, in footer()
DBarColumn.java23 import org.jacoco.core.analysis.ICoverageNode;
24 import org.jacoco.core.analysis.ICoverageNode.CounterEntity;
64 final ICoverageNode total) { in init()
75 public void footer(final HTMLElement td, final ICoverageNode total, in footer()
DITableItem.java14 import org.jacoco.core.analysis.ICoverageNode;
27 public ICoverageNode getNode(); in getNode()
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/page/
DGroupPage.java14 import org.jacoco.core.analysis.ICoverageNode;
22 public class GroupPage extends TablePage<ICoverageNode> {
36 public GroupPage(final ICoverageNode node, final ReportPage parent, in GroupPage()
DSourceFileItem.java14 import org.jacoco.core.analysis.ICoverageNode;
26 private final ICoverageNode node;
44 public ICoverageNode getNode() { in getNode()
DNodePage.java14 import org.jacoco.core.analysis.ICoverageNode;
27 public abstract class NodePage<NodeType extends ICoverageNode> extends
/external/jacoco/org.jacoco.report/src/org/jacoco/report/check/
DIViolationsOutput.java14 import org.jacoco.core.analysis.ICoverageNode;
34 void onViolation(ICoverageNode node, Rule rule, Limit limit, String message); in onViolation()
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/check/
DRulesCheckerTest.java22 import org.jacoco.core.analysis.ICoverageNode;
23 import org.jacoco.core.analysis.ICoverageNode.ElementType;
98 public void onViolation(ICoverageNode node, Rule rule, Limit limit, in onViolation()

123