HomeSort by relevance Sort by last modified time
    Searched full:icounter (Results 1 - 25 of 74) sorted by null

1 2 3

  /external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/validation/
ControlStructuresTest.java 14 import org.jacoco.core.analysis.ICounter;
37 assertLine("unconditional", ICounter.FULLY_COVERED);
40 assertLine("iffalse", ICounter.FULLY_COVERED, 1, 1);
41 assertLine("missedif", ICounter.NOT_COVERED);
42 assertLine("executedelse", ICounter.FULLY_COVERED);
45 assertLine("iftrue", ICounter.FULLY_COVERED, 1, 1);
46 assertLine("executedif", ICounter.FULLY_COVERED);
47 assertLine("missedelse", ICounter.NOT_COVERED);
52 assertLine("missedwhile", ICounter.NOT_COVERED);
55 assertLine("whiletrue", ICounter.FULLY_COVERED, 1, 1)
    [all...]
BooleanExpressionsTest.java 14 import org.jacoco.core.analysis.ICounter;
37 assertLine("booleancmp1", ICounter.PARTLY_COVERED, 1, 1);
40 assertLine("booleancmp2", ICounter.FULLY_COVERED, 0, 2);
43 assertLine("andFF", ICounter.FULLY_COVERED, 1, 1);
44 assertLine("andFT", ICounter.FULLY_COVERED, 1, 1);
45 assertLine("andTF", ICounter.FULLY_COVERED, 1, 1);
46 assertLine("andTT", ICounter.FULLY_COVERED, 1, 1);
49 assertLine("conditionalandFF", ICounter.PARTLY_COVERED, 3, 1);
50 assertLine("conditionalandFT", ICounter.PARTLY_COVERED, 3, 1);
51 assertLine("conditionalandTF", ICounter.FULLY_COVERED, 2, 2)
    [all...]
ExceptionsTest.java 14 import org.jacoco.core.analysis.ICounter;
39 assertLine("implicitException.before", ICounter.FULLY_COVERED);
40 assertLine("implicitException.exception", ICounter.NOT_COVERED);
41 assertLine("implicitException.after", ICounter.NOT_COVERED);
45 assertLine("explicitException.before", ICounter.FULLY_COVERED);
46 assertLine("explicitException.throw", ICounter.FULLY_COVERED);
49 assertLine("noExceptionTryCatch.beforeBlock", ICounter.FULLY_COVERED);
50 assertLine("noExceptionTryCatch.tryBlock", ICounter.FULLY_COVERED);
51 assertLine("noExceptionTryCatch.catchBlock", ICounter.NOT_COVERED);
57 ICounter.FULLY_COVERED)
    [all...]
ClassInitializerTest.java 14 import org.jacoco.core.analysis.ICounter;
36 assertLine("const1", ICounter.EMPTY);
37 assertLine("const2", ICounter.EMPTY);
39 assertLine("const3", ICounter.FULLY_COVERED);
40 assertLine("const4", ICounter.FULLY_COVERED);
42 assertLine("field1", ICounter.FULLY_COVERED);
43 assertLine("field2", ICounter.FULLY_COVERED);
44 assertLine("field3", ICounter.FULLY_COVERED);
45 assertLine("field4", ICounter.FULLY_COVERED);
47 assertLine("staticblock", ICounter.FULLY_COVERED)
    [all...]
ImplicitFieldInitializationTest.java 14 import org.jacoco.core.analysis.ICounter;
35 assertLine("classdef", ICounter.FULLY_COVERED);
36 assertLine("field1", ICounter.EMPTY);
37 assertLine("field2", ICounter.FULLY_COVERED);
38 assertLine("field3", ICounter.EMPTY);
39 assertLine("field4", ICounter.FULLY_COVERED);
FieldInitializationInTwoConstructorsTest.java 14 import org.jacoco.core.analysis.ICounter;
36 assertLine("field1", ICounter.PARTLY_COVERED);
37 assertLine("field2", ICounter.PARTLY_COVERED);
38 assertLine("constr1", ICounter.FULLY_COVERED);
39 assertLine("constr2", ICounter.NOT_COVERED);
InterfaceClassInitializerTest.java 14 import org.jacoco.core.analysis.ICounter;
36 assertLine("const1", ICounter.EMPTY);
37 assertLine("const2", ICounter.EMPTY);
39 assertLine("const3", ICounter.FULLY_COVERED);
40 assertLine("const4", ICounter.FULLY_COVERED);
PrivateEmptyDefaultConstructorTest.java 14 import org.jacoco.core.analysis.ICounter;
36 assertLine("classdef", ICounter.EMPTY);
37 assertLine("constructor", ICounter.NOT_COVERED);
CyclomaticComplexityTest.java 22 import org.jacoco.core.analysis.ICounter;
74 final ICounter complexity = analyze();
82 final ICounter complexity = analyze();
97 final ICounter complexity = analyze();
105 final ICounter complexity = analyze();
114 final ICounter complexity = analyze();
132 final ICounter complexity = analyze();
140 final ICounter complexity = analyze();
149 final ICounter complexity = analyze();
158 final ICounter complexity = analyze()
    [all...]
ExplicitInitialFrameTest.java 14 import org.jacoco.core.analysis.ICounter;
36 assertLine("dowhilebody", ICounter.FULLY_COVERED);
ImplicitDefaultConstructorTest.java 14 import org.jacoco.core.analysis.ICounter;
35 assertLine("classdef", ICounter.FULLY_COVERED);
ProbesBeforeSuperConstructorTest.java 14 import org.jacoco.core.analysis.ICounter;
35 assertLine("super", ICounter.PARTLY_COVERED, 3, 1);
  /external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/
