Class XUnitThreshold

    • Constructor Detail

      • XUnitThreshold

        protected XUnitThreshold()
      • XUnitThreshold

        public XUnitThreshold​(String unstableThreshold,
                              String unstableNewThreshold,
                              String failureThreshold,
                              String failureNewThreshold)
    • Method Detail

      • getUnstableThreshold

        public String getUnstableThreshold()
      • setUnstableThreshold

        @DataBoundSetter
        public void setUnstableThreshold​(String unstableThreshold)
      • getUnstableNewThreshold

        public String getUnstableNewThreshold()
      • setUnstableNewThreshold

        @DataBoundSetter
        public void setUnstableNewThreshold​(String unstableNewThreshold)
      • getFailureThreshold

        public String getFailureThreshold()
      • setFailureThreshold

        @DataBoundSetter
        public void setFailureThreshold​(String failureThreshold)
      • getFailureNewThreshold

        public String getFailureNewThreshold()
      • setFailureNewThreshold

        @DataBoundSetter
        public void setFailureNewThreshold​(String failureNewThreshold)
      • getResultThresholdNumber

        public abstract Result getResultThresholdNumber​(XUnitLog log,
                                                        Run<?,​?> build,
                                                        hudson.tasks.junit.TestResultSummary testResult,
                                                        hudson.tasks.junit.TestResultSummary previousResult)
      • getResultThresholdPercent

        public abstract Result getResultThresholdPercent​(XUnitLog log,
                                                         Run<?,​?> build,
                                                         hudson.tasks.junit.TestResultSummary testResult,
                                                         hudson.tasks.junit.TestResultSummary previousTestResultAction)
      • isValidThreshold

        public abstract boolean isValidThreshold​(double threshold,
                                                 double value)
      • getResultThresholdNumber

        public Result getResultThresholdNumber​(XUnitLog log,
                                               int testCount,
                                               int newTestCount)
      • getResultThresholdPercent

        public Result getResultThresholdPercent​(XUnitLog log,
                                                double testPercent,
                                                double newTestPercent)