Examples of touchJump()


Examples of net.sourceforge.cobertura.coveragedata.ClassData.touchJump()

                    }
                    long diffTrueHits = ljd.getTrueHits() - prevTrue;
                    long diffFalseHits = ljd.getFalseHits() - prevFalse;
                    if (diffTrueHits > 0) {
                        result.touchJump(lld.getLineNumber(), i, true,
                                (int) diffTrueHits);
                    }
                    if (diffFalseHits > 0) {
                        result.touchJump(lld.getLineNumber(), i, false,
                                (int) diffFalseHits);
View Full Code Here

Examples of net.sourceforge.cobertura.coveragedata.ClassData.touchJump()

                    if (diffTrueHits > 0) {
                        result.touchJump(lld.getLineNumber(), i, true,
                                (int) diffTrueHits);
                    }
                    if (diffFalseHits > 0) {
                        result.touchJump(lld.getLineNumber(), i, false,
                                (int) diffFalseHits);
                    }
                    if (diffFalseHits < 0 || diffTrueHits < 0) {
                        errors.add("Jump coverage on " + result.getName() + ":"
                                + lld.getLineNumber() + ":" + i + " decreased:"
View Full Code Here

Examples of net.sourceforge.cobertura.coveragedata.ClassData.touchJump()

    }

    void touchAJump(ProjectData data, String className, int lineNumber,
            boolean whichBranch) {
        ClassData cd = data.getClassData(className);
        cd.touchJump(lineNumber, 0, whichBranch, 1);
    }

    void touchASwitch(ProjectData data, String className, int lineNumber,
            int switchNumber) {
        ClassData cd = data.getClassData(className);
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.