CounterImplTest.java 19 import org.jacoco.core.analysis.ICounter;
20 import org.jacoco.core.analysis.ICounter.CounterValue;
30 ICounter c = CounterImpl.getInstance(0, 0);
41 ICounter c = CounterImpl.getInstance(33, 15);
52 ICounter c = CounterImpl.getInstance(15, 12);
53 ICounter copy = CounterImpl.getInstance(c);
64 ICounter c1 = CounterImpl.getInstance(30, 30);
65 ICounter c2 = CounterImpl.getInstance(30, 30);
71 ICounter c1 = CounterImpl.getInstance(31, 30);
72 ICounter c2 = CounterImpl.getInstance(31, 30)
    [all...]
  /ndk/tests/device/test-stlport_shared-exception/jni/
eh44.cpp 5 static unsigned int iCounter = 0;
12 if (iCounter++ == iMax)
13 throw (const char*)"iCounter";
  /ndk/tests/device/test-stlport_static-exception/jni/
eh44.cpp 5 static unsigned int iCounter = 0;
12 if (iCounter++ == iMax)
13 throw (const char*)"iCounter";
  /external/jacoco/org.jacoco.core/src/org/jacoco/core/analysis/
ILine.java 25 public ICounter getInstructionCounter();
32 public ICounter getBranchCounter();
38 * @see ICounter#EMPTY
39 * @see ICounter#NOT_COVERED
40 * @see ICounter#PARTLY_COVERED
41 * @see ICounter#FULLY_COVERED
ICoverageNode.java 88 public abstract ICounter getInstructionCounter();
95 public ICounter getBranchCounter();
102 public ICounter getLineCounter();
109 public ICounter getComplexityCounter();
116 public ICounter getMethodCounter();
123 public ICounter getClassCounter();
132 public ICounter getCounter(CounterEntity entity);
CounterComparator.java 17 import org.jacoco.core.analysis.ICounter.CounterValue;
21 * Collection of comparators to compare {@link ICounter} objects by different
24 public class CounterComparator implements Comparator<ICounter>, Serializable {
70 public int compare(final ICounter c1, final ICounter c2) {
ICounter.java 18 public interface ICounter {
110 * @see ICounter#EMPTY
111 * @see ICounter#NOT_COVERED
112 * @see ICounter#PARTLY_COVERED
113 * @see ICounter#FULLY_COVERED
  /external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/validation/java8/
InterfaceDefaultMethodsTest.java 14 import org.jacoco.core.analysis.ICounter;
34 assertLine("clinit", ICounter.FULLY_COVERED);
35 assertLine("m1", ICounter.FULLY_COVERED);
36 assertLine("m2", ICounter.NOT_COVERED);
LambdaExpressionsTest.java 14 import org.jacoco.core.analysis.ICounter;
37 assertLine("executedlambdabody", ICounter.FULLY_COVERED);
38 assertLine("notexecutedlambdabody", ICounter.NOT_COVERED);
  /external/jacoco/org.jacoco.core.test/src/org/jacoco/core/analysis/
CounterComparatorTest.java 31 final Comparator<ICounter> cmp = CounterComparator.TOTALITEMS;
39 final Comparator<ICounter> cmp = CounterComparator.COVEREDITEMS;
47 final Comparator<ICounter> cmp = CounterComparator.MISSEDITEMS;
55 final Comparator<ICounter> cmp = CounterComparator.COVEREDRATIO;
63 final Comparator<ICounter> cmp = CounterComparator.MISSEDRATIO;
71 final Comparator<ICounter> cmp = CounterComparator.TOTALITEMS.reverse();
79 final Comparator<ICounter> cmp = CounterComparator.TOTALITEMS.reverse()
104 private void assertCmpEquals(Comparator<ICounter> cmp, int missed1,
111 private void assertCmpLess(Comparator<ICounter> cmp, int missed1,
116 private void assertCmpGreater(Comparator<ICounter> cmp, int missed1
    [all...]
  /external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/
LineImpl.java 14 import org.jacoco.core.analysis.ICounter;
72 public LineImpl increment(final ICounter instructions,
73 final ICounter branches) {
90 public LineImpl increment(final ICounter instructions,
91 final ICounter branches) {
117 public abstract LineImpl increment(final ICounter instructions,
118 final ICounter branches);
126 public ICounter getInstructionCounter() {
130 public ICounter getBranchCounter() {
MethodCoverageImpl.java 14 import org.jacoco.core.analysis.ICounter;
45 public void increment(final ICounter instructions, final ICounter branches,
61 final ICounter base = this.instructionCounter.getCoveredCount() == 0 ? CounterImpl.COUNTER_1_0
  /external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/page/
SourceHighlighter.java 19 import org.jacoco.core.analysis.ICounter;
91 case ICounter.NOT_COVERED:
94 case ICounter.FULLY_COVERED:
97 case ICounter.PARTLY_COVERED:
105 final ICounter branches = line.getBranchCounter();
107 case ICounter.NOT_COVERED:
110 case ICounter.FULLY_COVERED:
113 case ICounter.PARTLY_COVERED:
123 final ICounter branches) throws IOException {

Completed in 386 milliseconds

1 2 3